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 : 2089236 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 (2729234) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2729234) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102128 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2729234'] with mtr_portfolio_ids : ['22102128'] and first list_photo_ids : [] new path : /proc/2089236/ Name: python3 Umask: 0002 State: R (running) Tgid: 2089236 Ngid: 0 Pid: 2089236 PPid: 2089235 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2089236 NSpid: 2089236 NSpgid: 2085404 NSsid: 2085404 VmPeak: 1106828 kB VmSize: 1106828 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98072 kB VmRSS: 98072 kB RssAnon: 59800 kB RssFile: 38272 kB RssShmem: 0 kB VmData: 865576 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 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: 54 nonvoluntary_ctxt_switches: 96 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2089236', 'Ngid': '0', 'Pid': '2089236', 'PPid': '2089235', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2089236', 'NSpid': '2089236', 'NSpgid': '2085404', 'NSsid': '2085404', 'VmPeak': '1106828 kB', 'VmSize': '1106828 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98072 kB', 'VmRSS': '98072 kB', 'RssAnon': '59800 kB', 'RssFile': '38272 kB', 'RssShmem': '0 kB', 'VmData': '865576 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '54', 'nonvoluntary_ctxt_switches': '96'} ('datou_batch_current', '2089236', '1106828', '0', '1106828', '865576', '98072', b'', 'marlene', '2729234') 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 (22102128) 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 (2729234 ) ) 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 (22102128) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1350475277, 'portfolio_id': 22102128}, {'photo_id': 1350474608, 'portfolio_id': 22102128}, {'photo_id': 1350474537, 'portfolio_id': 22102128}, {'photo_id': 1350474131, 'portfolio_id': 22102128}, {'photo_id': 1350474106, 'portfolio_id': 22102128}, {'photo_id': 1350474077, 'portfolio_id': 22102128}, {'photo_id': 1350474040, 'portfolio_id': 22102128}, {'photo_id': 1350474035, 'portfolio_id': 22102128}, {'photo_id': 1350473773, 'portfolio_id': 22102128}, {'photo_id': 1350473726, 'portfolio_id': 22102128}, {'photo_id': 1350473677, 'portfolio_id': 22102128}, {'photo_id': 1350473277, 'portfolio_id': 22102128}, {'photo_id': 1350473233, 'portfolio_id': 22102128}, {'photo_id': 1350473178, 'portfolio_id': 22102128}, {'photo_id': 1350473163, 'portfolio_id': 22102128}, {'photo_id': 1350473154, 'portfolio_id': 22102128}, {'photo_id': 1350473145, 'portfolio_id': 22102128}, {'photo_id': 1350472668, 'portfolio_id': 22102128}, {'photo_id': 1350472632, 'portfolio_id': 22102128}, {'photo_id': 1350472596, 'portfolio_id': 22102128}, {'photo_id': 1350472377, 'portfolio_id': 22102128}, {'photo_id': 1350472374, 'portfolio_id': 22102128}, {'photo_id': 1350472370, 'portfolio_id': 22102128}, {'photo_id': 1350472366, 'portfolio_id': 22102128}, {'photo_id': 1350471954, 'portfolio_id': 22102128}, {'photo_id': 1350471924, 'portfolio_id': 22102128}, {'photo_id': 1350471897, 'portfolio_id': 22102128}, {'photo_id': 1350471862, 'portfolio_id': 22102128}, {'photo_id': 1350471815, 'portfolio_id': 22102128}, {'photo_id': 1350471348, 'portfolio_id': 22102128}, {'photo_id': 1350471293, 'portfolio_id': 22102128}, {'photo_id': 1350471243, 'portfolio_id': 22102128}, {'photo_id': 1350470914, 'portfolio_id': 22102128}, {'photo_id': 1350470901, 'portfolio_id': 22102128}, {'photo_id': 1350470572, 'portfolio_id': 22102128}, {'photo_id': 1350470077, 'portfolio_id': 22102128}] map_portfolio_id_photo_id: {22102128: [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077]} ##### 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.023657560348510742 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Apr 17 06:05:58 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 (22102128) 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 : 22102128 get user id for portfolio 22102128 get sub ptf for main ptf 22102128, type 3726 and hashtags ['environnement', 'kraft', 'plastique', 'autre_refus', 'Carton_brun', 'metal', 'cartonnette', 'Carton_gris', 'Teint_Dans_La_Masse', 'flou', 'mal_croppe', 'papier'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22102128 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','plastique','autre_refus','Carton_brun','metal','cartonnette','Carton_gris','Teint_Dans_La_Masse','flou','mal_croppe','papier')) 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`=22102128 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','plastique','autre_refus','Carton_brun','metal','cartonnette','Carton_gris','Teint_Dans_La_Masse','flou','mal_croppe','papier')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22102128, 'sub_port_id': 22102196, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586912, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'environnement': {'main_port_id': 22102128, 'sub_port_id': 22102197, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586913, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'plastique': {'main_port_id': 22102128, 'sub_port_id': 22102198, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586914, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'Carton_gris': {'main_port_id': 22102128, 'sub_port_id': 22102199, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586915, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'papier': {'main_port_id': 22102128, 'sub_port_id': 22102200, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586916, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'Carton_brun': {'main_port_id': 22102128, 'sub_port_id': 22102201, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586917, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'Teint_Dans_La_Masse': {'main_port_id': 22102128, 'sub_port_id': 22102202, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586918, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'cartonnette': {'main_port_id': 22102128, 'sub_port_id': 22102203, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586919, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'mal_croppe': {'main_port_id': 22102128, 'sub_port_id': 22102204, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586920, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'flou': {'main_port_id': 22102128, 'sub_port_id': 22102205, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586921, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'kraft': {'main_port_id': 22102128, 'sub_port_id': 22102206, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586922, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}, 'autre_refus': {'main_port_id': 22102128, 'sub_port_id': 22102207, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586923, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22102196 , 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=22102128 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 (22102196) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102197 , 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=22102128 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 (22102197) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102198 , 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=22102128 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 (22102198) result : ((1350472455,), (1350472761,), (1350472762,), (1350473429,), (1350473430,), (1350475416,), (1350479195,), (1350479196,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102199 , 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=22102128 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 (22102199) result : ((1350472748,), (1350472750,), (1350473411,), (1350473412,), (1350475402,), (1350475403,), (1350475404,), (1350476352,), (1350477076,), (1350479172,), (1350479174,), (1350479176,), (1350479179,), (1350479181,), (1350479183,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102200 , 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=22102128 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 (22102200) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102201 , 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=22102128 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 (22102201) result : ((1350472453,), (1350472454,), (1350472757,), (1350473415,), (1350475412,), (1350475413,), (1350475414,), (1350476377,), (1350477097,), (1350479192,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102202 , 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=22102128 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 (22102202) result : ((1350472729,), (1350472802,), (1350473151,), (1350473152,), (1350473153,), (1350473404,), (1350473405,), (1350473406,), (1350473947,), (1350475401,), (1350475405,), (1350476331,), (1350479119,), (1350479122,), (1350479125,), (1350479129,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102203 , 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=22102128 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 (22102203) result : ((1350472804,), (1350473155,), (1350473413,), (1350475407,), (1350475408,), (1350475409,), (1350475410,), (1350475411,), (1350477086,), (1350477090,), (1350479188,), (1350479189,), (1350479190,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102204 , 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=22102128 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 (22102204) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102205 , 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=22102128 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 (22102205) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102206 , 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=22102128 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 (22102206) result : ((1350472806,), (1350472807,), (1350472808,), (1350472809,), (1350473156,), (1350473157,), (1350473159,), (1350473441,), (1350473961,), (1350474036,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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 22102207 , 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=22102128 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 (22102207) result : ((1350472736,), (1350473408,), (1350477068,), (1350479146,), (1350479149,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22102128) result : ((1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,)) 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`=22102128 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','plastique','autre_refus','Carton_brun','metal','cartonnette','Carton_gris','Teint_Dans_La_Masse','flou','mal_croppe','papier')) 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`=22102128 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','kraft','plastique','autre_refus','Carton_brun','metal','cartonnette','Carton_gris','Teint_Dans_La_Masse','flou','mal_croppe','papier')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22102128, 'sub_port_id': 22102208, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586924, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'environnement': {'main_port_id': 22102128, 'sub_port_id': 22102209, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586925, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'plastique': {'main_port_id': 22102128, 'sub_port_id': 22102210, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586926, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'Carton_gris': {'main_port_id': 22102128, 'sub_port_id': 22102211, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586927, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'papier': {'main_port_id': 22102128, 'sub_port_id': 22102212, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586928, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'Carton_brun': {'main_port_id': 22102128, 'sub_port_id': 22102213, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586929, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 22102128, 'sub_port_id': 22102214, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586930, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'cartonnette': {'main_port_id': 22102128, 'sub_port_id': 22102215, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586931, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'mal_croppe': {'main_port_id': 22102128, 'sub_port_id': 22102216, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586932, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'flou': {'main_port_id': 22102128, 'sub_port_id': 22102217, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586933, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'kraft': {'main_port_id': 22102128, 'sub_port_id': 22102218, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586934, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 11, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}, 'autre_refus': {'main_port_id': 22102128, 'sub_port_id': 22102219, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14586935, 'last_updated_at': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_desc': datetime.datetime(2025, 4, 16, 21, 17), 'last_updated_at_asc': datetime.datetime(2025, 4, 16, 21, 11, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102208,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102196 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102209,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102197 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102210,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102198 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102211,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102199 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102212,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102200 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102213,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102201 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102214,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102202 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102215,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102203 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102216,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102204 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102217,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102205 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102218,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102206 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22102219,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22102207 lien utilise dans velours : https://www.fotonower.com/velours/22102208,22102209,22102210,22102211,22102212,22102213,22102214,22102215,22102216,22102217,22102218,22102219?tags=metal,environnement,plastique,Carton_gris,papier,Carton_brun,Teint_Dans_La_Masse,cartonnette,mal_croppe,flou,kraft,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22102128]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077] map_info['map_portfolio_photo'] : {22102128: [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077]} final : False mtd_id 4302 list_pids : [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077] Looping around the photos to save general results len do output : 1 /22102128. 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, '2729234') ('4302', '22102128', '1350475277', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474608', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474537', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474131', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474106', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474077', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474040', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474035', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473773', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473726', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473677', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473277', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473233', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473178', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473163', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473154', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473145', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472668', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472632', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472596', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472377', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472374', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472370', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472366', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471954', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471924', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471897', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471862', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471815', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471348', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471293', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471243', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470914', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470901', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470572', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470077', None, None, None, None, None, '2729234') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22102128', "{'metal': 22102196, 'environnement': 22102197, 'plastique': 22102198, 'Carton_gris': 22102199, 'papier': 22102200, 'Carton_brun': 22102201, 'Teint_Dans_La_Masse': 22102202, 'cartonnette': 22102203, 'mal_croppe': 22102204, 'flou': 22102205, 'kraft': 22102206, 'autre_refus': 22102207}", None, None, None, None, '2729234'), ('4302', '22102128', '1350475277', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474608', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474537', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474131', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474106', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474077', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474040', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474035', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473773', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473726', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473677', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473277', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473233', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473178', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473163', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473154', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473145', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472668', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472632', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472596', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472377', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472374', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472370', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472366', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471954', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471924', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471897', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471862', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471815', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471348', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471293', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471243', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470914', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470901', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470572', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470077', None, None, None, None, None, '2729234')] time used for this insertion : 0.022076129913330078 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4945757389068604 time spend to save output : 0.02253127098083496 total time spend for step 1 : 1.5171070098876953 step2:final Thu Apr 17 06:05:59 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 (22102128) 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 22102128 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350470077,1350470914,1350470572,1350470901,1350471348,1350471293,1350471243,1350471954,1350471924,1350471897,1350471862,1350471815,1350472377,1350472374,1350472370,1350472366,1350472668,1350472632,1350472596,1350473277,1350473233,1350473178,1350473163,1350473154,1350473145,1350473773,1350473726,1350473677,1350474131,1350474106,1350474077,1350474040,1350474035,1350474608,1350474537,1350475277); 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([22102128]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} new output for save of step final : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077] map_info['map_portfolio_photo'] : {22102128: [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077]} final : False mtd_id 4302 list_pids : [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077] Looping around the photos to save general results len do output : 36 /1350475277.Didn't retrieve data . /1350474608.Didn't retrieve data . /1350474537.Didn't retrieve data . /1350474131.Didn't retrieve data . /1350474106.Didn't retrieve data . /1350474077.Didn't retrieve data . /1350474040.Didn't retrieve data . /1350474035.Didn't retrieve data . /1350473773.Didn't retrieve data . /1350473726.Didn't retrieve data . /1350473677.Didn't retrieve data . /1350473277.Didn't retrieve data . /1350473233.Didn't retrieve data . /1350473178.Didn't retrieve data . /1350473163.Didn't retrieve data . /1350473154.Didn't retrieve data . /1350473145.Didn't retrieve data . /1350472668.Didn't retrieve data . /1350472632.Didn't retrieve data . /1350472596.Didn't retrieve data . /1350472377.Didn't retrieve data . /1350472374.Didn't retrieve data . /1350472370.Didn't retrieve data . /1350472366.Didn't retrieve data . /1350471954.Didn't retrieve data . /1350471924.Didn't retrieve data . /1350471897.Didn't retrieve data . /1350471862.Didn't retrieve data . /1350471815.Didn't retrieve data . /1350471348.Didn't retrieve data . /1350471293.Didn't retrieve data . /1350471243.Didn't retrieve data . /1350470914.Didn't retrieve data . /1350470901.Didn't retrieve data . /1350470572.Didn't retrieve data . /1350470077.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, '2729234') ('4302', '22102128', '1350475277', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474608', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474537', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474131', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474106', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474077', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474040', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474035', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473773', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473726', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473677', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473277', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473233', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473178', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473163', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473154', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473145', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472668', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472632', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472596', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472377', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472374', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472370', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472366', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471954', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471924', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471897', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471862', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471815', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471348', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471293', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471243', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470914', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470901', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470572', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470077', None, None, None, None, None, '2729234') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 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', '22102128', '1350475277', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350474608', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350474537', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350474131', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350474106', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350474077', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350474040', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350474035', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473773', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473726', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473677', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473277', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473233', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473178', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473163', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473154', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350473145', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350472668', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350472632', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350472596', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350472377', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350472374', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350472370', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350472366', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350471954', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350471924', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350471897', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350471862', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350471815', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350471348', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350471293', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350471243', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350470914', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350470901', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350470572', '0.06512581640408284', None, None, None, None, '2729234'), ('4302', '22102128', '1350470077', '0.06512581640408284', None, None, None, None, '2729234')] time used for this insertion : 0.02251720428466797 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.070281982421875 time spend to save output : 0.02400374412536621 total time spend for step 2 : 0.09428572654724121 step3:velours_tree Thu Apr 17 06:05:59 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 : {22102128: [{'metal': 22102196, 'environnement': 22102197, 'plastique': 22102198, 'Carton_gris': 22102199, 'papier': 22102200, 'Carton_brun': 22102201, 'Teint_Dans_La_Masse': 22102202, 'cartonnette': 22102203, 'mal_croppe': 22102204, 'flou': 22102205, 'kraft': 22102206, 'autre_refus': 22102207}]} input_args_next_step : {22102128: ()} output_args : {22102128: [{'metal': 22102196, 'environnement': 22102197, 'plastique': 22102198, 'Carton_gris': 22102199, 'papier': 22102200, 'Carton_brun': 22102201, 'Teint_Dans_La_Masse': 22102202, 'cartonnette': 22102203, 'mal_croppe': 22102204, 'flou': 22102205, 'kraft': 22102206, 'autre_refus': 22102207}]} args : 22102128 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 : ({'metal': 22102196, 'environnement': 22102197, 'plastique': 22102198, 'Carton_gris': 22102199, 'papier': 22102200, 'Carton_brun': 22102201, 'Teint_Dans_La_Masse': 22102202, 'cartonnette': 22102203, 'mal_croppe': 22102204, 'flou': 22102205, 'kraft': 22102206, 'autre_refus': 22102207},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22102128) 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([22102128]) 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.3217203617095947 time spend to save output : 7.343292236328125e-05 total time spend for step 3 : 0.321793794631958 step4:send_mail_cod Thu Apr 17 06:06:00 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 : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} input_args_next_step : {1350475277: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350475277 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350474608 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350474537 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350474131 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350474106 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350474077 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350474040 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350474035 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473773 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473726 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473677 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473277 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473233 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473178 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473163 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473154 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350473145 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350472668 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350472632 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350472596 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350472377 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350472374 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350472370 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350472366 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350471954 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350471924 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350471897 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350471862 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350471815 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350471348 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350471293 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350471243 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350470914 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350470901 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350470572 depend.output_id : 0 input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ()} output_args : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',)} args : 1350470077 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 : {22102128: [{'metal': 22102196, 'environnement': 22102197, 'plastique': 22102198, 'Carton_gris': 22102199, 'papier': 22102200, 'Carton_brun': 22102201, 'Teint_Dans_La_Masse': 22102202, 'cartonnette': 22102203, 'mal_croppe': 22102204, 'flou': 22102205, 'kraft': 22102206, 'autre_refus': 22102207}]} input_args_next_step : {1350475277: ('0.06512581640408284',), 1350474608: ('0.06512581640408284',), 1350474537: ('0.06512581640408284',), 1350474131: ('0.06512581640408284',), 1350474106: ('0.06512581640408284',), 1350474077: ('0.06512581640408284',), 1350474040: ('0.06512581640408284',), 1350474035: ('0.06512581640408284',), 1350473773: ('0.06512581640408284',), 1350473726: ('0.06512581640408284',), 1350473677: ('0.06512581640408284',), 1350473277: ('0.06512581640408284',), 1350473233: ('0.06512581640408284',), 1350473178: ('0.06512581640408284',), 1350473163: ('0.06512581640408284',), 1350473154: ('0.06512581640408284',), 1350473145: ('0.06512581640408284',), 1350472668: ('0.06512581640408284',), 1350472632: ('0.06512581640408284',), 1350472596: ('0.06512581640408284',), 1350472377: ('0.06512581640408284',), 1350472374: ('0.06512581640408284',), 1350472370: ('0.06512581640408284',), 1350472366: ('0.06512581640408284',), 1350471954: ('0.06512581640408284',), 1350471924: ('0.06512581640408284',), 1350471897: ('0.06512581640408284',), 1350471862: ('0.06512581640408284',), 1350471815: ('0.06512581640408284',), 1350471348: ('0.06512581640408284',), 1350471293: ('0.06512581640408284',), 1350471243: ('0.06512581640408284',), 1350470914: ('0.06512581640408284',), 1350470901: ('0.06512581640408284',), 1350470572: ('0.06512581640408284',), 1350470077: ('0.06512581640408284',), 22102128: ()} output_args : {22102128: [{'metal': 22102196, 'environnement': 22102197, 'plastique': 22102198, 'Carton_gris': 22102199, 'papier': 22102200, 'Carton_brun': 22102201, 'Teint_Dans_La_Masse': 22102202, 'cartonnette': 22102203, 'mal_croppe': 22102204, 'flou': 22102205, 'kraft': 22102206, 'autre_refus': 22102207}]} args : 22102128 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 :37, first value : ('0.06512581640408284',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22102128) 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 (1350475277,1350474608,1350474537,1350474131,1350474106,1350474077,1350474040,1350474035,1350473773,1350473726,1350473677,1350473277,1350473233,1350473178,1350473163,1350473154,1350473145,1350472668,1350472632,1350472596,1350472377,1350472374,1350472370,1350472366,1350471954,1350471924,1350471897,1350471862,1350471815,1350471348,1350471293,1350471243,1350470914,1350470901,1350470572,1350470077) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350470077 begin to download photo : 1350471862 begin to download photo : 1350472596 begin to download photo : 1350473277 begin to download photo : 1350474131 download finish for photo 1350470077 begin to download photo : 1350470572 download finish for photo 1350472596 begin to download photo : 1350472632 download finish for photo 1350474131 begin to download photo : 1350474537 download finish for photo 1350473277 begin to download photo : 1350473677 download finish for photo 1350471862 begin to download photo : 1350471897 download finish for photo 1350474537 begin to download photo : 1350474608 download finish for photo 1350472632 begin to download photo : 1350472668 download finish for photo 1350473677 begin to download photo : 1350473726 download finish for photo 1350470572 begin to download photo : 1350470901 download finish for photo 1350471897 begin to download photo : 1350471924 download finish for photo 1350473726 begin to download photo : 1350473773 download finish for photo 1350474608 begin to download photo : 1350475277 download finish for photo 1350472668 download finish for photo 1350470901 begin to download photo : 1350473145 begin to download photo : 1350470914 download finish for photo 1350471924 begin to download photo : 1350471954 download finish for photo 1350473773 begin to download photo : 1350474035 download finish for photo 1350473145 begin to download photo : 1350473154 download finish for photo 1350470914 begin to download photo : 1350471243 download finish for photo 1350475277 download finish for photo 1350471954 begin to download photo : 1350472366 download finish for photo 1350474035 begin to download photo : 1350474040 download finish for photo 1350473154 begin to download photo : 1350473163 download finish for photo 1350472366 begin to download photo : 1350472370 download finish for photo 1350471243 begin to download photo : 1350471293 download finish for photo 1350474040 begin to download photo : 1350474077 download finish for photo 1350472370 begin to download photo : 1350472374 download finish for photo 1350473163 begin to download photo : 1350473178 download finish for photo 1350471293 begin to download photo : 1350471348 download finish for photo 1350474077 begin to download photo : 1350474106 download finish for photo 1350472374 begin to download photo : 1350472377 download finish for photo 1350473178 begin to download photo : 1350473233 download finish for photo 1350471348 begin to download photo : 1350471815 download finish for photo 1350472377 download finish for photo 1350474106 download finish for photo 1350473233 download finish for photo 1350471815 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette221021961744862761/ length of list_filenames : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P22102128_17-04-2025_06_06_01.pdf 22102196 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=22102196 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221021961744862761 22102198 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=22102198 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350472455: '1744830611_2206696_1350471348_7a7c80bc52b6e13cf44a8f881fc4022d_rle_crop_3750198601_0.png', 1350472761: '1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200351_0.png', 1350472762: '1744830582_3501144_1350471243_24fd31bc92bfa2c793468f26fc883af9_rle_crop_3750200365_0.png', 1350473429: '1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200351_0.png', 1350473430: '1744830731_2208014_1350471243_24fd31bc92bfa2c793468f26fc883af9_rle_crop_3750200365_0.png', 1350475416: '1744830971_2210872_1350474040_0433efd4298f53675aba57cb77d2528c_rle_crop_3750214744_0.png', 1350479195: '1744831663_3526941_1350473773_7d1112f675e1bef820c9153755172565_rle_crop_3750237581_0.png', 1350479196: '1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237628_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/c94467619124ea9e2606e6e9e4b8e5e4_24916104.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/8b5c6e8c8478a0d33fdc193b3c0d4175_63621397.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/8286e211bdea882e3bcb7be4f0812702_19531058.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/8b5c6e8c8478a0d33fdc193b3c0d4175_87286756.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/8286e211bdea882e3bcb7be4f0812702_96594507.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/eff14c2d6c847aad82592c263e9cd138_69263888.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/1c7a09637f9c00e5f4e09b60de9f4384_46377793.png change filename to text .imagette221021981744862761/ imagette221021981744862761/1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200351_0.png.png imagette221021981744862761/1744831663_3526941_1350473773_7d1112f675e1bef820c9153755172565_rle_crop_3750237581_0.png.png imagette221021981744862761/1744830971_2210872_1350474040_0433efd4298f53675aba57cb77d2528c_rle_crop_3750214744_0.png.png imagette221021981744862761/1744830611_2206696_1350471348_7a7c80bc52b6e13cf44a8f881fc4022d_rle_crop_3750198601_0.png.png imagette221021981744862761/1744830582_3501144_1350471243_24fd31bc92bfa2c793468f26fc883af9_rle_crop_3750200365_0.png.png imagette221021981744862761/1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237628_0.png.png imagette221021981744862761/1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200351_0.png.png imagette221021981744862761/1744830731_2208014_1350471243_24fd31bc92bfa2c793468f26fc883af9_rle_crop_3750200365_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/947cf755aa3f8ceb0eec190d75c87da5_66553354.png imagette221021981744862761 22102203 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=22102203 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350472804: '1744830672_2207360_1350472366_5cab92514ace4c1e7555a404469d961c_rle_crop_3750201776_0.png', 1350473155: '1744830702_3502927_1350471924_a06a96e59eb6129f14a64ca7a4af5227_rle_crop_3750204341_0.png', 1350473413: '1744830731_2208014_1350471954_19a1f51c05d166f314d4a0d0766020cc_rle_crop_3750205068_0.png', 1350475407: '1744830940_3511538_1350473277_891e79aa7e3f492b20c9c41dede324b8_rle_crop_3750214757_0.png', 1350475408: '1744830971_2210872_1350474106_3bab256b77fc20e5677aa9cb81beae79_rle_crop_3750214713_0.png', 1350475409: '1744830971_2210872_1350474106_3bab256b77fc20e5677aa9cb81beae79_rle_crop_3750214716_0.png', 1350475410: '1744830971_2210872_1350474077_6991a93764e2040941a0ad0431dfde23_rle_crop_3750214724_0.png', 1350475411: '1744830971_2210872_1350474040_0433efd4298f53675aba57cb77d2528c_rle_crop_3750214739_0.png', 1350477086: '1744831186_3518378_1350473726_427d289351bf0347f27746fbcb8749c5_rle_crop_3750219153_0.png', 1350477090: '1744831186_3518378_1350473677_5d9c91ca9c558a2e5449797abab4ac5c_rle_crop_3750219159_0.png', 1350479188: '1744831663_3526941_1350473233_4c04db5e17c5120a6e6626ed0e12e85f_rle_crop_3750237594_0.png', 1350479189: '1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237608_0.png', 1350479190: '1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237620_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/9a6a34fdfedb914a1a672a519d83e397_16261172.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/dc05c600e8277064f47ed183196efbc3_94072706.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/a174039e3f56d84c7f1a4d4fab250faa_99805187.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/2f273d1e488899ba4fce498398b07f50_14838771.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/29d2d672087ec87d75c833f2d28937d1_43473388.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/195fa2a909a163ed514cbf9d18be0eff_81519517.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/524c7959cac905e9c9b52377cd0ecf0c_42637169.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/b3cacec440979deb622fca4578e677a3_21816014.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/9c1eadcf103ad9300bfd9d22a315cf26_69121995.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/4abaaf31a4d6cd377f66354d4b0656d1_39841899.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/74fd337557c34ab38b7a437ffabeb360_35368694.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/b63f751527ed0a793d43a300414ed6bd_2168687.png change filename to text .imagette221022031744862762/ imagette221022031744862762/1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237608_0.png.png imagette221022031744862762/1744830672_2207360_1350472366_5cab92514ace4c1e7555a404469d961c_rle_crop_3750201776_0.png.png imagette221022031744862762/1744830702_3502927_1350471924_a06a96e59eb6129f14a64ca7a4af5227_rle_crop_3750204341_0.png.png imagette221022031744862762/1744830971_2210872_1350474040_0433efd4298f53675aba57cb77d2528c_rle_crop_3750214739_0.png.png imagette221022031744862762/1744831663_3526941_1350473233_4c04db5e17c5120a6e6626ed0e12e85f_rle_crop_3750237594_0.png.png imagette221022031744862762/1744830971_2210872_1350474077_6991a93764e2040941a0ad0431dfde23_rle_crop_3750214724_0.png.png imagette221022031744862762/1744830971_2210872_1350474106_3bab256b77fc20e5677aa9cb81beae79_rle_crop_3750214716_0.png.png imagette221022031744862762/1744830940_3511538_1350473277_891e79aa7e3f492b20c9c41dede324b8_rle_crop_3750214757_0.png.png imagette221022031744862762/1744830731_2208014_1350471954_19a1f51c05d166f314d4a0d0766020cc_rle_crop_3750205068_0.png.png imagette221022031744862762/1744831186_3518378_1350473726_427d289351bf0347f27746fbcb8749c5_rle_crop_3750219153_0.png.png imagette221022031744862762/1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237620_0.png.png imagette221022031744862762/1744830971_2210872_1350474106_3bab256b77fc20e5677aa9cb81beae79_rle_crop_3750214713_0.png.png imagette221022031744862762/1744831186_3518378_1350473677_5d9c91ca9c558a2e5449797abab4ac5c_rle_crop_3750219159_0.png.png imagette221022041744862763/ imagette221022051744862763/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/0aa47cf64d335887fe809a9fa6f434aa_9937732.png imagette221022031744862762 22102204 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=22102204 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221022041744862763 22102205 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=22102205 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221022051744862763 22102206 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=22102206 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350472806: '1744830672_2207360_1350472374_62f6ab5336391a9f1f332ebf6c1b522f_rle_crop_3750200943_0.png', 1350472807: '1744830672_2207360_1350472370_9161eb5e0bec85520b13b2b6fa770284_rle_crop_3750200958_0.png', 1350472808: '1744830672_2207360_1350472366_5cab92514ace4c1e7555a404469d961c_rle_crop_3750201783_0.png', 1350472809: '1744830672_2207360_1350472366_5cab92514ace4c1e7555a404469d961c_rle_crop_3750201782_0.png', 1350473156: '1744830702_3502927_1350472377_e8e49dfc17368234c88cb7d5596a4982_rle_crop_3750204329_0.png', 1350473157: '1744830702_3502927_1350471897_07c819451f81f9fa8be8cd7785bef911_rle_crop_3750204429_0.png', 1350473159: '1744830702_3502927_1350471815_75380a3f9edc4172f6138e155803dfdb_rle_crop_3750204450_0.png', 1350473441: '1744830731_2208014_1350471954_19a1f51c05d166f314d4a0d0766020cc_rle_crop_3750205075_0.png', 1350473961: '1744830791_2208664_1350472632_ae0e170990c2b7e974075925eccbdcb1_rle_crop_3750206077_0.png', 1350474036: '1744830827_3508449_1350472668_5d9fc7bfbef7556278bb5054ecf681ab_rle_crop_3750207559_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/83ee47aa7da4cd63b9615902f9ce8eaa_97253622.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/4d50282298c75039e6a6c7facc5b0d02_45723992.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/0f8c25bbf5e7e3ab06c7acd192b443b5_65149697.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/179630226336b6115c65f927dd5242a5_18402637.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/272c6617c463dfa0ee01ad85a3e89393_16007900.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/5bdcd883c97f27b71c33c19b9564464f_55230422.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/2b7625254969e0c47570776a8bee3cef_73843607.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/1aafa1a7c57645a7991ae7689ac51da9_84797505.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/74f4ad0a43c749c2382f7e35ff9c768a_5027696.png change filename to text .imagette221022061744862763/ imagette221022061744862763/1744830672_2207360_1350472370_9161eb5e0bec85520b13b2b6fa770284_rle_crop_3750200958_0.png.png imagette221022061744862763/1744830791_2208664_1350472632_ae0e170990c2b7e974075925eccbdcb1_rle_crop_3750206077_0.png.png imagette221022061744862763/1744830702_3502927_1350471815_75380a3f9edc4172f6138e155803dfdb_rle_crop_3750204450_0.png.png imagette221022061744862763/1744830672_2207360_1350472366_5cab92514ace4c1e7555a404469d961c_rle_crop_3750201783_0.png.png imagette221022061744862763/1744830672_2207360_1350472374_62f6ab5336391a9f1f332ebf6c1b522f_rle_crop_3750200943_0.png.png imagette221022061744862763/1744830702_3502927_1350472377_e8e49dfc17368234c88cb7d5596a4982_rle_crop_3750204329_0.png.png imagette221022061744862763/1744830827_3508449_1350472668_5d9fc7bfbef7556278bb5054ecf681ab_rle_crop_3750207559_0.png.png imagette221022061744862763/1744830702_3502927_1350471897_07c819451f81f9fa8be8cd7785bef911_rle_crop_3750204429_0.png.png imagette221022061744862763/1744830672_2207360_1350472366_5cab92514ace4c1e7555a404469d961c_rle_crop_3750201782_0.png.png imagette221022061744862763/1744830731_2208014_1350471954_19a1f51c05d166f314d4a0d0766020cc_rle_crop_3750205075_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/b2a9cd00c7394cd6f9268eaa566c366e_78798060.png imagette221022061744862763 22102207 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=22102207 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350472736: '1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200336_0.png', 1350473408: '1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200336_0.png', 1350477068: '1744831186_3518378_1350473726_427d289351bf0347f27746fbcb8749c5_rle_crop_3750219147_0.png', 1350479146: '1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237602_0.png', 1350479149: '1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237616_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/8754776e850ef605493c3200dd9c7447_57964409.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/8754776e850ef605493c3200dd9c7447_7311268.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/9396445aded1a342237a5034ebb780bc_91043035.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/4ed61192767416d611e842ec8410cf60_31148111.png change filename to text .imagette221022071744862764/ imagette221022071744862764/1744831186_3518378_1350473726_427d289351bf0347f27746fbcb8749c5_rle_crop_3750219147_0.png.png imagette221022071744862764/1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237602_0.png.png imagette221022071744862764/1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200336_0.png.png imagette221022071744862764/1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200336_0.png.png imagette221022071744862764/1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237616_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/1864a88f5a67bcf34969f5d349f52a3e_80975817.png imagette221022071744862764 22102199 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=22102199 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350472748: '1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200339_0.png', 1350472750: '1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200337_0.png', 1350473411: '1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200339_0.png', 1350473412: '1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200337_0.png', 1350475402: '1744830971_2210872_1350474077_6991a93764e2040941a0ad0431dfde23_rle_crop_3750214723_0.png', 1350475403: '1744830971_2210872_1350474040_0433efd4298f53675aba57cb77d2528c_rle_crop_3750214734_0.png', 1350475404: '1744830971_2210872_1350474035_2310eb77338c23c5f3b4795249d56379_rle_crop_3750214767_0.png', 1350476352: '1744831063_3515200_1350475277_7a50fd326e5d31f132c7f184a524040c_rle_crop_3750217056_0.png', 1350477076: '1744831186_3518378_1350473677_5d9c91ca9c558a2e5449797abab4ac5c_rle_crop_3750219158_0.png', 1350479172: '1744831663_3526941_1350473773_7d1112f675e1bef820c9153755172565_rle_crop_3750237576_0.png', 1350479174: '1744831663_3526941_1350473773_7d1112f675e1bef820c9153755172565_rle_crop_3750237574_0.png', 1350479176: '1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237605_0.png', 1350479179: '1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237622_0.png', 1350479181: '1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237625_0.png', 1350479183: '1744831663_3526941_1350473145_d36e22af6a8c019869df5ec1d01f1bc8_rle_crop_3750237647_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/9285e9ced000f589c9933e9308c3683f_82983733.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/0b5d17233349ef80f4d26f5adee4967e_87691121.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/9285e9ced000f589c9933e9308c3683f_53820920.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/0b5d17233349ef80f4d26f5adee4967e_40388943.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/4e1b0240a337453490d81839e0d4ccd4_44617334.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/993f599ef11cad31f41840e237f5a0ee_3395832.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/023181f8d986c583406a00bc88ce65af_87057041.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/82768524581700c6e9b36dce6c765010_15688364.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/d536610d3809b469ef1a1e516ab4e39d_91232941.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/2ee4e6aeeb4059ac69167511e321dd8e_63844050.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/fce53d18242144f0416dd8b5b88b459a_88722086.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/8f6f0f3990118426baaad68a62185cf9_85897121.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/61f0a96ed1477445f6b2bceaecfd292a_97662123.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/7d373332828c58c246d779eb96ef009d_67760778.png change filename to text .imagette221021991744862764/ imagette221021991744862764/1744831663_3526941_1350473145_d36e22af6a8c019869df5ec1d01f1bc8_rle_crop_3750237647_0.png.png imagette221021991744862764/1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200337_0.png.png imagette221021991744862764/1744830971_2210872_1350474077_6991a93764e2040941a0ad0431dfde23_rle_crop_3750214723_0.png.png imagette221021991744862764/1744830971_2210872_1350474035_2310eb77338c23c5f3b4795249d56379_rle_crop_3750214767_0.png.png imagette221021991744862764/1744831063_3515200_1350475277_7a50fd326e5d31f132c7f184a524040c_rle_crop_3750217056_0.png.png imagette221021991744862764/1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200339_0.png.png imagette221021991744862764/1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200339_0.png.png imagette221021991744862764/1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237622_0.png.png imagette221021991744862764/1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200337_0.png.png imagette221021991744862764/1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237605_0.png.png imagette221021991744862764/1744831663_3526941_1350473773_7d1112f675e1bef820c9153755172565_rle_crop_3750237576_0.png.png imagette221021991744862764/1744831663_3526941_1350473163_5d7a2e57fda93e0b591616d62344135b_rle_crop_3750237625_0.png.png imagette221021991744862764/1744831663_3526941_1350473773_7d1112f675e1bef820c9153755172565_rle_crop_3750237574_0.png.png imagette221021991744862764/1744831186_3518378_1350473677_5d9c91ca9c558a2e5449797abab4ac5c_rle_crop_3750219158_0.png.png imagette221021991744862764/1744830971_2210872_1350474040_0433efd4298f53675aba57cb77d2528c_rle_crop_3750214734_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/d7a522c99364750a4eb1d1b9e80c4877_29579257.png imagette221021991744862764 22102201 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=22102201 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350472453: '1744830611_2206696_1350471348_7a7c80bc52b6e13cf44a8f881fc4022d_rle_crop_3750198604_0.png', 1350472454: '1744830611_2206696_1350470901_5c157c2e657ce449c2e159c915fa9670_rle_crop_3750198613_0.png', 1350472757: '1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200341_0.png', 1350473415: '1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200341_0.png', 1350475412: '1744830940_3511538_1350473277_891e79aa7e3f492b20c9c41dede324b8_rle_crop_3750214758_0.png', 1350475413: '1744830971_2210872_1350474035_2310eb77338c23c5f3b4795249d56379_rle_crop_3750214771_0.png', 1350475414: '1744830971_2210872_1350474035_2310eb77338c23c5f3b4795249d56379_rle_crop_3750214769_0.png', 1350476377: '1744831063_3515200_1350475277_7a50fd326e5d31f132c7f184a524040c_rle_crop_3750217060_0.png', 1350477097: '1744831186_3518378_1350473726_427d289351bf0347f27746fbcb8749c5_rle_crop_3750219151_0.png', 1350479192: '1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237607_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/ed1345d0340e225a6c181e87fbf3ceca_4418651.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/4322cec6b59c976a743a83389fe2ae29_57467118.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/1e8ea3f979765e345876d402b43dff05_27398301.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/1e8ea3f979765e345876d402b43dff05_80004690.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/b235e5b13b886f2e9716f0b6014a6c92_76487686.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/0510d437fb2ffbecb7f218178c5ae2bc_31269846.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/7c428f8aac5918f0f01401808a4cd785_43896136.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/fe96d27bea81e9aa0038f243667a4bf0_32719075.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/08e753e7e0cc87d40911d02703aaca80_11077123.png change filename to text .imagette221022011744862766/ imagette221022011744862766/1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200341_0.png.png imagette221022011744862766/1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237607_0.png.png imagette221022011744862766/1744831186_3518378_1350473726_427d289351bf0347f27746fbcb8749c5_rle_crop_3750219151_0.png.png imagette221022011744862766/1744830611_2206696_1350471348_7a7c80bc52b6e13cf44a8f881fc4022d_rle_crop_3750198604_0.png.png imagette221022011744862766/1744830611_2206696_1350470901_5c157c2e657ce449c2e159c915fa9670_rle_crop_3750198613_0.png.png imagette221022011744862766/1744831063_3515200_1350475277_7a50fd326e5d31f132c7f184a524040c_rle_crop_3750217060_0.png.png imagette221022011744862766/1744830940_3511538_1350473277_891e79aa7e3f492b20c9c41dede324b8_rle_crop_3750214758_0.png.png imagette221022011744862766/1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200341_0.png.png imagette221022011744862766/1744830971_2210872_1350474035_2310eb77338c23c5f3b4795249d56379_rle_crop_3750214769_0.png.png imagette221022011744862766/1744830971_2210872_1350474035_2310eb77338c23c5f3b4795249d56379_rle_crop_3750214771_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/c8dcffc19c5b626914cd6978a0d0a30b_26655815.png imagette221022011744862766 22102202 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=22102202 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350472729: '1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200344_0.png', 1350472802: '1744830672_2207360_1350472374_62f6ab5336391a9f1f332ebf6c1b522f_rle_crop_3750200948_0.png', 1350473151: '1744830702_3502927_1350472377_e8e49dfc17368234c88cb7d5596a4982_rle_crop_3750204331_0.png', 1350473152: '1744830702_3502927_1350471862_5e045dc84db424e0cc2bf55cae89589d_rle_crop_3750204442_0.png', 1350473153: '1744830702_3502927_1350471815_75380a3f9edc4172f6138e155803dfdb_rle_crop_3750204446_0.png', 1350473404: '1744830731_2208014_1350471954_19a1f51c05d166f314d4a0d0766020cc_rle_crop_3750205073_0.png', 1350473405: '1744830731_2208014_1350471954_19a1f51c05d166f314d4a0d0766020cc_rle_crop_3750205072_0.png', 1350473406: '1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200344_0.png', 1350473947: '1744830791_2208664_1350472632_ae0e170990c2b7e974075925eccbdcb1_rle_crop_3750206080_0.png', 1350475401: '1744830940_3511538_1350473277_891e79aa7e3f492b20c9c41dede324b8_rle_crop_3750214759_0.png', 1350475405: '1744830940_3511538_1350473277_891e79aa7e3f492b20c9c41dede324b8_rle_crop_3750214756_0.png', 1350476331: '1744831063_3515200_1350475277_7a50fd326e5d31f132c7f184a524040c_rle_crop_3750217064_0.png', 1350479119: '1744831663_3526941_1350473773_7d1112f675e1bef820c9153755172565_rle_crop_3750237577_0.png', 1350479122: '1744831663_3526941_1350473233_4c04db5e17c5120a6e6626ed0e12e85f_rle_crop_3750237596_0.png', 1350479125: '1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237606_0.png', 1350479129: '1744831663_3526941_1350473145_d36e22af6a8c019869df5ec1d01f1bc8_rle_crop_3750237651_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/eaa3b774e87826b72cf3001a032010d7_28881924.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/b6c5727d5c66f21935f009a74a3bbfa5_35745854.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/99cbe7f3addb96c2203e39e382d9765d_66592704.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/5c38dcfe96bd61b18b8ef3843de21464_74079726.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/c376419142c8609935a52ab4f3065888_44350850.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/31faadaebcc026726a3a1b4511ba176f_47363043.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/f04f264898d756206bbe5176e5ddd8f6_7191135.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/eaa3b774e87826b72cf3001a032010d7_55771823.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/2fe13442db1390e0e7d4ad8b8df25e1e_33782934.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/de545f64ce0b1dd8d222607989d3ba6f_39365856.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/40157f6d640e664b18e71faff7b284ef_22296340.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/de2acbdddb7b43735ce991ec7497b10b_29284058.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/adfadda3c013981bbd8a9efe9e7e6fd7_46203807.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/32c8354133bdd5685fb23778564a0897_13868109.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/c5df9f80c3fadd55d48f171703fd0de8_61285577.png change filename to text .imagette221022021744862768/ imagette221022021744862768/1744830731_2208014_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200344_0.png.png imagette221022021744862768/1744830940_3511538_1350473277_891e79aa7e3f492b20c9c41dede324b8_rle_crop_3750214756_0.png.png imagette221022021744862768/1744831063_3515200_1350475277_7a50fd326e5d31f132c7f184a524040c_rle_crop_3750217064_0.png.png imagette221022021744862768/1744830702_3502927_1350471862_5e045dc84db424e0cc2bf55cae89589d_rle_crop_3750204442_0.png.png imagette221022021744862768/1744830731_2208014_1350471954_19a1f51c05d166f314d4a0d0766020cc_rle_crop_3750205073_0.png.png imagette221022021744862768/1744830731_2208014_1350471954_19a1f51c05d166f314d4a0d0766020cc_rle_crop_3750205072_0.png.png imagette221022021744862768/1744830702_3502927_1350471815_75380a3f9edc4172f6138e155803dfdb_rle_crop_3750204446_0.png.png imagette221022021744862768/1744831663_3526941_1350473178_7ef46bd3f9767297df6ddc50b41ebe11_rle_crop_3750237606_0.png.png imagette221022021744862768/1744831663_3526941_1350473773_7d1112f675e1bef820c9153755172565_rle_crop_3750237577_0.png.png imagette221022021744862768/1744830791_2208664_1350472632_ae0e170990c2b7e974075925eccbdcb1_rle_crop_3750206080_0.png.png imagette221022021744862768/1744831663_3526941_1350473145_d36e22af6a8c019869df5ec1d01f1bc8_rle_crop_3750237651_0.png.png imagette221022021744862768/1744830582_3501144_1350471293_b7f9b65aa7a86d37d84224e79536b854_rle_crop_3750200344_0.png.png imagette221022021744862768/1744831663_3526941_1350473233_4c04db5e17c5120a6e6626ed0e12e85f_rle_crop_3750237596_0.png.png imagette221022021744862768/1744830672_2207360_1350472374_62f6ab5336391a9f1f332ebf6c1b522f_rle_crop_3750200948_0.png.png imagette221022021744862768/1744830702_3502927_1350472377_e8e49dfc17368234c88cb7d5596a4982_rle_crop_3750204331_0.png.png imagette221022021744862768/1744830940_3511538_1350473277_891e79aa7e3f492b20c9c41dede324b8_rle_crop_3750214759_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/cd40cf272a1ff601d80322a70901c680_64516358.png imagette221022021744862768 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22102128 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22102208,22102209,22102210,22102211,22102212,22102213,22102214,22102215,22102216,22102217,22102218,22102219?tags=metal,environnement,plastique,Carton_gris,papier,Carton_brun,Teint_Dans_La_Masse,cartonnette,mal_croppe,flou,kraft,autre_refus your option no_mail is active, we will not send the real mail to your client args[1350475277] : ('0.06512581640408284',) no score found for photo 1350475277 We are sending mail with results at report@fotonower.com args[1350474608] : ('0.06512581640408284',) no score found for photo 1350474608 We are sending mail with results at report@fotonower.com args[1350474537] : ('0.06512581640408284',) no score found for photo 1350474537 We are sending mail with results at report@fotonower.com args[1350474131] : ('0.06512581640408284',) no score found for photo 1350474131 We are sending mail with results at report@fotonower.com args[1350474106] : ('0.06512581640408284',) no score found for photo 1350474106 We are sending mail with results at report@fotonower.com args[1350474077] : ('0.06512581640408284',) no score found for photo 1350474077 We are sending mail with results at report@fotonower.com args[1350474040] : ('0.06512581640408284',) no score found for photo 1350474040 We are sending mail with results at report@fotonower.com args[1350474035] : ('0.06512581640408284',) no score found for photo 1350474035 We are sending mail with results at report@fotonower.com args[1350473773] : ('0.06512581640408284',) no score found for photo 1350473773 We are sending mail with results at report@fotonower.com args[1350473726] : ('0.06512581640408284',) no score found for photo 1350473726 We are sending mail with results at report@fotonower.com args[1350473677] : ('0.06512581640408284',) no score found for photo 1350473677 We are sending mail with results at report@fotonower.com args[1350473277] : ('0.06512581640408284',) no score found for photo 1350473277 We are sending mail with results at report@fotonower.com args[1350473233] : ('0.06512581640408284',) no score found for photo 1350473233 We are sending mail with results at report@fotonower.com args[1350473178] : ('0.06512581640408284',) no score found for photo 1350473178 We are sending mail with results at report@fotonower.com args[1350473163] : ('0.06512581640408284',) no score found for photo 1350473163 We are sending mail with results at report@fotonower.com args[1350473154] : ('0.06512581640408284',) no score found for photo 1350473154 We are sending mail with results at report@fotonower.com args[1350473145] : ('0.06512581640408284',) no score found for photo 1350473145 We are sending mail with results at report@fotonower.com args[1350472668] : ('0.06512581640408284',) no score found for photo 1350472668 We are sending mail with results at report@fotonower.com args[1350472632] : ('0.06512581640408284',) no score found for photo 1350472632 We are sending mail with results at report@fotonower.com args[1350472596] : ('0.06512581640408284',) no score found for photo 1350472596 We are sending mail with results at report@fotonower.com args[1350472377] : ('0.06512581640408284',) no score found for photo 1350472377 We are sending mail with results at report@fotonower.com args[1350472374] : ('0.06512581640408284',) no score found for photo 1350472374 We are sending mail with results at report@fotonower.com args[1350472370] : ('0.06512581640408284',) no score found for photo 1350472370 We are sending mail with results at report@fotonower.com args[1350472366] : ('0.06512581640408284',) no score found for photo 1350472366 We are sending mail with results at report@fotonower.com args[1350471954] : ('0.06512581640408284',) no score found for photo 1350471954 We are sending mail with results at report@fotonower.com args[1350471924] : ('0.06512581640408284',) no score found for photo 1350471924 We are sending mail with results at report@fotonower.com args[1350471897] : ('0.06512581640408284',) no score found for photo 1350471897 We are sending mail with results at report@fotonower.com args[1350471862] : ('0.06512581640408284',) no score found for photo 1350471862 We are sending mail with results at report@fotonower.com args[1350471815] : ('0.06512581640408284',) no score found for photo 1350471815 We are sending mail with results at report@fotonower.com args[1350471348] : ('0.06512581640408284',) no score found for photo 1350471348 We are sending mail with results at report@fotonower.com args[1350471293] : ('0.06512581640408284',) no score found for photo 1350471293 We are sending mail with results at report@fotonower.com args[1350471243] : ('0.06512581640408284',) no score found for photo 1350471243 We are sending mail with results at report@fotonower.com args[1350470914] : ('0.06512581640408284',) no score found for photo 1350470914 We are sending mail with results at report@fotonower.com args[1350470901] : ('0.06512581640408284',) no score found for photo 1350470901 We are sending mail with results at report@fotonower.com args[1350470572] : ('0.06512581640408284',) no score found for photo 1350470572 We are sending mail with results at report@fotonower.com args[1350470077] : ('0.06512581640408284',) no score found for photo 1350470077 We are sending mail with results at report@fotonower.com refus_total : 0.06512581640408284 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=22102128 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_P22102128_17-04-2025_06_06_01.pdf results_Auto_P22102128_17-04-2025_06_06_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102128_17-04-2025_06_06_01.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','22102128','results_Auto_P22102128_17-04-2025_06_06_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102128_17-04-2025_06_06_01.pdf','pdf','','0.49','0.06512581640408284') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22102128]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077] map_info['map_portfolio_photo'] : {22102128: [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077]} final : False mtd_id 4302 list_pids : [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077] 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, '2729234') ('4302', '22102128', '1350475277', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474608', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474537', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474131', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474106', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474077', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474040', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474035', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473773', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473726', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473677', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473277', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473233', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473178', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473163', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473154', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473145', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472668', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472632', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472596', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472377', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472374', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472370', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472366', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471954', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471924', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471897', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471862', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471815', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471348', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471293', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471243', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470914', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470901', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470572', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470077', None, None, None, None, None, '2729234') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '22102128', '1350475277', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474608', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474537', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474131', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474106', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474077', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474040', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474035', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473773', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473726', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473677', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473277', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473233', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473178', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473163', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473154', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473145', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472668', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472632', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472596', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472377', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472374', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472370', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472366', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471954', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471924', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471897', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471862', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471815', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471348', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471293', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471243', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470914', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470901', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470572', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470077', None, None, None, None, None, '2729234')] time used for this insertion : 0.01667308807373047 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.746781826019287 time spend to save output : 0.017103195190429688 total time spend for step 4 : 11.763885021209717 step5:split_time_score Thu Apr 17 06:06:11 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 : ['22102128'] 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 : [('22102128',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22102128) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350474131: {'path': 'temp/1744862760_2089236_1350474131_1e25ca5d09bc589457a03893dc9cee89.jpg', 'extension': 'jpg'}, 1350474537: {'path': 'temp/1744862760_2089236_1350474537_8f6c0a20ef5706f9a6ed0b9f980f48be.jpg', 'extension': 'jpg'}, 1350474608: {'path': 'temp/1744862760_2089236_1350474608_1b8dc6d89e1b03220cd71b9d8310504e.jpg', 'extension': 'jpg'}, 1350475277: {'path': 'temp/1744862760_2089236_1350475277_7a50fd326e5d31f132c7f184a524040c.jpg', 'extension': 'jpg'}, 1350471862: {'path': 'temp/1744862760_2089236_1350471862_5e045dc84db424e0cc2bf55cae89589d.jpg', 'extension': 'jpg'}, 1350471897: {'path': 'temp/1744862760_2089236_1350471897_07c819451f81f9fa8be8cd7785bef911.jpg', 'extension': 'jpg'}, 1350471924: {'path': 'temp/1744862760_2089236_1350471924_a06a96e59eb6129f14a64ca7a4af5227.jpg', 'extension': 'jpg'}, 1350471954: {'path': 'temp/1744862760_2089236_1350471954_19a1f51c05d166f314d4a0d0766020cc.jpg', 'extension': 'jpg'}, 1350472366: {'path': 'temp/1744862760_2089236_1350472366_5cab92514ace4c1e7555a404469d961c.jpg', 'extension': 'jpg'}, 1350472370: {'path': 'temp/1744862760_2089236_1350472370_9161eb5e0bec85520b13b2b6fa770284.jpg', 'extension': 'jpg'}, 1350472374: {'path': 'temp/1744862760_2089236_1350472374_62f6ab5336391a9f1f332ebf6c1b522f.jpg', 'extension': 'jpg'}, 1350472377: {'path': 'temp/1744862760_2089236_1350472377_e8e49dfc17368234c88cb7d5596a4982.jpg', 'extension': 'jpg'}, 1350473277: {'path': 'temp/1744862760_2089236_1350473277_891e79aa7e3f492b20c9c41dede324b8.jpg', 'extension': 'jpg'}, 1350473677: {'path': 'temp/1744862760_2089236_1350473677_5d9c91ca9c558a2e5449797abab4ac5c.jpg', 'extension': 'jpg'}, 1350473726: {'path': 'temp/1744862760_2089236_1350473726_427d289351bf0347f27746fbcb8749c5.jpg', 'extension': 'jpg'}, 1350473773: {'path': 'temp/1744862760_2089236_1350473773_7d1112f675e1bef820c9153755172565.jpg', 'extension': 'jpg'}, 1350474035: {'path': 'temp/1744862760_2089236_1350474035_2310eb77338c23c5f3b4795249d56379.jpg', 'extension': 'jpg'}, 1350474040: {'path': 'temp/1744862760_2089236_1350474040_0433efd4298f53675aba57cb77d2528c.jpg', 'extension': 'jpg'}, 1350474077: {'path': 'temp/1744862760_2089236_1350474077_6991a93764e2040941a0ad0431dfde23.jpg', 'extension': 'jpg'}, 1350474106: {'path': 'temp/1744862760_2089236_1350474106_3bab256b77fc20e5677aa9cb81beae79.jpg', 'extension': 'jpg'}, 1350472596: {'path': 'temp/1744862760_2089236_1350472596_b5cce017007374195d8089eafcb55a3d.jpg', 'extension': 'jpg'}, 1350472632: {'path': 'temp/1744862760_2089236_1350472632_ae0e170990c2b7e974075925eccbdcb1.jpg', 'extension': 'jpg'}, 1350472668: {'path': 'temp/1744862760_2089236_1350472668_5d9fc7bfbef7556278bb5054ecf681ab.jpg', 'extension': 'jpg'}, 1350473145: {'path': 'temp/1744862760_2089236_1350473145_d36e22af6a8c019869df5ec1d01f1bc8.jpg', 'extension': 'jpg'}, 1350473154: {'path': 'temp/1744862760_2089236_1350473154_bdf0fbe5e804ff03e25ca232e0a78fcc.jpg', 'extension': 'jpg'}, 1350473163: {'path': 'temp/1744862760_2089236_1350473163_5d7a2e57fda93e0b591616d62344135b.jpg', 'extension': 'jpg'}, 1350473178: {'path': 'temp/1744862760_2089236_1350473178_7ef46bd3f9767297df6ddc50b41ebe11.jpg', 'extension': 'jpg'}, 1350473233: {'path': 'temp/1744862760_2089236_1350473233_4c04db5e17c5120a6e6626ed0e12e85f.jpg', 'extension': 'jpg'}, 1350470077: {'path': 'temp/1744862760_2089236_1350470077_061f9f9270e14d7e7ba67d1074a95578.jpg', 'extension': 'jpg'}, 1350470572: {'path': 'temp/1744862760_2089236_1350470572_15773ed5e21dbbd07ab02a78ec4607fe.jpg', 'extension': 'jpg'}, 1350470901: {'path': 'temp/1744862760_2089236_1350470901_5c157c2e657ce449c2e159c915fa9670.jpg', 'extension': 'jpg'}, 1350470914: {'path': 'temp/1744862760_2089236_1350470914_d0213459011d30e8b3cd3a36ddcc0d3a.jpg', 'extension': 'jpg'}, 1350471243: {'path': 'temp/1744862760_2089236_1350471243_24fd31bc92bfa2c793468f26fc883af9.jpg', 'extension': 'jpg'}, 1350471293: {'path': 'temp/1744862760_2089236_1350471293_b7f9b65aa7a86d37d84224e79536b854.jpg', 'extension': 'jpg'}, 1350471348: {'path': 'temp/1744862760_2089236_1350471348_7a7c80bc52b6e13cf44a8f881fc4022d.jpg', 'extension': 'jpg'}, 1350471815: {'path': 'temp/1744862760_2089236_1350471815_75380a3f9edc4172f6138e155803dfdb.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 = 22102128; (('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 = 22102128 group by h (('21', 36),) 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=22102128 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 (22102128) 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 (22102128) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 16042025 22102128 Nombre de photos uploadées : 36 / 23040 (0%) 16042025 22102128 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 16042025 22102128 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1350470077, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/061f9f9270e14d7e7ba67d1074a95578.jpg', 'username': None, 'uploaded_at': 1744830247, 'text': 'image_16042025_21_02_05_10171.jpg'}, {'photo_id': 1350470914, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/d0213459011d30e8b3cd3a36ddcc0d3a.jpg', 'username': None, 'uploaded_at': 1744830367, 'text': 'image_16042025_21_03_05_10147.jpg'}, {'photo_id': 1350470572, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/15773ed5e21dbbd07ab02a78ec4607fe.jpg', 'username': None, 'uploaded_at': 1744830312, 'text': 'image_16042025_21_04_05_10165.jpg'}, {'photo_id': 1350470901, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/16/5c157c2e657ce449c2e159c915fa9670.jpg', 'username': None, 'uploaded_at': 1744830367, 'text': 'image_16042025_21_05_35_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015406608581542969 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22102128, '2025-04-16' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1717339,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.0243380069732666 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= 1717339 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22059117, 'dashboard_result_id': 9921892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059117_17-04-2025_05_34_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059130, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22059330, 'dashboard_result_id': 9921893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059330_17-04-2025_05_34_53.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059342, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22059785, 'dashboard_result_id': 9921894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059785_17-04-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059821, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22060293, 'dashboard_result_id': 9921895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060293_17-04-2025_05_36_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22060319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22060324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22060329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060330, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22060778, 'dashboard_result_id': 9921896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060778_17-04-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22060852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22060853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22060859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060863, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22061488, 'dashboard_result_id': 9921897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061488_17-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22061489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061500, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22061745, 'dashboard_result_id': 9921898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061745_17-04-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061757, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22061893, 'dashboard_result_id': 9921899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061893_17-04-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061943, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22062524, 'dashboard_result_id': 9921900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22062524_17-04-2025_05_39_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22062525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22062526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22062527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22062528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22062529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22062530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22062531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22062532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22062533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22062534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22062535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22062536, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22063272, 'dashboard_result_id': 9921901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063272_17-04-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22063280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063285, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22063888, 'dashboard_result_id': 9921902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063888_17-04-2025_05_41_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22063899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063904, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22064719, 'dashboard_result_id': 9921903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064719_17-04-2025_05_41_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22064721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064732, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22065434, 'dashboard_result_id': 9921904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065434_17-04-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22065449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22065452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065460, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22066281, 'dashboard_result_id': 9921905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066281_17-04-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066375, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22066861, 'dashboard_result_id': 9921906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066861_17-04-2025_05_42_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066873, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22067534, 'dashboard_result_id': 9921907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22067534_17-04-2025_05_43_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22067535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22067536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22067537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22067538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22067539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22067540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22067541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22067542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22067543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22067544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22067545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22067546, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22068844, 'dashboard_result_id': 9921908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22068844_17-04-2025_05_44_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22068845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22068846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22068847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22068848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22068849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22068850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22068851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22068852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22068853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22068854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22068855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22068856, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22069355, 'dashboard_result_id': 9921909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069355_17-04-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22069428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069432, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22069943, 'dashboard_result_id': 9921910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069943_17-04-2025_05_45_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22069976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069979, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22070661, 'dashboard_result_id': 9921911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22070661_17-04-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22070665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22070666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22070667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22070668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22070669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22070670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22070671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22070672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22070673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22070674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22070675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22070676, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22071782, 'dashboard_result_id': 9921912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22071782_17-04-2025_05_46_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22071783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22071784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22071785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22071786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22071787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22071788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22071789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22071790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22071791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22071792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22071793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22071794, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22072222, 'dashboard_result_id': 9921913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072222_17-04-2025_05_46_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22072253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072259, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22072955, 'dashboard_result_id': 9921914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072955_17-04-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22072975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072986, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22073578, 'dashboard_result_id': 9921915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22073578_17-04-2025_05_48_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22073614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22073615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22073616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22073617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22073618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22073619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22073620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22073621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22073622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22073623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22073624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22073625, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22074294, 'dashboard_result_id': 9921916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074294_17-04-2025_05_48_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22074299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074310, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22074954, 'dashboard_result_id': 9921917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074954_17-04-2025_05_49_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22074962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074966, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22077202, 'dashboard_result_id': 9921918, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077202_17-04-2025_05_50_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077210, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077216, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22077619, 'dashboard_result_id': 9921919, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077619_17-04-2025_05_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077634, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22078155, 'dashboard_result_id': 9921921, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078155_17-04-2025_05_51_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078167, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22078873, 'dashboard_result_id': 9921922, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078873_17-04-2025_05_52_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078914, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22079577, 'dashboard_result_id': 9921923, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079577_17-04-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079589, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22080323, 'dashboard_result_id': 9921924, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22080323_17-04-2025_05_53_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22080324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22080325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22080326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22080327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22080328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22080329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22080330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22080331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22080332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22080333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22080334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22080335, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22081286, 'dashboard_result_id': 9921925, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22081286_17-04-2025_05_53_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22081287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22081288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22081289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22081290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22081291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22081292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22081293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22081294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22081295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22081296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22081297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22081298, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22082283, 'dashboard_result_id': 9921926, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082283_17-04-2025_05_54_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22082313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082324, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22082908, 'dashboard_result_id': 9921927, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082908_17-04-2025_05_54_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22082941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082945, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22083524, 'dashboard_result_id': 9921928, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22083524_17-04-2025_05_55_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22083592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22083593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22083594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22083595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22083596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22083597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22083598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22083599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22083600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22083601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22083602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22083603, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22084373, 'dashboard_result_id': 9921929, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22084373_17-04-2025_05_56_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22084375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22084376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22084377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22084378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22084379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22084380, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22084381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22084382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22084383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22084384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22084385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22084386, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22085147, 'dashboard_result_id': 9921930, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22085147_17-04-2025_05_56_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22085172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22085173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22085174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22085175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22085176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22085177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22085178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22085179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22085180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22085181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22085182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22085183, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22086201, 'dashboard_result_id': 9921931, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22086201_17-04-2025_05_57_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22086219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22086220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22086221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22086223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22086224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22086225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22086226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22086227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22086228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22086229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22086230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22086231, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22087139, 'dashboard_result_id': 9921932, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087139_17-04-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087194, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22088250, 'dashboard_result_id': 9921933, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088250_17-04-2025_05_59_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088290, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22089260, 'dashboard_result_id': 9921934, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089260_17-04-2025_05_59_47.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089295, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22091414, 'dashboard_result_id': 9921935, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091414_17-04-2025_05_59_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091426, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22092176, 'dashboard_result_id': 9921936, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092176_17-04-2025_06_00_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092226, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22093087, 'dashboard_result_id': 9921937, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093087_17-04-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22093144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093146, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22094049, 'dashboard_result_id': 9921938, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094049_17-04-2025_06_01_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094063, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22094837, 'dashboard_result_id': 9921939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094837_17-04-2025_06_02_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094854, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22095771, 'dashboard_result_id': 9921940, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095771_17-04-2025_06_02_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095779, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095782, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095784, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22097466, 'dashboard_result_id': 9921941, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097466_17-04-2025_06_03_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22097468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097479, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22098075, 'dashboard_result_id': 9921942, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098075_17-04-2025_06_04_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098128, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22099130, 'dashboard_result_id': 9921943, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099130_17-04-2025_06_04_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099179, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22100089, 'dashboard_result_id': 9921944, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100089_17-04-2025_06_05_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100272, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22102128, 'dashboard_result_id': 9921945, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102128_16-04-2025_21_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22102196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22102197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22102198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22102199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22102200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22102201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22102202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22102203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22102204, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22102205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22102206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22102207, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22102653, 'dashboard_result_id': 9921946, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102653_16-04-2025_21_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22102654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22102655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22102656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22102657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22102658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22102659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22102660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22102661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22102662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22102663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22102664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22102665, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22103582, 'dashboard_result_id': 9921947, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103582_16-04-2025_21_58_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22103587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103596, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22104103, 'dashboard_result_id': 9921948, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104103_16-04-2025_22_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22104109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104110, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104120, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22104991, 'dashboard_result_id': 9921949, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104991_16-04-2025_22_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105003, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22105718, 'dashboard_result_id': 9921950, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105718_16-04-2025_22_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105754, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22106276, 'dashboard_result_id': 9921951, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106276_16-04-2025_23_27_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22106278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106289, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22108321, 'dashboard_result_id': 9921952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108321_16-04-2025_23_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22108324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108327, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108335, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22108646, 'dashboard_result_id': 9921953, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108646_16-04-2025_23_52_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108661, 'pht': 3726}}"}, {'dashboat_entry_day': 1717339, 'dashboard_run_id': 1729449, 'mtr_portfolio_id': 22109162, 'dashboard_result_id': 9921954, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109162_17-04-2025_01_01_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109176, '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 = 22059117 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': 2729182, 'mtr_portfolio_id': 22059117, 'created_at': datetime.datetime(2025, 4, 17, 5, 34, 26), 'result': '0.07303210561099287', 'result_long': None, 'result_double': None}] Qualite : 0.07303210561099287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22059117 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059117_17-04-2025_05_34_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22059117 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059117_17-04-2025_05_34_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059130, 'pht': 3726}}" where mtr_portfolio_id = 22059117 and dashboard_run_id = 1729449 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`=22059117 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921892, 0.07303210561099287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059117_17-04-2025_05_34_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059130, '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 = 22059330 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': 2729183, 'mtr_portfolio_id': 22059330, 'created_at': datetime.datetime(2025, 4, 17, 5, 34, 49), 'result': '0.041690154691995725', 'result_long': None, 'result_double': None}] Qualite : 0.041690154691995725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22059330 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059330_17-04-2025_05_34_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22059330 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059330_17-04-2025_05_34_53.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059342, 'pht': 3726}}" where mtr_portfolio_id = 22059330 and dashboard_run_id = 1729449 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`=22059330 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921893, 0.041690154691995725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059330_17-04-2025_05_34_53.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059342, '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 = 22059785 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': 2729184, 'mtr_portfolio_id': 22059785, 'created_at': datetime.datetime(2025, 4, 17, 5, 35, 30), 'result': '0.05061391161006555', 'result_long': None, 'result_double': None}] Qualite : 0.05061391161006555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22059785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059785_17-04-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22059785 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059785_17-04-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059821, 'pht': 3726}}" where mtr_portfolio_id = 22059785 and dashboard_run_id = 1729449 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`=22059785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921894, 0.05061391161006555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059785_17-04-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059813, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059821, '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 = 22060293 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': 2729185, 'mtr_portfolio_id': 22060293, 'created_at': datetime.datetime(2025, 4, 17, 5, 36, 1), 'result': '0.048704927724981965', 'result_long': None, 'result_double': None}] Qualite : 0.048704927724981965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22060293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060293_17-04-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22060293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060293_17-04-2025_05_36_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22060319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22060324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22060329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060330, 'pht': 3726}}" where mtr_portfolio_id = 22060293 and dashboard_run_id = 1729449 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`=22060293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921895, 0.048704927724981965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060293_17-04-2025_05_36_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22060319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22060324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22060329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060330, '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 = 22060778 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': 2729186, 'mtr_portfolio_id': 22060778, 'created_at': datetime.datetime(2025, 4, 17, 5, 36, 30), 'result': '0.0376994519475429', 'result_long': None, 'result_double': None}] Qualite : 0.0376994519475429 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22060778 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060778_17-04-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22060778 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060778_17-04-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22060852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22060853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22060859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060863, 'pht': 3726}}" where mtr_portfolio_id = 22060778 and dashboard_run_id = 1729449 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`=22060778 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921896, 0.0376994519475429, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060778_17-04-2025_05_36_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22060852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22060853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22060859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060863, '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 = 22061488 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': 2729187, 'mtr_portfolio_id': 22061488, 'created_at': datetime.datetime(2025, 4, 17, 5, 37, 27), 'result': '0.07071141672727548', 'result_long': None, 'result_double': None}] Qualite : 0.07071141672727548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22061488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061488_17-04-2025_05_37_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22061488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061488_17-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22061489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061500, 'pht': 3726}}" where mtr_portfolio_id = 22061488 and dashboard_run_id = 1729449 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`=22061488 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921897, 0.07071141672727548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061488_17-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22061489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061500, '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 = 22061745 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': 2729188, 'mtr_portfolio_id': 22061745, 'created_at': datetime.datetime(2025, 4, 17, 5, 37, 59), 'result': '0.04413978025492351', 'result_long': None, 'result_double': None}] Qualite : 0.04413978025492351 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22061745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061745_17-04-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22061745 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061745_17-04-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061757, 'pht': 3726}}" where mtr_portfolio_id = 22061745 and dashboard_run_id = 1729449 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`=22061745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921898, 0.04413978025492351, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061745_17-04-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061757, '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 = 22061893 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': 2729189, 'mtr_portfolio_id': 22061893, 'created_at': datetime.datetime(2025, 4, 17, 5, 38, 29), 'result': '0.04625454704952402', 'result_long': None, 'result_double': None}] Qualite : 0.04625454704952402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22061893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061893_17-04-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22061893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061893_17-04-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061943, 'pht': 3726}}" where mtr_portfolio_id = 22061893 and dashboard_run_id = 1729449 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`=22061893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921899, 0.04625454704952402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061893_17-04-2025_05_38_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061943, '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 = 22062524 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': 2729190, 'mtr_portfolio_id': 22062524, 'created_at': datetime.datetime(2025, 4, 17, 5, 39, 30), 'result': '0.04679356185692314', 'result_long': None, 'result_double': None}] Qualite : 0.04679356185692314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22062524 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22062524_17-04-2025_05_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22062524 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22062524_17-04-2025_05_39_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22062525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22062526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22062527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22062528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22062529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22062530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22062531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22062532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22062533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22062534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22062535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22062536, 'pht': 3726}}" where mtr_portfolio_id = 22062524 and dashboard_run_id = 1729449 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`=22062524 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921900, 0.04679356185692314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22062524_17-04-2025_05_39_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22062525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22062526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22062527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22062528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22062529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22062530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22062531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22062532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22062533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22062534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22062535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22062536, '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 = 22063272 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': 2729191, 'mtr_portfolio_id': 22063272, 'created_at': datetime.datetime(2025, 4, 17, 5, 39, 59), 'result': '0.04063213111634066', 'result_long': None, 'result_double': None}] Qualite : 0.04063213111634066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22063272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063272_17-04-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22063272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063272_17-04-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22063280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063285, 'pht': 3726}}" where mtr_portfolio_id = 22063272 and dashboard_run_id = 1729449 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`=22063272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921901, 0.04063213111634066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063272_17-04-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22063280, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063285, '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 = 22063888 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': 2729192, 'mtr_portfolio_id': 22063888, 'created_at': datetime.datetime(2025, 4, 17, 5, 40, 59), 'result': '0.04810670135467666', 'result_long': None, 'result_double': None}] Qualite : 0.04810670135467666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22063888 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063888_17-04-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22063888 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063888_17-04-2025_05_41_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22063899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063904, 'pht': 3726}}" where mtr_portfolio_id = 22063888 and dashboard_run_id = 1729449 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`=22063888 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921902, 0.04810670135467666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063888_17-04-2025_05_41_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22063899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063904, '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 = 22064719 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': 2729193, 'mtr_portfolio_id': 22064719, 'created_at': datetime.datetime(2025, 4, 17, 5, 41, 3), 'result': '0.045272520284309926', 'result_long': None, 'result_double': None}] Qualite : 0.045272520284309926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22064719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064719_17-04-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22064719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064719_17-04-2025_05_41_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22064721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064732, 'pht': 3726}}" where mtr_portfolio_id = 22064719 and dashboard_run_id = 1729449 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`=22064719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921903, 0.045272520284309926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064719_17-04-2025_05_41_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22064721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064732, '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 = 22065434 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': 2729194, 'mtr_portfolio_id': 22065434, 'created_at': datetime.datetime(2025, 4, 17, 5, 41, 29), 'result': '0.05046683908417104', 'result_long': None, 'result_double': None}] Qualite : 0.05046683908417104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22065434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065434_17-04-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22065434 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065434_17-04-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22065449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22065452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065460, 'pht': 3726}}" where mtr_portfolio_id = 22065434 and dashboard_run_id = 1729449 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`=22065434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921904, 0.05046683908417104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065434_17-04-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22065449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22065452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065460, '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 = 22066281 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': 2729195, 'mtr_portfolio_id': 22066281, 'created_at': datetime.datetime(2025, 4, 17, 5, 41, 58), 'result': '0.04749454205141267', 'result_long': None, 'result_double': None}] Qualite : 0.04749454205141267 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22066281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066281_17-04-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22066281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066281_17-04-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066375, 'pht': 3726}}" where mtr_portfolio_id = 22066281 and dashboard_run_id = 1729449 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`=22066281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921905, 0.04749454205141267, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066281_17-04-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066375, '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 = 22066861 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': 2729196, 'mtr_portfolio_id': 22066861, 'created_at': datetime.datetime(2025, 4, 17, 5, 42, 28), 'result': '0.05818573737859983', 'result_long': None, 'result_double': None}] Qualite : 0.05818573737859983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22066861 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066861_17-04-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22066861 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066861_17-04-2025_05_42_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066873, 'pht': 3726}}" where mtr_portfolio_id = 22066861 and dashboard_run_id = 1729449 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`=22066861 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921906, 0.05818573737859983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066861_17-04-2025_05_42_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066873, '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 = 22067534 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': 2729197, 'mtr_portfolio_id': 22067534, 'created_at': datetime.datetime(2025, 4, 17, 5, 43, 31), 'result': '0.052086937124297336', 'result_long': None, 'result_double': None}] Qualite : 0.052086937124297336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22067534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22067534_17-04-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22067534 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22067534_17-04-2025_05_43_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22067535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22067536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22067537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22067538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22067539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22067540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22067541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22067542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22067543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22067544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22067545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22067546, 'pht': 3726}}" where mtr_portfolio_id = 22067534 and dashboard_run_id = 1729449 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`=22067534 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921907, 0.052086937124297336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22067534_17-04-2025_05_43_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22067535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22067536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22067537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22067538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22067539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22067540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22067541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22067542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22067543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22067544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22067545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22067546, '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 = 22068844 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': 2729198, 'mtr_portfolio_id': 22068844, 'created_at': datetime.datetime(2025, 4, 17, 5, 43, 58), 'result': '0.05681451461389405', 'result_long': None, 'result_double': None}] Qualite : 0.05681451461389405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22068844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22068844_17-04-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22068844 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22068844_17-04-2025_05_44_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22068845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22068846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22068847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22068848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22068849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22068850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22068851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22068852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22068853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22068854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22068855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22068856, 'pht': 3726}}" where mtr_portfolio_id = 22068844 and dashboard_run_id = 1729449 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`=22068844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921908, 0.05681451461389405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22068844_17-04-2025_05_44_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22068845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22068846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22068847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22068848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22068849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22068850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22068851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22068852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22068853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22068854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22068855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22068856, '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 = 22069355 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': 2729199, 'mtr_portfolio_id': 22069355, 'created_at': datetime.datetime(2025, 4, 17, 5, 44, 28), 'result': '0.04574468697541054', 'result_long': None, 'result_double': None}] Qualite : 0.04574468697541054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22069355 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069355_17-04-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22069355 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069355_17-04-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22069428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069432, 'pht': 3726}}" where mtr_portfolio_id = 22069355 and dashboard_run_id = 1729449 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`=22069355 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921909, 0.04574468697541054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069355_17-04-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22069428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069432, '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 = 22069943 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': 2729200, 'mtr_portfolio_id': 22069943, 'created_at': datetime.datetime(2025, 4, 17, 5, 45, 30), 'result': '0.046962740738330594', 'result_long': None, 'result_double': None}] Qualite : 0.046962740738330594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22069943 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069943_17-04-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22069943 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069943_17-04-2025_05_45_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22069976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069979, 'pht': 3726}}" where mtr_portfolio_id = 22069943 and dashboard_run_id = 1729449 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`=22069943 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921910, 0.046962740738330594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069943_17-04-2025_05_45_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22069976, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069979, '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 = 22070661 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': 2729201, 'mtr_portfolio_id': 22070661, 'created_at': datetime.datetime(2025, 4, 17, 5, 46), 'result': '0.04621961541509241', 'result_long': None, 'result_double': None}] Qualite : 0.04621961541509241 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22070661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22070661_17-04-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22070661 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22070661_17-04-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22070665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22070666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22070667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22070668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22070669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22070670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22070671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22070672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22070673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22070674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22070675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22070676, 'pht': 3726}}" where mtr_portfolio_id = 22070661 and dashboard_run_id = 1729449 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`=22070661 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921911, 0.04621961541509241, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22070661_17-04-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22070665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22070666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22070667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22070668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22070669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22070670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22070671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22070672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22070673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22070674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22070675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22070676, '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 = 22071782 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': 2729202, 'mtr_portfolio_id': 22071782, 'created_at': datetime.datetime(2025, 4, 17, 5, 46, 30), 'result': '0.047396472012281275', 'result_long': None, 'result_double': None}] Qualite : 0.047396472012281275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22071782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22071782_17-04-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22071782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22071782_17-04-2025_05_46_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22071783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22071784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22071785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22071786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22071787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22071788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22071789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22071790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22071791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22071792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22071793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22071794, 'pht': 3726}}" where mtr_portfolio_id = 22071782 and dashboard_run_id = 1729449 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`=22071782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921912, 0.047396472012281275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22071782_17-04-2025_05_46_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22071783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22071784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22071785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22071786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22071787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22071788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22071789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22071790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22071791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22071792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22071793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22071794, '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 = 22072222 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': 2729203, 'mtr_portfolio_id': 22072222, 'created_at': datetime.datetime(2025, 4, 17, 5, 46, 29), 'result': '0.03529158297634924', 'result_long': None, 'result_double': None}] Qualite : 0.03529158297634924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22072222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072222_17-04-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22072222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072222_17-04-2025_05_46_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22072253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072259, 'pht': 3726}}" where mtr_portfolio_id = 22072222 and dashboard_run_id = 1729449 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`=22072222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921913, 0.03529158297634924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072222_17-04-2025_05_46_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22072253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072259, '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 = 22072955 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': 2729204, 'mtr_portfolio_id': 22072955, 'created_at': datetime.datetime(2025, 4, 17, 5, 47, 31), 'result': '0.03888582871045969', 'result_long': None, 'result_double': None}] Qualite : 0.03888582871045969 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22072955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072955_17-04-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22072955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072955_17-04-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22072975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072986, 'pht': 3726}}" where mtr_portfolio_id = 22072955 and dashboard_run_id = 1729449 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`=22072955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921914, 0.03888582871045969, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072955_17-04-2025_05_47_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22072975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072986, '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 = 22073578 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': 2729205, 'mtr_portfolio_id': 22073578, 'created_at': datetime.datetime(2025, 4, 17, 5, 48, 1), 'result': '0.03560903013226586', 'result_long': None, 'result_double': None}] Qualite : 0.03560903013226586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22073578 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22073578_17-04-2025_05_48_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22073578 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22073578_17-04-2025_05_48_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22073614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22073615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22073616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22073617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22073618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22073619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22073620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22073621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22073622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22073623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22073624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22073625, 'pht': 3726}}" where mtr_portfolio_id = 22073578 and dashboard_run_id = 1729449 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`=22073578 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921915, 0.03560903013226586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22073578_17-04-2025_05_48_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22073614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22073615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22073616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22073617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22073618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22073619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22073620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22073621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22073622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22073623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22073624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22073625, '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 = 22074294 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': 2729206, 'mtr_portfolio_id': 22074294, 'created_at': datetime.datetime(2025, 4, 17, 5, 48, 29), 'result': '0.034558961698242525', 'result_long': None, 'result_double': None}] Qualite : 0.034558961698242525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22074294 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074294_17-04-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22074294 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074294_17-04-2025_05_48_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22074299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074310, 'pht': 3726}}" where mtr_portfolio_id = 22074294 and dashboard_run_id = 1729449 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`=22074294 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921916, 0.034558961698242525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074294_17-04-2025_05_48_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22074299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074310, '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 = 22074954 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': 2729207, 'mtr_portfolio_id': 22074954, 'created_at': datetime.datetime(2025, 4, 17, 5, 49, 27), 'result': '0.04416195134620456', 'result_long': None, 'result_double': None}] Qualite : 0.04416195134620456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22074954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074954_17-04-2025_05_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22074954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074954_17-04-2025_05_49_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22074962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074966, 'pht': 3726}}" where mtr_portfolio_id = 22074954 and dashboard_run_id = 1729449 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`=22074954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921917, 0.04416195134620456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074954_17-04-2025_05_49_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22074962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074966, '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 = 22077202 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': 2729208, 'mtr_portfolio_id': 22077202, 'created_at': datetime.datetime(2025, 4, 17, 5, 50), 'result': '0.02905565620271391', 'result_long': None, 'result_double': None}] Qualite : 0.02905565620271391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22077202 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077202_17-04-2025_05_50_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22077202 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077202_17-04-2025_05_50_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077210, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077216, 'pht': 3726}}" where mtr_portfolio_id = 22077202 and dashboard_run_id = 1729449 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`=22077202 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921918, 0.02905565620271391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077202_17-04-2025_05_50_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077210, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077216, '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 = 22077619 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': 2729209, 'mtr_portfolio_id': 22077619, 'created_at': datetime.datetime(2025, 4, 17, 5, 50, 58), 'result': '0.06005271631442509', 'result_long': None, 'result_double': None}] Qualite : 0.06005271631442509 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22077619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077619_17-04-2025_05_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22077619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077619_17-04-2025_05_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077634, 'pht': 3726}}" where mtr_portfolio_id = 22077619 and dashboard_run_id = 1729449 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`=22077619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921919, 0.06005271631442509, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077619_17-04-2025_05_51_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077634, '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 = 22078155 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': 2729210, 'mtr_portfolio_id': 22078155, 'created_at': datetime.datetime(2025, 4, 17, 5, 51, 26), 'result': '0.038355175137370655', 'result_long': None, 'result_double': None}] Qualite : 0.038355175137370655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22078155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078155_17-04-2025_05_51_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22078155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078155_17-04-2025_05_51_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078167, 'pht': 3726}}" where mtr_portfolio_id = 22078155 and dashboard_run_id = 1729449 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`=22078155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921921, 0.038355175137370655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078155_17-04-2025_05_51_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078167, '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 = 22078873 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': 2729211, 'mtr_portfolio_id': 22078873, 'created_at': datetime.datetime(2025, 4, 17, 5, 51, 58), 'result': '0.05595668898842946', 'result_long': None, 'result_double': None}] Qualite : 0.05595668898842946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22078873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078873_17-04-2025_05_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22078873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078873_17-04-2025_05_52_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078914, 'pht': 3726}}" where mtr_portfolio_id = 22078873 and dashboard_run_id = 1729449 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`=22078873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921922, 0.05595668898842946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078873_17-04-2025_05_52_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078906, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078914, '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 = 22079577 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': 2729212, 'mtr_portfolio_id': 22079577, 'created_at': datetime.datetime(2025, 4, 17, 5, 52, 29), 'result': '0.05835412161802391', 'result_long': None, 'result_double': None}] Qualite : 0.05835412161802391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22079577 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079577_17-04-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22079577 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079577_17-04-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079589, 'pht': 3726}}" where mtr_portfolio_id = 22079577 and dashboard_run_id = 1729449 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`=22079577 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921923, 0.05835412161802391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079577_17-04-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079589, '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 = 22080323 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': 2729213, 'mtr_portfolio_id': 22080323, 'created_at': datetime.datetime(2025, 4, 17, 5, 52, 59), 'result': '0.03906800119997829', 'result_long': None, 'result_double': None}] Qualite : 0.03906800119997829 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22080323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22080323_17-04-2025_05_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22080323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22080323_17-04-2025_05_53_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22080324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22080325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22080326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22080327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22080328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22080329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22080330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22080331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22080332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22080333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22080334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22080335, 'pht': 3726}}" where mtr_portfolio_id = 22080323 and dashboard_run_id = 1729449 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`=22080323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921924, 0.03906800119997829, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22080323_17-04-2025_05_53_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22080324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22080325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22080326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22080327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22080328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22080329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22080330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22080331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22080332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22080333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22080334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22080335, '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 = 22081286 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': 2729214, 'mtr_portfolio_id': 22081286, 'created_at': datetime.datetime(2025, 4, 17, 5, 53, 29), 'result': '0.05238823642345031', 'result_long': None, 'result_double': None}] Qualite : 0.05238823642345031 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22081286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22081286_17-04-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22081286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22081286_17-04-2025_05_53_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22081287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22081288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22081289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22081290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22081291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22081292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22081293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22081294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22081295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22081296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22081297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22081298, 'pht': 3726}}" where mtr_portfolio_id = 22081286 and dashboard_run_id = 1729449 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`=22081286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921925, 0.05238823642345031, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22081286_17-04-2025_05_53_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22081287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22081288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22081289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22081290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22081291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22081292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22081293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22081294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22081295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22081296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22081297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22081298, '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 = 22082283 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': 2729215, 'mtr_portfolio_id': 22082283, 'created_at': datetime.datetime(2025, 4, 17, 5, 54, 1), 'result': '0.03902303152651986', 'result_long': None, 'result_double': None}] Qualite : 0.03902303152651986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22082283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082283_17-04-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22082283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082283_17-04-2025_05_54_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22082313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082324, 'pht': 3726}}" where mtr_portfolio_id = 22082283 and dashboard_run_id = 1729449 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`=22082283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921926, 0.03902303152651986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082283_17-04-2025_05_54_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22082313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082324, '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 = 22082908 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': 2729216, 'mtr_portfolio_id': 22082908, 'created_at': datetime.datetime(2025, 4, 17, 5, 54, 28), 'result': '0.04601917473331805', 'result_long': None, 'result_double': None}] Qualite : 0.04601917473331805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22082908 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082908_17-04-2025_05_54_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22082908 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082908_17-04-2025_05_54_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22082941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082945, 'pht': 3726}}" where mtr_portfolio_id = 22082908 and dashboard_run_id = 1729449 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`=22082908 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921927, 0.04601917473331805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082908_17-04-2025_05_54_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22082941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082945, '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 = 22083524 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': 2729217, 'mtr_portfolio_id': 22083524, 'created_at': datetime.datetime(2025, 4, 17, 5, 55, 28), 'result': '0.0501194483773204', 'result_long': None, 'result_double': None}] Qualite : 0.0501194483773204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22083524 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22083524_17-04-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22083524 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22083524_17-04-2025_05_55_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22083592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22083593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22083594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22083595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22083596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22083597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22083598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22083599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22083600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22083601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22083602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22083603, 'pht': 3726}}" where mtr_portfolio_id = 22083524 and dashboard_run_id = 1729449 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`=22083524 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921928, 0.0501194483773204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22083524_17-04-2025_05_55_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22083592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22083593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22083594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22083595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22083596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22083597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22083598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22083599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22083600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22083601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22083602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22083603, '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 = 22084373 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': 2729218, 'mtr_portfolio_id': 22084373, 'created_at': datetime.datetime(2025, 4, 17, 5, 55, 59), 'result': '0.07683025823084824', 'result_long': None, 'result_double': None}] Qualite : 0.07683025823084824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22084373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22084373_17-04-2025_05_56_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22084373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22084373_17-04-2025_05_56_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22084375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22084376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22084377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22084378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22084379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22084380, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22084381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22084382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22084383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22084384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22084385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22084386, 'pht': 3726}}" where mtr_portfolio_id = 22084373 and dashboard_run_id = 1729449 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`=22084373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921929, 0.07683025823084824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22084373_17-04-2025_05_56_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22084375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22084376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22084377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22084378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22084379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22084380, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22084381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22084382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22084383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22084384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22084385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22084386, '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 = 22085147 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': 2729219, 'mtr_portfolio_id': 22085147, 'created_at': datetime.datetime(2025, 4, 17, 5, 56, 28), 'result': '0.06418418173955395', 'result_long': None, 'result_double': None}] Qualite : 0.06418418173955395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22085147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22085147_17-04-2025_05_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22085147 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22085147_17-04-2025_05_56_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22085172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22085173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22085174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22085175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22085176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22085177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22085178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22085179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22085180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22085181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22085182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22085183, 'pht': 3726}}" where mtr_portfolio_id = 22085147 and dashboard_run_id = 1729449 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`=22085147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921930, 0.06418418173955395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22085147_17-04-2025_05_56_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22085172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22085173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22085174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22085175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22085176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22085177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22085178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22085179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22085180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22085181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22085182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22085183, '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 = 22086201 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': 2729220, 'mtr_portfolio_id': 22086201, 'created_at': datetime.datetime(2025, 4, 17, 5, 57, 30), 'result': '0.04811135484788404', 'result_long': None, 'result_double': None}] Qualite : 0.04811135484788404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22086201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22086201_17-04-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22086201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22086201_17-04-2025_05_57_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22086219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22086220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22086221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22086223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22086224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22086225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22086226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22086227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22086228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22086229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22086230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22086231, 'pht': 3726}}" where mtr_portfolio_id = 22086201 and dashboard_run_id = 1729449 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`=22086201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921931, 0.04811135484788404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22086201_17-04-2025_05_57_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22086219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22086220, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22086221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22086223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22086224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22086225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22086226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22086227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22086228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22086229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22086230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22086231, '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 = 22087139 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': 2729221, 'mtr_portfolio_id': 22087139, 'created_at': datetime.datetime(2025, 4, 17, 5, 57, 59), 'result': '0.049623343377459724', 'result_long': None, 'result_double': None}] Qualite : 0.049623343377459724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087139_17-04-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087139_17-04-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087194, 'pht': 3726}}" where mtr_portfolio_id = 22087139 and dashboard_run_id = 1729449 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`=22087139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921932, 0.049623343377459724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087139_17-04-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087194, '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 = 22088250 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': 2729222, 'mtr_portfolio_id': 22088250, 'created_at': datetime.datetime(2025, 4, 17, 5, 59), 'result': '0.03957768674376824', 'result_long': None, 'result_double': None}] Qualite : 0.03957768674376824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22088250 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088250_17-04-2025_05_59_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22088250 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088250_17-04-2025_05_59_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088290, 'pht': 3726}}" where mtr_portfolio_id = 22088250 and dashboard_run_id = 1729449 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`=22088250 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921933, 0.03957768674376824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22088250_17-04-2025_05_59_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088290, '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 = 22089260 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': 2729223, 'mtr_portfolio_id': 22089260, 'created_at': datetime.datetime(2025, 4, 17, 5, 59, 42), 'result': '0.046154913675187176', 'result_long': None, 'result_double': None}] Qualite : 0.046154913675187176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22089260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089260_17-04-2025_05_59_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22089260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089260_17-04-2025_05_59_47.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089295, 'pht': 3726}}" where mtr_portfolio_id = 22089260 and dashboard_run_id = 1729449 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`=22089260 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921934, 0.046154913675187176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22089260_17-04-2025_05_59_47.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22089284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22089285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22089286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22089287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22089288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22089289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22089290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22089291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22089292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22089293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22089294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22089295, '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 = 22091414 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': 2729224, 'mtr_portfolio_id': 22091414, 'created_at': datetime.datetime(2025, 4, 17, 5, 59, 29), 'result': '0.03216320011500226', 'result_long': None, 'result_double': None}] Qualite : 0.03216320011500226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22091414 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091414_17-04-2025_05_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22091414 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091414_17-04-2025_05_59_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091426, 'pht': 3726}}" where mtr_portfolio_id = 22091414 and dashboard_run_id = 1729449 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`=22091414 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921935, 0.03216320011500226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22091414_17-04-2025_05_59_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22091415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22091416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22091417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22091418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22091419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22091420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22091421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22091422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22091423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22091424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22091425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22091426, '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 = 22092176 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': 2729225, 'mtr_portfolio_id': 22092176, 'created_at': datetime.datetime(2025, 4, 17, 5, 59, 59), 'result': '0.04839710447286839', 'result_long': None, 'result_double': None}] Qualite : 0.04839710447286839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22092176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092176_17-04-2025_06_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22092176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092176_17-04-2025_06_00_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092226, 'pht': 3726}}" where mtr_portfolio_id = 22092176 and dashboard_run_id = 1729449 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`=22092176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921936, 0.04839710447286839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22092176_17-04-2025_06_00_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22092215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22092216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22092217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22092218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22092219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22092220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22092221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22092222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22092223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22092224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22092225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22092226, '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 = 22093087 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': 2729226, 'mtr_portfolio_id': 22093087, 'created_at': datetime.datetime(2025, 4, 17, 6, 0, 59), 'result': '0.03377537790876994', 'result_long': None, 'result_double': None}] Qualite : 0.03377537790876994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22093087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093087_17-04-2025_06_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22093087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093087_17-04-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22093144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093146, 'pht': 3726}}" where mtr_portfolio_id = 22093087 and dashboard_run_id = 1729449 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`=22093087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921937, 0.03377537790876994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22093087_17-04-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22093135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22093136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22093137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22093138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22093139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22093140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22093141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22093142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22093143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22093144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22093145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22093146, '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 = 22094049 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': 2729227, 'mtr_portfolio_id': 22094049, 'created_at': datetime.datetime(2025, 4, 17, 6, 1, 29), 'result': '0.046878018539074064', 'result_long': None, 'result_double': None}] Qualite : 0.046878018539074064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22094049 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094049_17-04-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22094049 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094049_17-04-2025_06_01_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094063, 'pht': 3726}}" where mtr_portfolio_id = 22094049 and dashboard_run_id = 1729449 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`=22094049 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921938, 0.046878018539074064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094049_17-04-2025_06_01_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094063, '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 = 22094837 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': 2729228, 'mtr_portfolio_id': 22094837, 'created_at': datetime.datetime(2025, 4, 17, 6, 2), 'result': '0.04947942697096494', 'result_long': None, 'result_double': None}] Qualite : 0.04947942697096494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22094837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094837_17-04-2025_06_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22094837 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094837_17-04-2025_06_02_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094854, 'pht': 3726}}" where mtr_portfolio_id = 22094837 and dashboard_run_id = 1729449 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`=22094837 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921939, 0.04947942697096494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22094837_17-04-2025_06_02_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22094843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22094844, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22094845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22094846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22094847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22094848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22094849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22094850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22094851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22094852, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22094853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22094854, '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 = 22095771 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': 2729229, 'mtr_portfolio_id': 22095771, 'created_at': datetime.datetime(2025, 4, 17, 6, 2, 29), 'result': '0.0438264064035575', 'result_long': None, 'result_double': None}] Qualite : 0.0438264064035575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22095771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095771_17-04-2025_06_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22095771 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095771_17-04-2025_06_02_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095779, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095782, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095784, 'pht': 3726}}" where mtr_portfolio_id = 22095771 and dashboard_run_id = 1729449 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`=22095771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921940, 0.0438264064035575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22095771_17-04-2025_06_02_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22095773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22095774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22095775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22095776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22095777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22095778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22095779, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22095780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22095781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22095782, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22095783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22095784, '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 = 22097466 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': 2729230, 'mtr_portfolio_id': 22097466, 'created_at': datetime.datetime(2025, 4, 17, 6, 3, 30), 'result': '0.04703192494922027', 'result_long': None, 'result_double': None}] Qualite : 0.04703192494922027 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22097466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097466_17-04-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22097466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097466_17-04-2025_06_03_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22097468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097479, 'pht': 3726}}" where mtr_portfolio_id = 22097466 and dashboard_run_id = 1729449 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`=22097466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921941, 0.04703192494922027, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22097466_17-04-2025_06_03_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22097468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22097469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22097470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22097471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22097472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22097473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22097474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22097475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22097476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22097477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22097478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22097479, '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 = 22098075 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': 2729231, 'mtr_portfolio_id': 22098075, 'created_at': datetime.datetime(2025, 4, 17, 6, 4), 'result': '0.04482102077068893', 'result_long': None, 'result_double': None}] Qualite : 0.04482102077068893 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22098075 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098075_17-04-2025_06_04_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22098075 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098075_17-04-2025_06_04_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098128, 'pht': 3726}}" where mtr_portfolio_id = 22098075 and dashboard_run_id = 1729449 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`=22098075 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921942, 0.04482102077068893, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22098075_17-04-2025_06_04_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22098117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22098118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22098119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22098120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22098121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22098122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22098123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22098124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22098125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22098126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22098127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22098128, '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 = 22099130 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': 2729232, 'mtr_portfolio_id': 22099130, 'created_at': datetime.datetime(2025, 4, 17, 6, 4, 30), 'result': '0.04331963698458296', 'result_long': None, 'result_double': None}] Qualite : 0.04331963698458296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22099130 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099130_17-04-2025_06_04_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22099130 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099130_17-04-2025_06_04_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099179, 'pht': 3726}}" where mtr_portfolio_id = 22099130 and dashboard_run_id = 1729449 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`=22099130 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921943, 0.04331963698458296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22099130_17-04-2025_06_04_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22099168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22099169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22099170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22099171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22099172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22099173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22099174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22099175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22099178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22099179, '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 = 22100089 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': 2729233, 'mtr_portfolio_id': 22100089, 'created_at': datetime.datetime(2025, 4, 17, 6, 5, 29), 'result': '0.06151340280707016', 'result_long': None, 'result_double': None}] Qualite : 0.06151340280707016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22100089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100089_17-04-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22100089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100089_17-04-2025_06_05_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100272, 'pht': 3726}}" where mtr_portfolio_id = 22100089 and dashboard_run_id = 1729449 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`=22100089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921944, 0.06151340280707016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22100089_17-04-2025_06_05_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22100261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22100262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22100263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22100264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22100265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22100266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22100267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22100268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22100269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22100270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22100271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22100272, '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 = 22102128 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': 2729234, 'mtr_portfolio_id': 22102128, 'created_at': datetime.datetime(2025, 4, 17, 6, 5, 59), 'result': '0.06512581640408284', 'result_long': None, 'result_double': None}] Qualite : 0.06512581640408284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22102128 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102128_17-04-2025_06_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22102128 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102128_17-04-2025_06_06_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22102196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22102197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22102198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22102199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22102200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22102201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22102202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22102203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22102204, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22102205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22102206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22102207, 'pht': 3726}}" where mtr_portfolio_id = 22102128 and dashboard_run_id = 1729449 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`=22102128 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921945, 0.06512581640408284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102128_17-04-2025_06_06_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22102196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22102197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22102198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22102199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22102200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22102201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22102202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22102203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22102204, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22102205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22102206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22102207, '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 = 22102653 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': 2727815, 'mtr_portfolio_id': 22102653, 'created_at': datetime.datetime(2025, 4, 16, 21, 32, 59), 'result': '0.06785631317968142', 'result_long': None, 'result_double': None}] Qualite : 0.06785631317968142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22102653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102653_16-04-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22102653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102653_16-04-2025_21_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22102654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22102655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22102656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22102657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22102658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22102659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22102660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22102661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22102662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22102663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22102664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22102665, 'pht': 3726}}" where mtr_portfolio_id = 22102653 and dashboard_run_id = 1729449 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`=22102653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921946, 0.06785631317968142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22102653_16-04-2025_21_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22102654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22102655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22102656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22102657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22102658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22102659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22102660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22102661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22102662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22102663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22102664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22102665, '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 = 22103582 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': 2727880, 'mtr_portfolio_id': 22103582, 'created_at': datetime.datetime(2025, 4, 16, 21, 58, 58), 'result': '0.05958496585882836', 'result_long': None, 'result_double': None}] Qualite : 0.05958496585882836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22103582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103582_16-04-2025_21_58_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22103582 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103582_16-04-2025_21_58_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22103587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103596, 'pht': 3726}}" where mtr_portfolio_id = 22103582 and dashboard_run_id = 1729449 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`=22103582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921947, 0.05958496585882836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22103582_16-04-2025_21_58_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22103585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22103586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22103587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22103588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22103589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22103590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22103591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22103592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22103593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22103594, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22103595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22103596, '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 = 22104103 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': 2727976, 'mtr_portfolio_id': 22104103, 'created_at': datetime.datetime(2025, 4, 16, 22, 2, 59), 'result': '0.04317885565795219', 'result_long': None, 'result_double': None}] Qualite : 0.04317885565795219 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22104103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104103_16-04-2025_22_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22104103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104103_16-04-2025_22_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22104109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104110, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104120, 'pht': 3726}}" where mtr_portfolio_id = 22104103 and dashboard_run_id = 1729449 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`=22104103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921948, 0.04317885565795219, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104103_16-04-2025_22_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22104109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104110, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22104112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22104114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22104117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22104120, '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 = 22104991 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': 2728034, 'mtr_portfolio_id': 22104991, 'created_at': datetime.datetime(2025, 4, 16, 22, 20, 59), 'result': '0.03274398576985799', 'result_long': None, 'result_double': None}] Qualite : 0.03274398576985799 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22104991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104991_16-04-2025_22_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22104991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104991_16-04-2025_22_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105003, 'pht': 3726}}" where mtr_portfolio_id = 22104991 and dashboard_run_id = 1729449 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`=22104991 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921949, 0.03274398576985799, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22104991_16-04-2025_22_21_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22104992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22104993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22104994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22104995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22104996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22104997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22104998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22104999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105003, '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 = 22105718 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': 2728056, 'mtr_portfolio_id': 22105718, 'created_at': datetime.datetime(2025, 4, 16, 22, 32, 57), 'result': '0.056745708535982355', 'result_long': None, 'result_double': None}] Qualite : 0.056745708535982355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22105718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105718_16-04-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22105718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105718_16-04-2025_22_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105754, 'pht': 3726}}" where mtr_portfolio_id = 22105718 and dashboard_run_id = 1729449 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`=22105718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921950, 0.056745708535982355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22105718_16-04-2025_22_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22105743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22105744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22105745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22105746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22105747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22105748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22105749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22105750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22105751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22105752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22105753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22105754, '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 = 22106276 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': 2728097, 'mtr_portfolio_id': 22106276, 'created_at': datetime.datetime(2025, 4, 16, 23, 26, 59), 'result': '0.05341129390954747', 'result_long': None, 'result_double': None}] Qualite : 0.05341129390954747 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22106276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106276_16-04-2025_23_27_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22106276 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106276_16-04-2025_23_27_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22106278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106289, 'pht': 3726}}" where mtr_portfolio_id = 22106276 and dashboard_run_id = 1729449 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`=22106276 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921951, 0.05341129390954747, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22106276_16-04-2025_23_27_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22106278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22106279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22106280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22106281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22106282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22106283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22106284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22106285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22106286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22106287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22106288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22106289, '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 = 22108321 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': 2728176, 'mtr_portfolio_id': 22108321, 'created_at': datetime.datetime(2025, 4, 16, 23, 32, 58), 'result': '0.05508435288586992', 'result_long': None, 'result_double': None}] Qualite : 0.05508435288586992 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22108321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108321_16-04-2025_23_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22108321 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108321_16-04-2025_23_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22108324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108327, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108335, 'pht': 3726}}" where mtr_portfolio_id = 22108321 and dashboard_run_id = 1729449 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`=22108321 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921952, 0.05508435288586992, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108321_16-04-2025_23_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22108324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108325, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108327, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108335, '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 = 22108646 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': 2728190, 'mtr_portfolio_id': 22108646, 'created_at': datetime.datetime(2025, 4, 16, 23, 52, 57), 'result': '0.04865907904594725', 'result_long': None, 'result_double': None}] Qualite : 0.04865907904594725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22108646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108646_16-04-2025_23_52_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22108646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108646_16-04-2025_23_52_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108661, 'pht': 3726}}" where mtr_portfolio_id = 22108646 and dashboard_run_id = 1729449 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`=22108646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921953, 0.04865907904594725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22108646_16-04-2025_23_52_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22108650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22108651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22108652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22108653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22108654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22108655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22108656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22108657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22108658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22108659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22108660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22108661, '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 = 22109162 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': 2728231, 'mtr_portfolio_id': 22109162, 'created_at': datetime.datetime(2025, 4, 17, 1, 1, 31), 'result': '0.04341481334846093', 'result_long': None, 'result_double': None}] Qualite : 0.04341481334846093 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22109162 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109162_17-04-2025_01_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22109162 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109162_17-04-2025_01_01_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109176, 'pht': 3726}}" where mtr_portfolio_id = 22109162 and dashboard_run_id = 1729449 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`=22109162 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9921954, 0.04341481334846093, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109162_17-04-2025_01_01_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22109169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109176, '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 (22059117,22059330,22059785,22060293,22060778,22061488,22061745,22061893,22062524,22063272,22063888,22064719,22065434,22066281,22066861,22067534,22068844,22069355,22069943,22070661,22071782,22072222,22072955,22073578,22074294,22074954,22077202,22077619,22078155,22078873,22079577,22080323,22081286,22082283,22082908,22083524,22084373,22085147,22086201,22087139,22088250,22089260,22091414,22092176,22093087,22094049,22094837,22095771,22097466,22098075,22099130,22100089,22102128,22102653,22103582,22104103,22104991,22105718,22106276,22108321,22108646,22109162) result : ((1350160887,), (1350160898,), (1350160902,), (1350160940,), (1350160946,), (1350160951,), (1350161000,), (1350161005,), (1350161010,), (1350161045,), (1350161109,), (1350161115,), (1350161119,), (1350161162,), (1350161167,), (1350161217,), (1350161223,), (1350161370,), (1350161373,), (1350161412,), (1350161466,), (1350161470,), (1350161472,), (1350161474,), (1350161477,), (1350161483,), (1350161520,), (1350161526,), (1350161534,), (1350161541,), (1350161546,), (1350161578,), (1350161630,), (1350161617,), (1350161622,), (1350161627,), (1350161663,), (1350161667,), (1350161671,), (1350161675,), (1350161713,), (1350161716,), (1350161719,), (1350161722,), (1350161726,), (1350161765,), (1350161769,), (1350161771,), (1350161815,), (1350161818,), (1350161881,), (1350161884,), (1350161886,), (1350161889,), (1350161933,), (1350161938,), (1350161940,), (1350161991,), (1350161997,), (1350162001,), (1350162007,), (1350162045,), (1350162049,), (1350162051,), (1350162053,), (1350162055,), (1350162089,), (1350162095,), (1350162101,), (1350162155,), (1350162162,), (1350162170,), (1350162174,), (1350162178,), (1350162184,), (1350162250,), (1350162255,), (1350162260,), (1350162263,), (1350162312,), (1350162319,), (1350162324,), (1350162329,), (1350162333,), (1350162338,), (1350162372,), (1350162374,), (1350162377,), (1350162379,), (1350162381,), (1350162424,), (1350162428,), (1350162455,), (1350162457,), (1350162460,), (1350162549,), (1350162530,), (1350162533,), (1350162539,), (1350162543,), (1350162581,), (1350162584,), (1350162586,), (1350162592,), (1350162599,), (1350162602,), (1350162646,), (1350162650,), (1350162651,), (1350162653,), (1350162707,), (1350162714,), (1350162720,), (1350162721,), (1350162724,), (1350162731,), (1350162762,), (1350162767,), (1350162771,), (1350162775,), (1350162779,), (1350162813,), (1350162818,), (1350162829,), (1350162834,), (1350162838,), (1350162842,), (1350162871,), (1350162876,), (1350162883,), (1350162885,), (1350162938,), (1350162943,), (1350162944,), (1350162945,), (1350162947,), (1350162950,), (1350162986,), (1350162989,), (1350162992,), (1350162995,), (1350162997,), (1350163035,), (1350163041,), (1350163045,), (1350163049,), (1350163054,), (1350163059,), (1350163106,), (1350163110,), (1350163114,), (1350163118,), (1350163165,), (1350163170,), (1350163175,), (1350163179,), (1350163183,), (1350163186,), (1350163230,), (1350163235,), (1350163238,), (1350163241,), (1350163284,), (1350163290,), (1350163298,), (1350163306,), (1350163310,), (1350163378,), (1350163389,), (1350163395,), (1350163399,), (1350163405,), (1350163481,), (1350163455,), (1350163465,), (1350163475,), (1350163514,), (1350163520,), (1350163524,), (1350163530,), (1350163536,), (1350163541,), (1350163592,), (1350163594,), (1350163595,), (1350163596,), (1350163651,), (1350163654,), (1350163656,), (1350163659,), (1350163662,), (1350163666,), (1350163711,), (1350163715,), (1350163718,), (1350163721,), (1350163724,), (1350163781,), (1350163783,), (1350163786,), (1350163790,), (1350163793,), (1350163797,), (1350163843,), (1350163847,), (1350163849,), (1350163854,), (1350163905,), (1350163910,), (1350163916,), (1350163920,), (1350163926,), (1350163931,), (1350164099,), (1350164106,), (1350164112,), (1350164118,), (1350164125,), (1350164161,), (1350164168,), (1350164172,), (1350164176,), (1350164182,), (1350164188,), (1350164228,), (1350164235,), (1350164242,), (1350164246,), (1350164278,), (1350164284,), (1350164289,), (1350164294,), (1350164307,), (1350164313,), (1350164345,), (1350164350,), (1350164379,), (1350164861,), (1350164866,), (1350165251,), (1350165168,), (1350165195,), (1350165210,), (1350165236,), (1350165464,), (1350165490,), (1350165515,), (1350165542,), (1350165571,), (1350165843,), (1350165865,), (1350165890,), (1350165917,), (1350165943,), (1350165971,), (1350166207,), (1350166236,), (1350166262,), (1350166606,), (1350166632,), (1350166651,), (1350166653,), (1350166657,), (1350166692,), (1350166714,), (1350166742,), (1350166769,), (1350166797,), (1350166823,), (1350167013,), (1350167037,), (1350167042,), (1350167045,), (1350167163,), (1350167169,), (1350167173,), (1350167175,), (1350167179,), (1350167182,), (1350167240,), (1350167243,), (1350167310,), (1350167315,), (1350167317,), (1350167319,), (1350167391,), (1350167394,), (1350167396,), (1350167400,), (1350167466,), (1350167548,), (1350167716,), (1350167723,), (1350167727,), (1350167780,), (1350167784,), (1350167787,), (1350167789,), (1350167832,), (1350168809,), (1350168782,), (1350168784,), (1350168787,), (1350168952,), (1350168962,), (1350168979,), (1350168987,), (1350168990,), (1350168993,), (1350169029,), (1350169032,), (1350169033,), (1350169341,), (1350169335,), (1350169727,), (1350169732,), (1350169772,), (1350169778,), (1350169865,), (1350169870,), (1350169906,), (1350169912,), (1350169918,), (1350169923,), (1350169928,), (1350169941,), (1350170012,), (1350170017,), (1350170020,), (1350170023,), (1350170028,), (1350170059,), (1350170065,), (1350170071,), (1350170076,), (1350170112,), (1350170119,), (1350170123,), (1350170127,), (1350170132,), (1350170134,), (1350170166,), (1350170172,), (1350170178,), (1350170181,), (1350170232,), (1350170215,), (1350170220,), (1350170222,), (1350170225,), (1350170228,), (1350170264,), (1350170266,), (1350170268,), (1350170270,), (1350170272,), (1350170315,), (1350170320,), (1350170325,), (1350170336,), (1350170349,), (1350170354,), (1350170396,), (1350170399,), (1350170402,), (1350170404,), (1350170463,), (1350170471,), (1350170477,), (1350170480,), (1350170500,), (1350170554,), (1350170559,), (1350170562,), (1350170565,), (1350170568,), (1350170599,), (1350170604,), (1350170609,), (1350170613,), (1350170784,), (1350170789,), (1350170792,), (1350170795,), (1350170797,), (1350170801,), (1350170835,), (1350170864,), (1350170869,), (1350170873,), (1350170918,), (1350170920,), (1350170923,), (1350170926,), (1350170928,), (1350170933,), (1350170976,), (1350170982,), (1350170987,), (1350170991,), (1350170994,), (1350171033,), (1350171037,), (1350171041,), (1350171046,), (1350171050,), (1350171053,), (1350171091,), (1350171099,), (1350171104,), (1350171107,), (1350171264,), (1350171291,), (1350171320,), (1350171346,), (1350171381,), (1350171417,), (1350171496,), (1350171518,), (1350171547,), (1350171577,), (1350171610,), (1350171897,), (1350171707,), (1350171764,), (1350171809,), (1350171854,), (1350172212,), (1350172236,), (1350172261,), (1350172288,), (1350172321,), (1350172360,), (1350172632,), (1350172680,), (1350173309,), (1350173335,), (1350173867,), (1350173896,), (1350174013,), (1350174018,), (1350174023,), (1350174046,), (1350174204,), (1350174208,), (1350174210,), (1350174219,), (1350174224,), (1350174228,), (1350174265,), (1350174274,), (1350174279,), (1350174283,), (1350174320,), (1350174344,), (1350174349,), (1350174357,), (1350174365,), (1350174385,), (1350174589,), (1350174594,), (1350174616,), (1350174643,), (1350174672,), (1350174791,), (1350174794,), (1350174797,), (1350174799,), (1350174801,), (1350174810,), (1350174939,), (1350174951,), (1350174956,), (1350174961,), (1350174964,), (1350175009,), (1350175033,), (1350175036,), (1350175039,), (1350175041,), (1350175370,), (1350175374,), (1350175377,), (1350175389,), (1350175415,), (1350175666,), (1350175567,), (1350175611,), (1350175638,), (1350175839,), (1350175920,), (1350175952,), (1350175982,), (1350176019,), (1350176033,), (1350176211,), (1350176218,), (1350176227,), (1350176262,), (1350176689,), (1350176721,), (1350176726,), (1350176756,), (1350176759,), (1350176761,), (1350176954,), (1350176958,), (1350176964,), (1350176970,), (1350176979,), (1350177093,), (1350177111,), (1350177119,), (1350177132,), (1350177201,), (1350177211,), (1350177225,), (1350177232,), (1350177235,), (1350177239,), (1350177376,), (1350177400,), (1350177407,), (1350177444,), (1350177448,), (1350177580,), (1350177585,), (1350177589,), (1350177593,), (1350177600,), (1350177604,), (1350177813,), (1350177824,), (1350177830,), (1350178114,), (1350178123,), (1350178128,), (1350178132,), (1350178136,), (1350178138,), (1350178433,), (1350178458,), (1350178484,), (1350178496,), (1350178545,), (1350178550,), (1350178556,), (1350178560,), (1350178565,), (1350178569,), (1350178609,), (1350178613,), (1350178617,), (1350178620,), (1350178683,), (1350178690,), (1350178694,), (1350178697,), (1350178701,), (1350178705,), (1350178767,), (1350178738,), (1350178745,), (1350178758,), (1350178761,), (1350178856,), (1350178862,), (1350178886,), (1350178912,), (1350179071,), (1350179090,), (1350179100,), (1350179107,), (1350179125,), (1350179158,), (1350179373,), (1350179398,), (1350179429,), (1350179445,), (1350179462,), (1350179590,), (1350179595,), (1350179602,), (1350179610,), (1350179810,), (1350179814,), (1350179819,), (1350179824,), (1350179829,), (1350179834,), (1350179870,), (1350179876,), (1350179884,), (1350179888,), (1350179892,), (1350179932,), (1350179942,), (1350179950,), (1350179963,), (1350179976,), (1350179980,), (1350180020,), (1350180024,), (1350180029,), (1350180077,), (1350180084,), (1350180093,), (1350180098,), (1350180104,), (1350180109,), (1350180142,), (1350180148,), (1350180156,), (1350180163,), (1350180168,), (1350180197,), (1350180203,), (1350180209,), (1350180222,), (1350180238,), (1350180251,), (1350180363,), (1350180374,), (1350180386,), (1350180391,), (1350180423,), (1350180475,), (1350180482,), (1350180494,), (1350180509,), (1350180515,), (1350180519,), (1350180557,), (1350180562,), (1350180568,), (1350180574,), (1350180581,), (1350180587,), (1350180665,), (1350180632,), (1350180638,), (1350180649,), (1350180654,), (1350180756,), (1350180775,), (1350180781,), (1350180785,), (1350180791,), (1350180826,), (1350180833,), (1350180931,), (1350180997,), (1350181119,), (1350181127,), (1350181132,), (1350181135,), (1350181197,), (1350181215,), (1350181331,), (1350181338,), (1350181343,), (1350181458,), (1350181470,), (1350181507,), (1350181543,), (1350181567,), (1350181581,), (1350181705,), (1350181714,), (1350181718,), (1350181722,), (1350181786,), (1350181792,), (1350181796,), (1350181801,), (1350181805,), (1350181808,), (1350181837,), (1350181844,), (1350181856,), (1350181860,), (1350181872,), (1350181933,), (1350181937,), (1350181941,), (1350181945,), (1350181949,), (1350181954,), (1350182001,), (1350182008,), (1350182023,), (1350182072,), (1350182090,), (1350182098,), (1350182103,), (1350182107,), (1350182112,), (1350182190,), (1350182218,), (1350182243,), (1350182293,), (1350182774,), (1350182781,), (1350182790,), (1350182799,), (1350182814,), (1350182818,), (1350182869,), (1350182850,), (1350182854,), (1350182861,), (1350182865,), (1350182895,), (1350182904,), (1350182916,), (1350182925,), (1350182930,), (1350182935,), (1350183027,), (1350183032,), (1350183040,), (1350183055,), (1350183093,), (1350183099,), (1350183111,), (1350183117,), (1350183122,), (1350183265,), (1350184477,), (1350184482,), (1350184485,), (1350184489,), (1350184800,), (1350184804,), (1350184849,), (1350184854,), (1350184859,), (1350184926,), (1350184969,), (1350184979,), (1350184984,), (1350184990,), (1350185277,), (1350185285,), (1350185290,), (1350185295,), (1350185298,), (1350185303,), (1350185355,), (1350185361,), (1350185366,), (1350185544,), (1350185571,), (1350185600,), (1350185627,), (1350185672,), (1350185702,), (1350185871,), (1350185907,), (1350185937,), (1350185953,), (1350186006,), (1350186011,), (1350186015,), (1350186024,), (1350186030,), (1350186036,), (1350186150,), (1350186155,), (1350186160,), (1350186166,), (1350186176,), (1350186247,), (1350186253,), (1350186257,), (1350186260,), (1350186351,), (1350186366,), (1350186375,), (1350186621,), (1350186548,), (1350186552,), (1350186555,), (1350186570,), (1350186596,), (1350186753,), (1350187208,), (1350187238,), (1350187472,), (1350187474,), (1350187489,), (1350187647,), (1350187674,), (1350187677,), (1350187721,), (1350187732,), (1350187740,), (1350187751,), (1350187754,), (1350187759,), (1350187793,), (1350187798,), (1350187803,), (1350187809,), (1350187815,), (1350187822,), (1350187906,), (1350187909,), (1350187912,), (1350187916,), (1350187957,), (1350187961,), (1350187966,), (1350187969,), (1350187974,), (1350188046,), (1350188051,), (1350188055,), (1350188060,), (1350188299,), (1350188315,), (1350188320,), (1350188322,), (1350188326,), (1350188329,), (1350188360,), (1350188366,), (1350188372,), (1350188378,), (1350188432,), (1350188443,), (1350188523,), (1350188625,), (1350189000,), (1350189029,), (1350189034,), (1350189043,), (1350189047,), (1350189056,), (1350189207,), (1350189135,), (1350189168,), (1350189181,), (1350189287,), (1350189292,), (1350189296,), (1350189299,), (1350189302,), (1350189308,), (1350189350,), (1350189355,), (1350189360,), (1350189366,), (1350189370,), (1350189436,), (1350189440,), (1350189444,), (1350189449,), (1350189454,), (1350189490,), (1350189496,), (1350189500,), (1350189504,), (1350189599,), (1350189612,), (1350189625,), (1350189633,), (1350189639,), (1350189640,), (1350189748,), (1350189751,), (1350190780,), (1350193111,), (1350193082,), (1350193512,), (1350193542,), (1350193565,), (1350193587,), (1350193615,), (1350193629,), (1350193783,), (1350193926,), (1350193929,), (1350193942,), (1350193969,), (1350194273,), (1350194301,), (1350194330,), (1350194361,), (1350194388,), (1350194415,), (1350194697,), (1350194722,), (1350194749,), (1350194783,), (1350194854,), (1350194878,), (1350194891,), (1350194908,), (1350194921,), (1350194926,), (1350195033,), (1350195039,), (1350195043,), (1350195092,), (1350195099,), (1350195108,), (1350195112,), (1350195660,), (1350195730,), (1350195814,), (1350195891,), (1350195965,), (1350196058,), (1350196290,), (1350196318,), (1350196344,), (1350196369,), (1350196546,), (1350203740,), (1350203766,), (1350203789,), (1350203898,), (1350203908,), (1350203912,), (1350203933,), (1350203948,), (1350204005,), (1350204013,), (1350204017,), (1350204020,), (1350204023,), (1350204054,), (1350204076,), (1350204082,), (1350204086,), (1350204091,), (1350204480,), (1350204506,), (1350204541,), (1350204572,), (1350204599,), (1350204966,), (1350204990,), (1350205039,), (1350205064,), (1350205069,), (1350205091,), (1350205255,), (1350205300,), (1350205329,), (1350205730,), (1350205741,), (1350205756,), (1350205770,), (1350205781,), (1350205799,), (1350205993,), (1350206029,), (1350206041,), (1350206069,), (1350206100,), (1350206116,), (1350206391,), (1350206411,), (1350206419,), (1350206427,), (1350206444,), (1350206758,), (1350206864,), (1350206916,), (1350206947,), (1350207044,), (1350207082,), (1350207194,), (1350207200,), (1350207208,), (1350207223,), (1350207542,), (1350207523,), (1350207528,), (1350207531,), (1350207533,), (1350207539,), (1350207704,), (1350207723,), (1350207746,), (1350207770,), (1350207775,), (1350208092,), (1350208188,), (1350208207,), (1350208401,), (1350208405,), (1350208407,), (1350208409,), (1350208416,), (1350208421,), (1350208467,), (1350208475,), (1350208481,), (1350208488,), (1350208496,), (1350208509,), (1350208600,), (1350208606,), (1350208613,), (1350208616,), (1350208708,), (1350208716,), (1350208722,), (1350208727,), (1350208800,), (1350208809,), (1350208816,), (1350208878,), (1350208886,), (1350208891,), (1350208896,), (1350208902,), (1350208907,), (1350208934,), (1350208939,), (1350208946,), (1350208953,), (1350208960,), (1350209140,), (1350209148,), (1350209153,), (1350209158,), (1350209165,), (1350209195,), (1350209200,), (1350209204,), (1350209207,), (1350209213,), (1350209265,), (1350209270,), (1350209275,), (1350209280,), (1350209389,), (1350209395,), (1350209404,), (1350209412,), (1350209420,), (1350209813,), (1350209695,), (1350209752,), (1350210393,), (1350210434,), (1350210478,), (1350210509,), (1350210550,), (1350210575,), (1350210808,), (1350210843,), (1350210886,), (1350211311,), (1350211358,), (1350211400,), (1350211436,), (1350211488,), (1350211538,), (1350212402,), (1350212446,), (1350212489,), (1350212538,), (1350212585,), (1350213437,), (1350213488,), (1350213540,), (1350213577,), (1350214181,), (1350214224,), (1350214279,), (1350214343,), (1350214394,), (1350214470,), (1350215094,), (1350215169,), (1350215226,), (1350215273,), (1350215886,), (1350215889,), (1350215892,), (1350215896,), (1350215901,), (1350216050,), (1350216072,), (1350216106,), (1350216160,), (1350216566,), (1350216592,), (1350216621,), (1350216630,), (1350216660,), (1350216906,), (1350216938,), (1350216967,), (1350216993,), (1350217123,), (1350217127,), (1350217130,), (1350217136,), (1350217162,), (1350217400,), (1350217440,), (1350217470,), (1350217497,), (1350217653,), (1350217659,), (1350217665,), (1350217672,), (1350217678,), (1350217681,), (1350217752,), (1350217730,), (1350217735,), (1350217741,), (1350217746,), (1350217793,), (1350217798,), (1350217802,), (1350217806,), (1350217812,), (1350217816,), (1350217861,), (1350217867,), (1350217873,), (1350218068,), (1350218072,), (1350218077,), (1350218082,), (1350218087,), (1350218090,), (1350218118,), (1350218123,), (1350218139,), (1350218147,), (1350218151,), (1350218299,), (1350218312,), (1350218324,), (1350218336,), (1350218343,), (1350218408,), (1350218414,), (1350218418,), (1350218422,), (1350218427,), (1350218437,), (1350218471,), (1350218473,), (1350218477,), (1350218481,), (1350218544,), (1350218548,), (1350218552,), (1350218571,), (1350218573,), (1350218578,), (1350218619,), (1350218624,), (1350218628,), (1350218632,), (1350218697,), (1350218704,), (1350218714,), (1350218719,), (1350218728,), (1350218809,), (1350218812,), (1350218815,), (1350218856,), (1350218861,), (1350218866,), (1350218871,), (1350218917,), (1350218921,), (1350218982,), (1350218986,), (1350221169,), (1350221232,), (1350221263,), (1350221338,), (1350221458,), (1350221462,), (1350221584,), (1350221638,), (1350221647,), (1350221728,), (1350221731,), (1350221736,), (1350221746,), (1350221750,), (1350221754,), (1350221861,), (1350221865,), (1350221870,), (1350221875,), (1350221877,), (1350221924,), (1350221928,), (1350221930,), (1350221934,), (1350221967,), (1350221973,), (1350222043,), (1350222056,), (1350222065,), (1350222092,), (1350222686,), (1350222690,), (1350222700,), (1350222710,), (1350222731,), (1350222746,), (1350222775,), (1350222807,), (1350222844,), (1350223126,), (1350223002,), (1350223053,), (1350223083,), (1350223492,), (1350223523,), (1350223557,), (1350223588,), (1350223631,), (1350223665,), (1350223921,), (1350223982,), (1350224015,), (1350224052,), (1350224338,), (1350224345,), (1350224351,), (1350224357,), (1350224362,), (1350224368,), (1350224810,), (1350224870,), (1350224923,), (1350224982,), (1350225557,), (1350225600,), (1350225632,), (1350225668,), (1350225725,), (1350225780,), (1350226098,), (1350226129,), (1350226224,), (1350226326,), (1350226393,), (1350226770,), (1350226780,), (1350226790,), (1350226794,), (1350226799,), (1350226853,), (1350226887,), (1350226918,), (1350226944,), (1350226973,), (1350227001,), (1350227245,), (1350227319,), (1350227326,), (1350227333,), (1350227685,), (1350227713,), (1350227718,), (1350227733,), (1350227758,), (1350227778,), (1350227881,), (1350227909,), (1350227939,), (1350227948,), (1350227976,), (1350228173,), (1350228185,), (1350228189,), (1350228193,), (1350228198,), (1350228202,), (1350228253,), (1350228257,), (1350228261,), (1350228264,), (1350228309,), (1350228314,), (1350228317,), (1350228319,), (1350228322,), (1350228326,), (1350228380,), (1350228367,), (1350228370,), (1350228376,), (1350228422,), (1350228426,), (1350228435,), (1350228437,), (1350228438,), (1350228449,), (1350228506,), (1350228510,), (1350228514,), (1350228518,), (1350228620,), (1350228626,), (1350228640,), (1350228643,), (1350228648,), (1350228652,), (1350228805,), (1350228808,), (1350228812,), (1350228816,), (1350228893,), (1350228901,), (1350228906,), (1350228909,), (1350228914,), (1350228918,), (1350228950,), (1350228955,), (1350228960,), (1350228964,), (1350229023,), (1350229029,), (1350229034,), (1350229040,), (1350229046,), (1350229049,), (1350229125,), (1350229131,), (1350229136,), (1350229147,), (1350229199,), (1350229203,), (1350229207,), (1350229212,), (1350229217,), (1350229222,), (1350229285,), (1350229291,), (1350229303,), (1350229307,), (1350229347,), (1350229349,), (1350229496,), (1350229499,), (1350229515,), (1350229522,), (1350229610,), (1350229615,), (1350229628,), (1350229639,), (1350229643,), (1350229677,), (1350229680,), (1350229682,), (1350229685,), (1350229688,), (1350229732,), (1350229740,), (1350229745,), (1350229748,), (1350229753,), (1350229867,), (1350229827,), (1350229832,), (1350229837,), (1350229862,), (1350229931,), (1350229935,), (1350229937,), (1350229942,), (1350229994,), (1350229998,), (1350230002,), (1350230005,), (1350230009,), (1350230018,), (1350230084,), (1350230088,), (1350230092,), (1350230094,), (1350230197,), (1350230202,), (1350230229,), (1350230233,), (1350230235,), (1350230359,), (1350230365,), (1350230372,), (1350230623,), (1350230896,), (1350231183,), (1350231189,), (1350231195,), (1350231199,), (1350231202,), (1350231204,), (1350231274,), (1350231279,), (1350231281,), (1350231282,), (1350231339,), (1350231357,), (1350231369,), (1350231403,), (1350231415,), (1350231418,), (1350231595,), (1350231603,), (1350231642,), (1350232185,), (1350232189,), (1350232193,), (1350232198,), (1350232207,), (1350232225,), (1350232357,), (1350232360,), (1350232364,), (1350232368,), (1350232373,), (1350232378,), (1350232444,), (1350232422,), (1350232434,), (1350232440,), (1350232631,), (1350232643,), (1350232648,), (1350232669,), (1350232685,), (1350232688,), (1350232774,), (1350232782,), (1350232791,), (1350232801,), (1350232806,), (1350233062,), (1350233076,), (1350233097,), (1350233131,), (1350233145,), (1350233196,), (1350233204,), (1350233210,), (1350233217,), (1350233223,), (1350233289,), (1350233298,), (1350233314,), (1350233875,), (1350233896,), (1350233900,), (1350233909,), (1350233965,), (1350233969,), (1350234025,), (1350234030,), (1350234035,), (1350234052,), (1350234120,), (1350234126,), (1350234129,), (1350234133,), (1350234137,), (1350234232,), (1350234240,), (1350234246,), (1350234253,), (1350234259,), (1350234293,), (1350234297,), (1350234301,), (1350234306,), (1350234313,), (1350234316,), (1350234345,), (1350234351,), (1350234354,), (1350234359,), (1350234365,), (1350234369,), (1350234406,), (1350234414,), (1350234482,), (1350234512,), (1350234539,), (1350235261,), (1350235271,), (1350235292,), (1350235364,), (1350235433,), (1350235489,), (1350235661,), (1350235714,), (1350235783,), (1350235815,), (1350236180,), (1350235975,), (1350236020,), (1350236062,), (1350236099,), (1350236147,), (1350236586,), (1350236650,), (1350238000,), (1350238599,), (1350241109,), (1350248851,), (1350262728,), (1350263127,), (1350263132,), (1350263136,), (1350263239,), (1350263248,), (1350263256,), (1350263267,), (1350263268,), (1350263288,), (1350263329,), (1350263336,), (1350263341,), (1350263345,), (1350263349,), (1350263393,), (1350263397,), (1350263401,), (1350263405,), (1350263409,), (1350263412,), (1350263485,), (1350263512,), (1350263539,), (1350263565,), (1350263586,), (1350263590,), (1350263658,), (1350263689,), (1350263719,), (1350263755,), (1350264143,), (1350264177,), (1350264224,), (1350264254,), (1350264290,), (1350264319,), (1350264536,), (1350264545,), (1350264550,), (1350264554,), (1350264571,), (1350264599,), (1350264759,), (1350264765,), (1350264770,), (1350264774,), (1350264833,), (1350264838,), (1350264847,), (1350264851,), (1350264855,), (1350264929,), (1350264910,), (1350264917,), (1350264922,), (1350264925,), (1350265005,), (1350265014,), (1350265063,), (1350265067,), (1350265071,), (1350265074,), (1350265077,), (1350265083,), (1350265118,), (1350265125,), (1350265130,), (1350265195,), (1350265203,), (1350265208,), (1350265212,), (1350265254,), (1350265263,), (1350265272,), (1350265320,), (1350265325,), (1350265329,), (1350265335,), (1350265377,), (1350265385,), (1350265389,), (1350265573,), (1350265580,), (1350265585,), (1350265590,), (1350265593,), (1350265597,), (1350265631,), (1350265635,), (1350265639,), (1350265674,), (1350265695,), (1350265727,), (1350266349,), (1350266356,), (1350266363,), (1350266366,), (1350266642,), (1350266698,), (1350266764,), (1350266826,), (1350266889,), (1350266957,), (1350267179,), (1350267238,), (1350267339,), (1350267392,), (1350267723,), (1350267611,), (1350267669,), (1350268235,), (1350268269,), (1350268300,), (1350268331,), (1350268363,), (1350268444,), (1350268451,), (1350268455,), (1350268460,), (1350268855,), (1350268912,), (1350268973,), (1350269029,), (1350269083,), (1350269140,), (1350269464,), (1350269505,), (1350269559,), (1350269587,), (1350269904,), (1350269909,), (1350269920,), (1350270773,), (1350270778,), (1350271268,), (1350271273,), (1350271329,), (1350271333,), (1350271336,), (1350271340,), (1350271378,), (1350271402,), (1350271422,), (1350271426,), (1350271445,), (1350271477,), (1350271725,), (1350271758,), (1350271788,), (1350272284,), (1350272329,), (1350272358,), (1350272387,), (1350272418,), (1350272466,), (1350273071,), (1350272875,), (1350272929,), (1350272986,), (1350273037,), (1350273384,), (1350273396,), (1350273401,), (1350273416,), (1350273698,), (1350273729,), (1350273768,), (1350273962,), (1350273997,), (1350274048,), (1350274377,), (1350274404,), (1350274447,), (1350274508,), (1350274573,), (1350274862,), (1350274867,), (1350274873,), (1350274878,), (1350274882,), (1350274887,), (1350274925,), (1350274933,), (1350274937,), (1350274940,), (1350274987,), (1350274991,), (1350274995,), (1350275002,), (1350275006,), (1350275036,), (1350275042,), (1350275050,), (1350275054,), (1350275057,), (1350275102,), (1350275106,), (1350275114,), (1350275120,), (1350275179,), (1350275182,), (1350275188,), (1350275193,), (1350275199,), (1350275204,), (1350275292,), (1350275312,), (1350275318,), (1350275323,), (1350275361,), (1350275365,), (1350275368,), (1350275371,), (1350275376,), (1350275382,), (1350275421,), (1350275427,), (1350275433,), (1350275437,), (1350275441,), (1350275446,), (1350275488,), (1350275493,), (1350275496,), (1350275500,), (1350275597,), (1350275569,), (1350275583,), (1350275588,), (1350275593,), (1350275631,), (1350275635,), (1350275639,), (1350275643,), (1350275651,), (1350275693,), (1350275697,), (1350275702,), (1350275706,), (1350275710,), (1350275768,), (1350275775,), (1350275779,), (1350275923,), (1350275951,), (1350275984,), (1350276019,), (1350276023,), (1350276026,), (1350276402,), (1350276409,), (1350276422,), (1350276432,), (1350276443,), (1350276481,), (1350276869,), (1350276919,), (1350276964,), (1350277000,), (1350277493,), (1350277524,), (1350277577,), (1350277639,), (1350278141,), (1350279009,), (1350279015,), (1350279020,), (1350279028,), (1350279083,), (1350279107,), (1350279139,), (1350279168,), (1350279199,), (1350279620,), (1350279654,), (1350279958,), (1350279987,), (1350280017,), (1350280048,), (1350280278,), (1350280307,), (1350280366,), (1350280430,), (1350280490,), (1350281019,), (1350281049,), (1350281085,), (1350281115,), (1350281184,), (1350281175,), (1350281179,), (1350281479,), (1350281533,), (1350281561,), (1350281586,), (1350281617,), (1350281647,), (1350282268,), (1350282349,), (1350282417,), (1350282470,), (1350282520,), (1350282705,), (1350282707,), (1350282710,), (1350282713,), (1350283142,), (1350283228,), (1350283308,), (1350283361,), (1350283395,), (1350283772,), (1350283803,), (1350283835,), (1350283862,), (1350284412,), (1350284444,), (1350284478,), (1350284918,), (1350284971,), (1350285133,), (1350285204,), (1350285282,), (1350285874,), (1350285916,), (1350285967,), (1350286182,), (1350286595,), (1350286656,), (1350286708,), (1350286792,), (1350286900,), (1350287013,), (1350287016,), (1350287021,), (1350287026,), (1350287030,), (1350287048,), (1350287447,), (1350287509,), (1350287567,), (1350287626,), (1350287685,), (1350287734,), (1350288705,), (1350288762,), (1350288888,), (1350288947,), (1350289009,), (1350289073,), (1350290320,), (1350289919,), (1350289987,), (1350290045,), (1350290118,), (1350290218,), (1350291381,), (1350291479,), (1350291541,), (1350292087,), (1350292156,), (1350292232,), (1350292326,), (1350293782,), (1350293910,), (1350294032,), (1350294182,), (1350294301,), (1350295095,), (1350295172,), (1350295264,), (1350295320,), (1350296025,), (1350296052,), (1350296089,), (1350296100,), (1350296154,), (1350296161,), (1350296165,), (1350296170,), (1350296263,), (1350296268,), (1350296293,), (1350296343,), (1350296647,), (1350296675,), (1350296700,), (1350296705,), (1350296828,), (1350296836,), (1350296852,), (1350297072,), (1350297078,), (1350297082,), (1350297085,), (1350297156,), (1350297162,), (1350297171,), (1350297177,), (1350297199,), (1350297253,), (1350297258,), (1350297263,), (1350297267,), (1350297271,), (1350297312,), (1350297322,), (1350297330,), (1350297509,), (1350297524,), (1350297673,), (1350298077,), (1350297913,), (1350297945,), (1350297976,), (1350297999,), (1350298006,), (1350298161,), (1350298165,), (1350298171,), (1350298175,), (1350298324,), (1350298328,), (1350298362,), (1350298376,), (1350298386,), (1350298469,), (1350298476,), (1350298483,), (1350298511,), (1350298519,), (1350298557,), (1350298562,), (1350298784,), (1350298789,), (1350298795,), (1350298801,), (1350298806,), (1350298835,), (1350298841,), (1350298846,), (1350298860,), (1350298866,), (1350298871,), (1350298903,), (1350298909,), (1350298913,), (1350298916,), (1350298963,), (1350298969,), (1350298975,), (1350299018,), (1350299022,), (1350299030,), (1350299037,), (1350299045,), (1350299276,), (1350299289,), (1350299325,), (1350299409,), (1350299414,), (1350299418,), (1350299422,), (1350299427,), (1350299432,), (1350299465,), (1350299470,), (1350299476,), (1350299480,), (1350299536,), (1350299542,), (1350299545,), (1350299598,), (1350299602,), (1350299605,), (1350299608,), (1350299611,), (1350299614,), (1350299681,), (1350299665,), (1350299675,), (1350299678,), (1350299726,), (1350299730,), (1350300093,), (1350300096,), (1350300100,), (1350300103,), (1350300111,), (1350300157,), (1350300162,), (1350300163,), (1350300170,), (1350300175,), (1350300182,), (1350300237,), (1350300242,), (1350300248,), (1350300253,), (1350300315,), (1350300320,), (1350300325,), (1350300329,), (1350300335,), (1350300337,), (1350300401,), (1350300403,), (1350300406,), (1350300408,), (1350300421,), (1350300453,), (1350300611,), (1350300615,), (1350300629,), (1350300633,), (1350301099,), (1350301110,), (1350301113,), (1350301130,), (1350301133,), (1350301251,), (1350301257,), (1350301262,), (1350301266,), (1350301267,), (1350301270,), (1350301324,), (1350301332,), (1350301347,), (1350301438,), (1350301457,), (1350301465,), (1350301479,), (1350301625,), (1350301669,), (1350301710,), (1350301759,), (1350301775,), (1350301782,), (1350301848,), (1350301933,), (1350301959,), (1350301979,), (1350302033,), (1350302035,), (1350302037,), (1350302040,), (1350302176,), (1350302124,), (1350302129,), (1350302159,), (1350302167,), (1350302171,), (1350302374,), (1350302416,), (1350302428,), (1350302434,), (1350302650,), (1350302655,), (1350302659,), (1350302708,), (1350303003,), (1350303013,), (1350303022,), (1350303026,), (1350303028,), (1350303195,), (1350303262,), (1350303306,), (1350303334,), (1350303360,), (1350303369,), (1350303422,), (1350303425,), (1350303427,), (1350303429,), (1350303432,), (1350303477,), (1350303489,), (1350303550,), (1350303553,), (1350303555,), (1350303556,), (1350303557,), (1350303610,), (1350303614,), (1350303623,), (1350303636,), (1350303681,), (1350303686,), (1350303689,), (1350303690,), (1350303756,), (1350303763,), (1350303768,), (1350303810,), (1350303815,), (1350303819,), (1350303824,), (1350303828,), (1350303968,), (1350303983,), (1350304000,), (1350304908,), (1350304940,), (1350304976,), (1350305008,), (1350305100,), (1350305127,), (1350305149,), (1350305166,), (1350305382,), (1350305362,), (1350305753,), (1350305781,), (1350305817,), (1350306220,), (1350306252,), (1350306277,), (1350306303,), (1350306330,), (1350306378,), (1350306382,), (1350306386,), (1350306409,), (1350306703,), (1350306715,), (1350306717,), (1350306862,), (1350306886,), (1350306889,), (1350306892,), (1350306896,), (1350307407,), (1350307434,), (1350307472,), (1350307520,), (1350307548,), (1350307732,), (1350307760,), (1350307789,), (1350307806,), (1350307818,), (1350307925,), (1350307928,), (1350307938,), (1350308422,), (1350308456,), (1350308489,), (1350308514,), (1350308812,), (1350308837,), (1350308871,), (1350308875,), (1350308879,), (1350309044,), (1350309049,), (1350309054,), (1350309111,), (1350309143,), (1350309170,), (1350309194,), (1350309220,), (1350309255,), (1350309622,), (1350309666,), (1350309702,), (1350309736,), (1350309790,), (1350309839,), (1350310383,), (1350310415,), (1350310440,), (1350310878,), (1350310790,), (1350310832,), (1350310863,), (1350310875,), (1350311255,), (1350311258,), (1350311272,), (1350311302,), (1350311337,), (1350311368,), (1350311795,), (1350311824,), (1350311862,), (1350311919,), (1350311960,), (1350312142,), (1350312145,), (1350312163,), (1350312188,), (1350312195,), (1350312373,), (1350312380,), (1350312386,), (1350312392,), (1350312396,), (1350312451,), (1350312453,), (1350312456,), (1350313592,), (1350313676,), (1350313683,), (1350313906,), (1350313960,), (1350314016,), (1350314066,), (1350314599,), (1350314645,), (1350314700,), (1350314757,), (1350314811,), (1350314877,), (1350315427,), (1350315483,), (1350315500,), (1350315506,), (1350315520,), (1350315773,), (1350315810,), (1350315840,), (1350316725,), (1350316498,), (1350316563,), (1350316663,), (1350317196,), (1350317336,), (1350317411,), (1350317489,), (1350317576,), (1350317653,), (1350318327,), (1350318379,), (1350318441,), (1350318517,), (1350319569,), (1350319649,), (1350319708,), (1350319750,), (1350319813,), (1350320152,), (1350320222,), (1350320322,), (1350320432,), (1350320535,), (1350320935,), (1350320939,), (1350320944,), (1350320956,), (1350321340,), (1350321380,), (1350321429,), (1350321460,), (1350321586,), (1350321590,), (1350321593,), (1350321597,), (1350321602,), (1350321737,), (1350321771,), (1350321803,), (1350321835,), (1350321902,), (1350321906,), (1350321910,), (1350321915,), (1350321958,), (1350321970,), (1350321990,), (1350321995,), (1350322106,), (1350322145,), (1350322431,), (1350322462,), (1350322492,), (1350322520,), (1350322554,), (1350322883,), (1350322896,), (1350322900,), (1350322906,), (1350323022,), (1350323060,), (1350323087,), (1350323118,), (1350323152,), (1350323183,), (1350323501,), (1350323439,), (1350323471,), (1350324173,), (1350324178,), (1350324207,), (1350324393,), (1350324473,), (1350324511,), (1350324538,), (1350324891,), (1350324935,), (1350325866,), (1350325952,), (1350326047,), (1350326130,), (1350326713,), (1350326816,), (1350326905,), (1350326979,), (1350327061,), (1350327881,), (1350327936,), (1350328907,), (1350328951,), (1350328977,), (1350328993,), (1350329357,), (1350329428,), (1350329494,), (1350329546,), (1350329875,), (1350329901,), (1350329934,), (1350329985,), (1350330796,), (1350330867,), (1350330936,), (1350331020,), (1350331683,), (1350331726,), (1350331774,), (1350331802,), (1350331842,), (1350331899,), (1350332223,), (1350332252,), (1350332281,), (1350332311,), (1350333703,), (1350333793,), (1350333820,), (1350333853,), (1350333867,), (1350333961,), (1350334015,), (1350334072,), (1350334133,), (1350334355,), (1350334319,), (1350334345,), (1350335461,), (1350335486,), (1350335556,), (1350335598,), (1350335660,), (1350336140,), (1350336240,), (1350336303,), (1350336380,), (1350336433,), (1350336956,), (1350337016,), (1350337045,), (1350337094,), (1350337135,), (1350337423,), (1350337450,), (1350337481,), (1350337510,), (1350338086,), (1350338193,), (1350338269,), (1350338338,), (1350338398,), (1350338452,), (1350339370,), (1350339410,), (1350339467,), (1350339483,), (1350339753,), (1350339783,), (1350339814,), (1350339845,), (1350339893,), (1350339949,), (1350340526,), (1350340558,), (1350340584,), (1350340606,), (1350340612,), (1350340628,), (1350340821,), (1350340831,), (1350340842,), (1350341042,), (1350341080,), (1350341130,), (1350341157,), (1350341189,), (1350341216,), (1350341524,), (1350341555,), (1350341562,), (1350341567,), (1350341605,), (1350341725,), (1350341730,), (1350341735,), (1350341752,), (1350341780,), (1350341807,), (1350342271,), (1350342328,), (1350342632,), (1350342662,), (1350342719,), (1350342754,), (1350342778,), (1350343160,), (1350343063,), (1350343097,), (1350343129,), (1350343142,), (1350343359,), (1350343383,), (1350343389,), (1350343409,), (1350343654,), (1350343663,), (1350343702,), (1350343718,), (1350343724,), (1350343833,), (1350343861,), (1350343896,), (1350343924,), (1350343958,), (1350343994,), (1350344000,), (1350344008,), (1350344240,), (1350344269,), (1350344274,), (1350344279,), (1350344283,), (1350344325,), (1350344332,), (1350344371,), (1350344405,), (1350344420,), (1350344425,), (1350344459,), (1350344466,), (1350344470,), (1350344476,), (1350344667,), (1350344696,), (1350344724,), (1350344754,), (1350345227,), (1350345257,), (1350345284,), (1350345314,), (1350345367,), (1350345856,), (1350345871,), (1350345879,), (1350345908,), (1350345939,), (1350346383,), (1350346427,), (1350346481,), (1350346736,), (1350346763,), (1350346774,), (1350346777,), (1350346877,), (1350346886,), (1350346892,), (1350346897,), (1350346968,), (1350346975,), (1350346997,), (1350347029,), (1350347060,), (1350347568,), (1350360239,), (1350361235,), (1350361270,), (1350361603,), (1350361639,), (1350361669,), (1350361706,), (1350361931,), (1350361993,), (1350361994,), (1350361996,), (1350361997,), (1350362001,), (1350362003,), (1350362046,), (1350362052,), (1350362055,), (1350362193,), (1350362220,), (1350362246,), (1350362275,), (1350362302,), (1350362577,), (1350362581,), (1350362846,), (1350362918,), (1350363005,), (1350363078,), (1350363123,), (1350363170,), (1350363440,), (1350363491,), (1350363562,), (1350363624,), (1350363667,), (1350364208,), (1350364271,), (1350365019,), (1350365059,), (1350365123,), (1350365180,), (1350365244,), (1350365292,), (1350365814,), (1350365876,), (1350365956,), (1350366028,), (1350366100,), (1350366178,), (1350366765,), (1350366794,), (1350366820,), (1350367242,), (1350367300,), (1350367460,), (1350367550,), (1350367609,), (1350367642,), (1350368278,), (1350368162,), (1350368196,), (1350368230,), (1350368640,), (1350368669,), (1350368697,), (1350369152,), (1350369199,), (1350369252,), (1350369284,), (1350369323,), (1350369615,), (1350369684,), (1350369755,), (1350369833,), (1350369912,), (1350370536,), (1350370561,), (1350370592,), (1350370635,), (1350370688,), (1350370748,), (1350371474,), (1350371758,), (1350372045,), (1350373599,), (1350373672,), (1350373738,), (1350374552,), (1350374689,), (1350374745,), (1350374782,), (1350374933,), (1350375388,), (1350375414,), (1350375422,), (1350376253,), (1350376280,), (1350376295,), (1350376479,), (1350376512,), (1350377157,), (1350377220,), (1350377296,), (1350377361,), (1350377414,), (1350377860,), (1350377888,), (1350377912,), (1350377917,), (1350377923,), (1350377928,), (1350378061,), (1350378065,), (1350378069,), (1350378087,), (1350378120,), (1350378137,), (1350378366,), (1350378369,), (1350378372,), (1350378464,), (1350378446,), (1350378450,), (1350378454,), (1350378458,), (1350378605,), (1350378611,), (1350378615,), (1350378637,), (1350378666,), (1350378844,), (1350378870,), (1350378905,), (1350378934,), (1350378937,), (1350378941,), (1350379231,), (1350379403,), (1350379589,), (1350379783,), (1350380029,), (1350380065,), (1350380071,), (1350380090,), (1350380266,), (1350380571,), (1350380576,), (1350380580,), (1350380581,), (1350380761,), (1350380836,), (1350380841,), (1350380847,), (1350380851,), (1350380857,), (1350380978,), (1350380990,), (1350381020,), (1350381051,), (1350381145,), (1350381149,), (1350381153,), (1350381156,), (1350381161,), (1350381226,), (1350381230,), (1350381233,), (1350381238,), (1350381242,), (1350381283,), (1350381289,), (1350381326,), (1350381344,), (1350381548,), (1350381560,), (1350381567,), (1350382239,), (1350382324,), (1350382384,), (1350382426,), (1350382455,), (1350382808,), (1350382868,), (1350382919,), (1350382966,), (1350383025,), (1350386749,), (1350386674,), (1350388034,), (1350388141,), (1350388233,), (1350388413,), (1350388495,), (1350388577,), (1350389002,), (1350389058,), (1350389119,), (1350389188,), (1350390192,), (1350390350,), (1350390456,), (1350390545,), (1350390607,), (1350391572,), (1350391648,), (1350391729,), (1350392274,), (1350392374,), (1350392453,), (1350392577,), (1350392640,), (1350393150,), (1350393204,), (1350393284,), (1350394068,), (1350394102,), (1350394143,), (1350394191,), (1350394253,), (1350394459,), (1350394463,), (1350394468,), (1350394739,), (1350394764,), (1350394798,), (1350394823,), (1350394857,), (1350394889,), (1350395021,), (1350395049,), (1350395078,), (1350395105,), (1350395130,), (1350395162,), (1350395649,), (1350395655,), (1350395664,), (1350396185,), (1350396066,), (1350396082,), (1350396110,), (1350396662,), (1350396711,), (1350396778,), (1350396811,), (1350397539,), (1350397612,), (1350397682,), (1350397749,), (1350397862,), (1350397953,), (1350398471,), (1350398511,), (1350398568,), (1350398857,), (1350399630,), (1350399673,), (1350399705,), (1350399758,), (1350400475,), (1350400532,), (1350400589,), (1350400645,), (1350400709,), (1350401249,), (1350401256,), (1350401306,), (1350401380,), (1350401478,), (1350402359,), (1350402391,), (1350402497,), (1350402553,), (1350402578,), (1350402713,), (1350402747,), (1350402786,), (1350402818,), (1350403059,), (1350403108,), (1350403130,), (1350403136,), (1350403137,), (1350403146,), (1350403454,), (1350403535,), (1350403564,), (1350403595,), (1350403623,), (1350403999,), (1350404027,), (1350404071,), (1350404098,), (1350404137,), (1350404401,), (1350404411,), (1350404496,), (1350404867,), (1350404896,), (1350404928,), (1350404934,), (1350405275,), (1350405301,), (1350405323,), (1350405326,), (1350405329,), (1350405332,), (1350405698,), (1350405547,), (1350405597,), (1350405648,), (1350406179,), (1350406206,), (1350406234,), (1350406414,), (1350406596,), (1350406650,), (1350407226,), (1350407264,), (1350407297,), (1350407657,), (1350407685,), (1350407773,), (1350407857,), (1350407951,), (1350408046,), (1350408411,), (1350408437,), (1350408458,), (1350408478,), (1350408513,), (1350408901,), (1350408950,), (1350408975,), (1350409002,), (1350409029,), (1350409429,), (1350409468,), (1350409504,), (1350409541,), (1350409571,), (1350409875,), (1350409882,), (1350409888,), (1350409909,), (1350409917,), (1350409952,), (1350410247,), (1350410274,), (1350410316,), (1350411047,), (1350411051,), (1350411074,), (1350411135,), (1350411211,), (1350411281,), (1350411952,), (1350412008,), (1350412066,), (1350412790,), (1350412839,), (1350412870,), (1350412899,), (1350413386,), (1350413418,), (1350413447,), (1350413476,), (1350413504,), (1350413536,), (1350413664,), (1350424165,), (1350424115,), (1350427485,), (1350427561,), (1350427650,), (1350427723,), (1350427794,), (1350427844,), (1350428372,), (1350428444,), (1350429546,), (1350429606,), (1350429633,), (1350430263,), (1350430380,), (1350430470,), (1350430562,), (1350430758,), (1350430817,), (1350431124,), (1350431155,), (1350431205,), (1350431636,), (1350431665,), (1350431696,), (1350431725,), (1350431753,), (1350432152,), (1350432178,), (1350432205,), (1350432234,), (1350432268,), (1350432401,), (1350432406,), (1350433030,), (1350433037,), (1350433045,), (1350433331,), (1350433292,), (1350433301,), (1350433663,), (1350433700,), (1350433730,), (1350433747,), (1350433749,), (1350433835,), (1350433869,), (1350433880,), (1350433883,), (1350433887,), (1350434098,), (1350434126,), (1350434155,), (1350434770,), (1350434804,), (1350434888,), (1350435695,), (1350435882,), (1350436209,), (1350436271,), (1350436351,), (1350437079,), (1350437242,), (1350437287,), (1350437389,), (1350437486,), (1350437584,), (1350438235,), (1350438287,), (1350438337,), (1350438393,), (1350438446,), (1350439130,), (1350439160,), (1350439165,), (1350439190,), (1350439588,), (1350439661,), (1350439706,), (1350439752,), (1350439814,), (1350439852,), (1350440503,), (1350440546,), (1350440561,), (1350440571,), (1350440585,), (1350440660,), (1350440664,), (1350440668,), (1350441111,), (1350441164,), (1350441547,), (1350441592,), (1350441624,), (1350441642,), (1350441899,), (1350441929,), (1350441955,), (1350441967,), (1350442516,), (1350442407,), (1350442452,), (1350442484,), (1350443115,), (1350443170,), (1350443206,), (1350443729,), (1350443758,), (1350443812,), (1350444186,), (1350444195,), (1350444340,), (1350444345,), (1350444359,), (1350444365,), (1350444499,), (1350444527,), (1350444555,), (1350444829,), (1350444841,), (1350444847,), (1350444869,), (1350445251,), (1350445264,), (1350445291,), (1350445457,), (1350445460,), (1350445464,), (1350445468,), (1350445472,), (1350445514,), (1350445522,), (1350445526,), (1350445970,), (1350446029,), (1350446063,), (1350446111,), (1350446533,), (1350446588,), (1350446639,), (1350446672,), (1350446705,), (1350446733,), (1350446946,), (1350447064,), (1350447085,), (1350447304,), (1350447311,), (1350447316,), (1350447321,), (1350447326,), (1350447330,), (1350447564,), (1350447569,), (1350447573,), (1350449196,), (1350448940,), (1350448991,), (1350449039,), (1350449079,), (1350449135,), (1350449638,), (1350449691,), (1350449750,), (1350450145,), (1350450172,), (1350450199,), (1350450230,), (1350450258,), (1350450289,), (1350450565,), (1350450593,), (1350450622,), (1350451022,), (1350451089,), (1350451091,), (1350451110,), (1350451645,), (1350451699,), (1350451752,), (1350451806,), (1350451860,), (1350452626,), (1350452703,), (1350452806,), (1350453682,), (1350453739,), (1350454215,), (1350454244,), (1350454283,), (1350454349,), (1350454396,), (1350455148,), (1350464185,), (1350470077,), (1350470572,), (1350470901,), (1350470914,), (1350471243,), (1350471293,), (1350471348,), (1350471815,), (1350471862,), (1350471897,), (1350471924,), (1350471954,), (1350472366,), (1350472370,), (1350472374,), (1350472377,), (1350472596,), (1350472632,), (1350472668,), (1350473145,), (1350473154,), (1350473163,), (1350473178,), (1350473233,), (1350473277,), (1350473677,), (1350473726,), (1350473773,), (1350474035,), (1350474040,), (1350474077,), (1350474106,), (1350474131,), (1350474537,), (1350474608,), (1350475277,), (1350475160,), (1350475165,), (1350475183,), (1350475235,), (1350475553,), (1350475557,), (1350475561,), (1350475669,), (1350476397,), (1350476420,), (1350476432,), (1350476465,), (1350476545,), (1350476688,), (1350476691,), (1350476694,), (1350476706,), (1350477045,), (1350477074,), (1350477107,), (1350477135,), (1350477165,), (1350477471,), (1350477503,), (1350477523,), (1350477540,), (1350477576,), (1350477768,), (1350477771,), (1350477795,), (1350477818,), (1350477828,), (1350477918,), (1350477921,), (1350477924,), (1350477926,), (1350478086,), (1350478115,), (1350478163,), (1350478185,), (1350478189,), (1350478332,), (1350478348,), (1350478377,), (1350478423,), (1350478429,), (1350478502,), (1350478648,), (1350478662,), (1350478675,), (1350478735,), (1350478743,), (1350478773,), (1350478800,), (1350478836,), (1350479053,), (1350479093,), (1350479127,), (1350479177,), (1350479194,), (1350479199,), (1350479297,), (1350479304,), (1350479308,), (1350479311,), (1350479318,), (1350479796,), (1350479841,), (1350479881,), (1350480366,), (1350480237,), (1350480266,), (1350480299,), (1350480337,), (1350480428,), (1350480449,), (1350480482,), (1350480512,), (1350480544,), (1350480574,), (1350480723,), (1350480729,), (1350480735,), (1350480885,), (1350480891,), (1350480899,), (1350480911,), (1350480959,), (1350481557,), (1350481615,), (1350481672,), (1350487437,), (1350491659,), (1350490969,), (1350491646,), (1350491651,), (1350491656,), (1350491736,), (1350491783,), (1350491836,), (1350491879,), (1350495010,), (1350495399,), (1350496652,), (1350496848,), (1350496938,), (1350497038,), (1350501830,), (1350504960,), (1350505026,), (1350510998,), (1350510330,), (1350510947,), (1350510971,), (1350511972,), (1350512030,), (1350512047,), (1350512059,), (1350512335,), (1350512353,), (1350512371,), (1350512385,), (1350512392,), (1350512395,), (1350512468,), (1350512482,), (1350512493,), (1350512547,), (1350512574,), (1350512907,), (1350512909,), (1350512911,), (1350512913,), (1350512931,), (1350512958,), (1350513101,), (1350513115,), (1350513126,), (1350513133,), (1350513140,), (1350513146,), (1350513451,), (1350513560,), (1350513569,), (1350513583,), (1350513710,), (1350513715,), (1350513719,), (1350513722,), (1350513739,), (1350513742,), (1350513770,), (1350513772,), (1350513774,), (1350513781,), (1350513972,), (1350513976,), (1350513989,), (1350513998,), (1350514000,), (1350514054,), (1350514049,), (1350514050,), (1350514052,), (1350514289,), (1350514316,), (1350514318,), (1350514369,), (1350514392,), (1350514454,), (1350514771,), (1350514797,), (1350514810,), (1350514823,), (1350514847,), (1350515304,), (1350515352,), (1350515626,), (1350515630,), (1350515633,), (1350515636,), (1350515638,), (1350515759,), (1350559544,), (1350560434,), (1350560570,), (1350560626,), (1350560693,), (1350560751,), (1350561411,), (1350561456,), (1350561508,), (1350561827,), (1350561839,), (1350561846,), (1350562135,), (1350562188,), (1350562240,), (1350562832,), (1350562623,), (1350562650,), (1350562678,), (1350562718,), (1350562779,), (1350563128,), (1350563150,), (1350563178,), (1350563184,), (1350563195,), (1350563255,), (1350563282,), (1350563308,), (1350563333,), (1350563366,), (1350563752,), (1350563754,), (1350563756,), (1350563787,), (1350563797,), (1350563802,), (1350563808,), (1350563809,), (1350563814,), (1350563831,), (1350563836,), (1350563874,), (1350563876,), (1350563878,), (1350563879,), (1350563881,), (1350563919,), (1350563923,), (1350563927,), (1350563980,), (1350563983,), (1350563986,), (1350563989,), (1350564185,), (1350564212,), (1350564221,), (1350564223,), (1350564226,), (1350564229,), (1350564265,), (1350564268,), (1350564271,), (1350564281,), (1350564302,), (1350564314,), (1350564319,), (1350564322,), (1350564325,), (1350564331,), (1350564361,), (1350564363,), (1350564366,), (1350564368,), (1350564372,), (1350564373,), (1350564405,), (1350564408,), (1350565710,), (1350565650,), (1350565654,), (1350565657,), (1350565661,), (1350565684,), (1350565844,), (1350565848,), (1350565852,), (1350565856,), (1350565858,), (1350565893,), (1350565901,), (1350565905,), (1350565934,), (1350565935,), (1350565938,), (1350566009,), (1350566011,), (1350566560,), (1350567399,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'16042025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22102128]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077] map_info['map_portfolio_photo'] : {22102128: [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077]} final : True mtd_id 4302 list_pids : [1350475277, 1350474608, 1350474537, 1350474131, 1350474106, 1350474077, 1350474040, 1350474035, 1350473773, 1350473726, 1350473677, 1350473277, 1350473233, 1350473178, 1350473163, 1350473154, 1350473145, 1350472668, 1350472632, 1350472596, 1350472377, 1350472374, 1350472370, 1350472366, 1350471954, 1350471924, 1350471897, 1350471862, 1350471815, 1350471348, 1350471293, 1350471243, 1350470914, 1350470901, 1350470572, 1350470077] Looping around the photos to save general results len do output : 1 /22102128Didn'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, '2729234') ('4302', '22102128', '1350475277', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474608', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474537', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474131', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474106', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474077', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474040', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350474035', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473773', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473726', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473677', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473277', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473233', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473178', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473163', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473154', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350473145', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472668', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472632', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472596', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472377', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472374', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472370', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350472366', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471954', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471924', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471897', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471862', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471815', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471348', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471293', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350471243', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470914', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470901', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470572', None, None, None, None, None, '2729234') ('4302', None, None, None, None, None, None, None, '2729234') ('4302', '22102128', '1350470077', None, None, None, None, None, '2729234') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22102128', 'None', None, None, None, None, '2729234'), ('4302', '22102128', '1350475277', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474608', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474537', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474131', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474106', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474077', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474040', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350474035', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473773', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473726', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473677', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473277', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473233', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473178', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473163', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473154', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350473145', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472668', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472632', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472596', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472377', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472374', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472370', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350472366', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471954', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471924', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471897', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471862', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471815', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471348', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471293', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350471243', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470914', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470901', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470572', None, None, None, None, None, '2729234'), ('4302', '22102128', '1350470077', None, None, None, None, None, '2729234')] time used for this insertion : 0.017282962799072266 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5952773094177246 time spend to save output : 0.017771482467651367 total time spend for step 5 : 3.613048791885376 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 (2729234) 3.21user 2.73system 0:20.60elapsed 28%CPU (0avgtext+0avgdata 166992maxresident)k 952inputs+34968outputs (31major+87731minor)pagefaults 0swaps