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 : 1192637 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 (2574644) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2574644) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388900 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2574644'] with mtr_portfolio_ids : ['20388900'] and first list_photo_ids : [] new path : /proc/1192637/ Name: python3 Umask: 0002 State: R (running) Tgid: 1192637 Ngid: 0 Pid: 1192637 PPid: 1192636 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1192637 NSpid: 1192637 NSpgid: 1191346 NSsid: 1191346 VmPeak: 1106660 kB VmSize: 1106660 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100088 kB VmRSS: 100088 kB RssAnon: 59740 kB RssFile: 40348 kB RssShmem: 0 kB VmData: 865412 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 596 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: 50 nonvoluntary_ctxt_switches: 97 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1192637', 'Ngid': '0', 'Pid': '1192637', 'PPid': '1192636', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1192637', 'NSpid': '1192637', 'NSpgid': '1191346', 'NSsid': '1191346', 'VmPeak': '1106660 kB', 'VmSize': '1106660 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100088 kB', 'VmRSS': '100088 kB', 'RssAnon': '59740 kB', 'RssFile': '40348 kB', 'RssShmem': '0 kB', 'VmData': '865412 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '596 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': '50', 'nonvoluntary_ctxt_switches': '97'} ('datou_batch_current', '1192637', '1106660', '0', '1106660', '865412', '100088', b'', 'marlene', '2574644') 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 (20388900) 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 (2574644 ) ) 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 (20388900) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1336402041, 'portfolio_id': 20388900}, {'photo_id': 1336401991, 'portfolio_id': 20388900}, {'photo_id': 1336401990, 'portfolio_id': 20388900}, {'photo_id': 1336401989, 'portfolio_id': 20388900}, {'photo_id': 1336401973, 'portfolio_id': 20388900}, {'photo_id': 1336401972, 'portfolio_id': 20388900}, {'photo_id': 1336401971, 'portfolio_id': 20388900}, {'photo_id': 1336401954, 'portfolio_id': 20388900}, {'photo_id': 1336401953, 'portfolio_id': 20388900}, {'photo_id': 1336401952, 'portfolio_id': 20388900}, {'photo_id': 1336401951, 'portfolio_id': 20388900}, {'photo_id': 1336401830, 'portfolio_id': 20388900}, {'photo_id': 1336401786, 'portfolio_id': 20388900}, {'photo_id': 1336401707, 'portfolio_id': 20388900}, {'photo_id': 1336401660, 'portfolio_id': 20388900}, {'photo_id': 1336401659, 'portfolio_id': 20388900}, {'photo_id': 1336401649, 'portfolio_id': 20388900}, {'photo_id': 1336401646, 'portfolio_id': 20388900}, {'photo_id': 1336401637, 'portfolio_id': 20388900}, {'photo_id': 1336401564, 'portfolio_id': 20388900}, {'photo_id': 1336401534, 'portfolio_id': 20388900}, {'photo_id': 1336401497, 'portfolio_id': 20388900}, {'photo_id': 1336401496, 'portfolio_id': 20388900}, {'photo_id': 1336400721, 'portfolio_id': 20388900}, {'photo_id': 1336400677, 'portfolio_id': 20388900}, {'photo_id': 1336400648, 'portfolio_id': 20388900}, {'photo_id': 1336400200, 'portfolio_id': 20388900}, {'photo_id': 1336398919, 'portfolio_id': 20388900}, {'photo_id': 1336398902, 'portfolio_id': 20388900}, {'photo_id': 1336398901, 'portfolio_id': 20388900}, {'photo_id': 1336398900, 'portfolio_id': 20388900}, {'photo_id': 1336398878, 'portfolio_id': 20388900}, {'photo_id': 1336398877, 'portfolio_id': 20388900}, {'photo_id': 1336398861, 'portfolio_id': 20388900}, {'photo_id': 1336398860, 'portfolio_id': 20388900}, {'photo_id': 1336398859, 'portfolio_id': 20388900}, {'photo_id': 1336398822, 'portfolio_id': 20388900}] map_portfolio_id_photo_id: {20388900: [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822]} ##### 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.9134504795074463 #### 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 Tue Feb 11 05:37: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 (20388900) 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 : 20388900 get user id for portfolio 20388900 get sub ptf for main ptf 20388900, type 3726 and hashtags ['cartonnette', 'environnement', 'mal_croppe', 'Carton_brun', 'Teint_Dans_La_Masse', 'papier', 'plastique', 'kraft', 'flou', 'Carton_gris', 'metal', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20388900 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','mal_croppe','Carton_brun','Teint_Dans_La_Masse','papier','plastique','kraft','flou','Carton_gris','metal','autre_refus')) 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`=20388900 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','mal_croppe','Carton_brun','Teint_Dans_La_Masse','papier','plastique','kraft','flou','Carton_gris','metal','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 20388900, 'sub_port_id': 20388925, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068915, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'flou': {'main_port_id': 20388900, 'sub_port_id': 20388926, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068916, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'Carton_gris': {'main_port_id': 20388900, 'sub_port_id': 20388927, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068917, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'kraft': {'main_port_id': 20388900, 'sub_port_id': 20388928, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068918, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'cartonnette': {'main_port_id': 20388900, 'sub_port_id': 20388929, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068919, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'papier': {'main_port_id': 20388900, 'sub_port_id': 20388930, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068920, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'plastique': {'main_port_id': 20388900, 'sub_port_id': 20388931, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068921, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20388900, 'sub_port_id': 20388932, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068922, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'autre_refus': {'main_port_id': 20388900, 'sub_port_id': 20388933, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068923, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'metal': {'main_port_id': 20388900, 'sub_port_id': 20388934, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068924, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'mal_croppe': {'main_port_id': 20388900, 'sub_port_id': 20388935, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068925, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}, 'environnement': {'main_port_id': 20388900, 'sub_port_id': 20388936, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068926, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 34, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388925 , 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=20388900 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 (20388925) result : ((1336401966,), (1336401969,), (1336401978,), (1336402035,), (1336402038,), (1336402039,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388926 , 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=20388900 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 (20388926) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388927 , 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=20388900 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 (20388927) result : ((1336400199,), (1336401674,), (1336402006,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388928 , 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=20388900 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 (20388928) result : ((1336402423,), (1336408246,), (1336408247,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388929 , 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=20388900 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 (20388929) result : ((1336400181,), (1336400435,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388930 , 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=20388900 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 (20388930) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388931 , 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=20388900 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 (20388931) result : ((1336402040,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388932 , 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=20388900 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 (20388932) result : ((1336398911,), (1336398912,), (1336398913,), (1336398914,), (1336400197,), (1336401963,), (1336401964,), (1336401976,), (1336402004,), (1336402005,), (1336402025,), (1336402026,), (1336402029,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388933 , 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=20388900 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 (20388933) result : ((1336398920,), (1336400198,), (1336402036,), (1336402422,), (1336408244,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388934 , 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=20388900 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 (20388934) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388935 , 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=20388900 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 (20388935) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20388936 , 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=20388900 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 (20388936) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20388900) result : ((1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,)) 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 (1336398900,1336400200) and cspi.crop_hashtag_id = chi.id; 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`=20388900 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','mal_croppe','Carton_brun','Teint_Dans_La_Masse','papier','plastique','kraft','flou','Carton_gris','metal','autre_refus')) 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`=20388900 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','environnement','mal_croppe','Carton_brun','Teint_Dans_La_Masse','papier','plastique','kraft','flou','Carton_gris','metal','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 20388900, 'sub_port_id': 20388937, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068927, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'flou': {'main_port_id': 20388900, 'sub_port_id': 20388938, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068928, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'Carton_gris': {'main_port_id': 20388900, 'sub_port_id': 20388939, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068929, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'kraft': {'main_port_id': 20388900, 'sub_port_id': 20388940, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068930, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'cartonnette': {'main_port_id': 20388900, 'sub_port_id': 20388941, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068931, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'papier': {'main_port_id': 20388900, 'sub_port_id': 20388942, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068932, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'plastique': {'main_port_id': 20388900, 'sub_port_id': 20388943, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068933, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 20388900, 'sub_port_id': 20388944, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068934, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'autre_refus': {'main_port_id': 20388900, 'sub_port_id': 20388945, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068935, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'metal': {'main_port_id': 20388900, 'sub_port_id': 20388946, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068936, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'mal_croppe': {'main_port_id': 20388900, 'sub_port_id': 20388947, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068937, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}, 'environnement': {'main_port_id': 20388900, 'sub_port_id': 20388948, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13068938, 'last_updated_at': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 10, 6, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 10, 6, 35, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388937,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388925 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388938,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388926 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388939,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388927 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388940,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388928 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388941,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388929 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388942,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388930 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388943,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388931 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388944,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388932 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388945,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388933 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388946,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388934 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388947,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388935 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20388948,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20388936 lien utilise dans velours : https://www.fotonower.com/velours/20388937,20388938,20388939,20388940,20388941,20388942,20388943,20388944,20388945,20388946,20388947,20388948?tags=Carton_brun,flou,Carton_gris,kraft,cartonnette,papier,plastique,Teint_Dans_La_Masse,autre_refus,metal,mal_croppe,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20388900]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822] map_info['map_portfolio_photo'] : {20388900: [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822]} final : False mtd_id 4302 list_pids : [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822] Looping around the photos to save general results len do output : 1 /20388900. 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, '2574644') ('4302', '20388900', '1336402041', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401991', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401990', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401989', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401973', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401972', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401971', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401954', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401953', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401952', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401951', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401830', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401786', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401707', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401660', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401659', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401649', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401646', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401637', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401564', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401534', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401497', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401496', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400721', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400677', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400648', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400200', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398919', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398902', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398901', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398900', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398878', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398877', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398861', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398860', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398859', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398822', None, None, None, None, None, '2574644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20388900', "{'Carton_brun': 20388925, 'flou': 20388926, 'Carton_gris': 20388927, 'kraft': 20388928, 'cartonnette': 20388929, 'papier': 20388930, 'plastique': 20388931, 'Teint_Dans_La_Masse': 20388932, 'autre_refus': 20388933, 'metal': 20388934, 'mal_croppe': 20388935, 'environnement': 20388936}", None, None, None, None, '2574644'), ('4302', '20388900', '1336402041', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401991', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401990', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401989', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401973', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401972', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401971', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401954', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401953', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401952', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401951', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401830', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401786', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401707', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401660', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401659', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401649', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401646', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401637', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401564', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401534', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401497', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401496', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400721', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400677', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400648', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400200', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398919', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398902', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398901', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398900', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398878', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398877', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398861', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398860', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398859', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398822', None, None, None, None, None, '2574644')] time used for this insertion : 0.026447772979736328 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4812335968017578 time spend to save output : 0.027100563049316406 total time spend for step 1 : 1.5083341598510742 step2:final Tue Feb 11 05:37: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 (20388900) 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 20388900 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1336398822,1336398861,1336398860,1336398859,1336398878,1336398877,1336398902,1336398901,1336398900,1336398919,1336400200,1336400721,1336400677,1336400648,1336401564,1336401534,1336401497,1336401496,1336401660,1336401659,1336401649,1336401646,1336401637,1336401830,1336401786,1336401707,1336401954,1336401953,1336401952,1336401951,1336401973,1336401972,1336401971,1336401991,1336401990,1336401989,1336402041); 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([20388900]) Inside saveOutput : final : False verbose : True original output for save of step final : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} new output for save of step final : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822] map_info['map_portfolio_photo'] : {20388900: [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822]} final : False mtd_id 4302 list_pids : [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822] Looping around the photos to save general results len do output : 37 /1336402041.Didn't retrieve data . /1336401991.Didn't retrieve data . /1336401990.Didn't retrieve data . /1336401989.Didn't retrieve data . /1336401973.Didn't retrieve data . /1336401972.Didn't retrieve data . /1336401971.Didn't retrieve data . /1336401954.Didn't retrieve data . /1336401953.Didn't retrieve data . /1336401952.Didn't retrieve data . /1336401951.Didn't retrieve data . /1336401830.Didn't retrieve data . /1336401786.Didn't retrieve data . /1336401707.Didn't retrieve data . /1336401660.Didn't retrieve data . /1336401659.Didn't retrieve data . /1336401649.Didn't retrieve data . /1336401646.Didn't retrieve data . /1336401637.Didn't retrieve data . /1336401564.Didn't retrieve data . /1336401534.Didn't retrieve data . /1336401497.Didn't retrieve data . /1336401496.Didn't retrieve data . /1336400721.Didn't retrieve data . /1336400677.Didn't retrieve data . /1336400648.Didn't retrieve data . /1336400200.Didn't retrieve data . /1336398919.Didn't retrieve data . /1336398902.Didn't retrieve data . /1336398901.Didn't retrieve data . /1336398900.Didn't retrieve data . /1336398878.Didn't retrieve data . /1336398877.Didn't retrieve data . /1336398861.Didn't retrieve data . /1336398860.Didn't retrieve data . /1336398859.Didn't retrieve data . /1336398822.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, '2574644') ('4302', '20388900', '1336402041', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401991', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401990', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401989', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401973', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401972', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401971', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401954', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401953', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401952', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401951', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401830', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401786', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401707', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401660', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401659', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401649', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401646', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401637', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401564', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401534', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401497', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401496', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400721', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400677', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400648', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400200', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398919', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398902', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398901', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398900', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398878', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398877', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398861', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398860', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398859', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398822', None, None, None, None, None, '2574644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20388900', '1336402041', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401991', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401990', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401989', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401973', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401972', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401971', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401954', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401953', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401952', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401951', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401830', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401786', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401707', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401660', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401659', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401649', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401646', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401637', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401564', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401534', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401497', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336401496', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336400721', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336400677', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336400648', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336400200', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398919', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398902', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398901', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398900', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398878', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398877', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398861', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398860', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398859', '0.028910117098467258', None, None, None, None, '2574644'), ('4302', '20388900', '1336398822', '0.028910117098467258', None, None, None, None, '2574644')] time used for this insertion : 0.02548980712890625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07204174995422363 time spend to save output : 0.02699112892150879 total time spend for step 2 : 0.09903287887573242 step3:velours_tree Tue Feb 11 05:37: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 : {20388900: [{'Carton_brun': 20388925, 'flou': 20388926, 'Carton_gris': 20388927, 'kraft': 20388928, 'cartonnette': 20388929, 'papier': 20388930, 'plastique': 20388931, 'Teint_Dans_La_Masse': 20388932, 'autre_refus': 20388933, 'metal': 20388934, 'mal_croppe': 20388935, 'environnement': 20388936}]} input_args_next_step : {20388900: ()} output_args : {20388900: [{'Carton_brun': 20388925, 'flou': 20388926, 'Carton_gris': 20388927, 'kraft': 20388928, 'cartonnette': 20388929, 'papier': 20388930, 'plastique': 20388931, 'Teint_Dans_La_Masse': 20388932, 'autre_refus': 20388933, 'metal': 20388934, 'mal_croppe': 20388935, 'environnement': 20388936}]} args : 20388900 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 20388925, 'flou': 20388926, 'Carton_gris': 20388927, 'kraft': 20388928, 'cartonnette': 20388929, 'papier': 20388930, 'plastique': 20388931, 'Teint_Dans_La_Masse': 20388932, 'autre_refus': 20388933, 'metal': 20388934, 'mal_croppe': 20388935, 'environnement': 20388936},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20388900) 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([20388900]) 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.2756481170654297 time spend to save output : 3.933906555175781e-05 total time spend for step 3 : 0.27568745613098145 step4:send_mail_cod Tue Feb 11 05:38: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 : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} input_args_next_step : {1336402041: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336402041 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401991 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401990 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401989 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401973 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401972 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401971 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401954 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401953 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401952 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401951 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401830 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401786 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401707 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401660 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401659 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401649 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401646 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401637 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401564 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401534 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401497 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336401496 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336400721 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336400677 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336400648 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336400200 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398919 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398902 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398901 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398900 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398878 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398877 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398861 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398860 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398859 depend.output_id : 0 input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ()} output_args : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',)} args : 1336398822 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 : {20388900: [{'Carton_brun': 20388925, 'flou': 20388926, 'Carton_gris': 20388927, 'kraft': 20388928, 'cartonnette': 20388929, 'papier': 20388930, 'plastique': 20388931, 'Teint_Dans_La_Masse': 20388932, 'autre_refus': 20388933, 'metal': 20388934, 'mal_croppe': 20388935, 'environnement': 20388936}]} input_args_next_step : {1336402041: ('0.028910117098467258',), 1336401991: ('0.028910117098467258',), 1336401990: ('0.028910117098467258',), 1336401989: ('0.028910117098467258',), 1336401973: ('0.028910117098467258',), 1336401972: ('0.028910117098467258',), 1336401971: ('0.028910117098467258',), 1336401954: ('0.028910117098467258',), 1336401953: ('0.028910117098467258',), 1336401952: ('0.028910117098467258',), 1336401951: ('0.028910117098467258',), 1336401830: ('0.028910117098467258',), 1336401786: ('0.028910117098467258',), 1336401707: ('0.028910117098467258',), 1336401660: ('0.028910117098467258',), 1336401659: ('0.028910117098467258',), 1336401649: ('0.028910117098467258',), 1336401646: ('0.028910117098467258',), 1336401637: ('0.028910117098467258',), 1336401564: ('0.028910117098467258',), 1336401534: ('0.028910117098467258',), 1336401497: ('0.028910117098467258',), 1336401496: ('0.028910117098467258',), 1336400721: ('0.028910117098467258',), 1336400677: ('0.028910117098467258',), 1336400648: ('0.028910117098467258',), 1336400200: ('0.028910117098467258',), 1336398919: ('0.028910117098467258',), 1336398902: ('0.028910117098467258',), 1336398901: ('0.028910117098467258',), 1336398900: ('0.028910117098467258',), 1336398878: ('0.028910117098467258',), 1336398877: ('0.028910117098467258',), 1336398861: ('0.028910117098467258',), 1336398860: ('0.028910117098467258',), 1336398859: ('0.028910117098467258',), 1336398822: ('0.028910117098467258',), 20388900: ()} output_args : {20388900: [{'Carton_brun': 20388925, 'flou': 20388926, 'Carton_gris': 20388927, 'kraft': 20388928, 'cartonnette': 20388929, 'papier': 20388930, 'plastique': 20388931, 'Teint_Dans_La_Masse': 20388932, 'autre_refus': 20388933, 'metal': 20388934, 'mal_croppe': 20388935, 'environnement': 20388936}]} args : 20388900 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :38, first value : ('0.028910117098467258',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20388900) 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 (1336402041,1336401991,1336401990,1336401989,1336401973,1336401972,1336401971,1336401954,1336401953,1336401952,1336401951,1336401830,1336401786,1336401707,1336401660,1336401659,1336401649,1336401646,1336401637,1336401564,1336401534,1336401497,1336401496,1336400721,1336400677,1336400648,1336400200,1336398919,1336398902,1336398901,1336398900,1336398878,1336398877,1336398861,1336398860,1336398859,1336398822) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1336398822 begin to download photo : 1336398902 begin to download photo : 1336401534 begin to download photo : 1336401786 begin to download photo : 1336401973 download finish for photo 1336401786 begin to download photo : 1336401830 download finish for photo 1336398902 begin to download photo : 1336398919 download finish for photo 1336401534 begin to download photo : 1336401564 download finish for photo 1336398822 begin to download photo : 1336398859 download finish for photo 1336401973 begin to download photo : 1336401989 download finish for photo 1336398919 begin to download photo : 1336400200 download finish for photo 1336398859 begin to download photo : 1336398860 download finish for photo 1336401830 begin to download photo : 1336401951 download finish for photo 1336401564 begin to download photo : 1336401637 download finish for photo 1336401989 begin to download photo : 1336401990 download finish for photo 1336400200 begin to download photo : 1336400648 download finish for photo 1336401951 begin to download photo : 1336401952 download finish for photo 1336401990 begin to download photo : 1336401991 download finish for photo 1336398860 begin to download photo : 1336398861 download finish for photo 1336401637 begin to download photo : 1336401646 download finish for photo 1336400648 begin to download photo : 1336400677 download finish for photo 1336401952 begin to download photo : 1336401953 download finish for photo 1336398861 begin to download photo : 1336398877 download finish for photo 1336401991 begin to download photo : 1336402041 download finish for photo 1336401646 begin to download photo : 1336401649 download finish for photo 1336400677 begin to download photo : 1336400721 download finish for photo 1336401953 begin to download photo : 1336401954 download finish for photo 1336402041 download finish for photo 1336398877 begin to download photo : 1336398878 download finish for photo 1336400721 begin to download photo : 1336401496 download finish for photo 1336401649 begin to download photo : 1336401659 download finish for photo 1336401954 begin to download photo : 1336401971 download finish for photo 1336401496 begin to download photo : 1336401497 download finish for photo 1336398878 begin to download photo : 1336398900 download finish for photo 1336401659 begin to download photo : 1336401660 download finish for photo 1336401971 begin to download photo : 1336401972 download finish for photo 1336398900 begin to download photo : 1336398901 download finish for photo 1336401497 download finish for photo 1336401972 download finish for photo 1336401660 begin to download photo : 1336401707 download finish for photo 1336398901 download finish for photo 1336401707 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette203889261739248681/ length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P20388900_11-02-2025_05_38_01.pdf 20388926 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=20388926 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203889261739248681 20388928 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=20388928 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336402423: '1739166450_3623944_1336401990_f6fdaf72f6cecb0d212281873127ad27_rle_crop_3667388433_0.png', 1336408246: '1739169132_3649563_1336402041_1cead5feafae2cf5a8b5f31e36b05fe7_rle_crop_3667427479_0.png', 1336408247: '1739169132_3649563_1336401990_f6fdaf72f6cecb0d212281873127ad27_rle_crop_3667388433_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/eb6a85253ca9abab79832ae3e06cfa13_41048927.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/6ab845a093598ff51909ee55bea34a24_10503687.png change filename to text .imagette203889281739248681/ imagette203889281739248681/1739169132_3649563_1336401990_f6fdaf72f6cecb0d212281873127ad27_rle_crop_3667388433_0.png.png imagette203889281739248681/1739169132_3649563_1336402041_1cead5feafae2cf5a8b5f31e36b05fe7_rle_crop_3667427479_0.png.png imagette203889281739248681/1739166450_3623944_1336401990_f6fdaf72f6cecb0d212281873127ad27_rle_crop_3667388433_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/eb6a85253ca9abab79832ae3e06cfa13_92048038.png imagette203889281739248681 20388929 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=20388929 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336400181: '1739165833_3618453_1336398919_6b6023573e3bf454c142dec6e7529b29_rle_crop_3667374289_0.png', 1336400435: '1739165872_3618775_1336398877_5244f60c6b78491c636b6ff0fa49b932_rle_crop_3667374438_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/ddeb9b62e12fa7170b3c781fa7055cac_4498315.png change filename to text .imagette203889291739248681/ imagette203889291739248681/1739165872_3618775_1336398877_5244f60c6b78491c636b6ff0fa49b932_rle_crop_3667374438_0.png.png imagette203889291739248681/1739165833_3618453_1336398919_6b6023573e3bf454c142dec6e7529b29_rle_crop_3667374289_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/9b0005f59f662ffaf13a148606e7ab16_38547075.png imagette203889291739248681 20388931 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=20388931 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336402040: '1739166333_3622247_1336401973_1953c367e117e13a67972f8b1cffcc13_rle_crop_3667381592_0.png'} change filename to text .imagette203889311739248681/ imagette203889311739248681/1739166333_3622247_1336401973_1953c367e117e13a67972f8b1cffcc13_rle_crop_3667381592_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/b8f5671bacb9bca1f2f7a32107ab654a_60390129.png imagette203889311739248681 20388933 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=20388933 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336398920: '1739165690_3617493_1336398861_083f73aa4e7d34a14f5aba0d1ca6e9a9_rle_crop_3667372725_0.png', 1336400198: '1739165853_3618593_1336398878_072e3b167bae2a75cdb789fc9ffa05ab_rle_crop_3667374366_0.png', 1336402036: '1739166333_3622247_1336401951_91dae517e747e516796e74ddf05e10a4_rle_crop_3667384432_0.png', 1336402422: '1739166450_3623944_1336401989_cbb62f28f552569d564803c9a112dbbc_rle_crop_3667388448_0.png', 1336408244: '1739169132_3649563_1336401989_cbb62f28f552569d564803c9a112dbbc_rle_crop_3667388448_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/fa14ba3d56df8bb1cc76e565c7787364_70934739.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/74829bc36ea2f7a6766afa372b43fa89_31432491.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/37aeabea2ac71ebcb21702ac83a84f47_11380508.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/8c7cf157fed8e45ffb50f24634f7fc74_99701375.png change filename to text .imagette203889331739248682/ imagette203889331739248682/1739166333_3622247_1336401951_91dae517e747e516796e74ddf05e10a4_rle_crop_3667384432_0.png.png imagette203889331739248682/1739166450_3623944_1336401989_cbb62f28f552569d564803c9a112dbbc_rle_crop_3667388448_0.png.png imagette203889331739248682/1739169132_3649563_1336401989_cbb62f28f552569d564803c9a112dbbc_rle_crop_3667388448_0.png.png imagette203889331739248682/1739165853_3618593_1336398878_072e3b167bae2a75cdb789fc9ffa05ab_rle_crop_3667374366_0.png.png imagette203889331739248682/1739165690_3617493_1336398861_083f73aa4e7d34a14f5aba0d1ca6e9a9_rle_crop_3667372725_0.png.png imagette203889341739248682/ imagette203889351739248682/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/8c7cf157fed8e45ffb50f24634f7fc74_93426726.png imagette203889331739248682 20388934 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=20388934 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203889341739248682 20388935 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=20388935 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203889351739248682 20388925 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=20388925 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336401966: '1739166191_3620907_1336401707_753bb7a04f9a343c4e4ca68aaa11b500_rle_crop_3667377284_0.png', 1336401969: '1739166212_3621055_1336401660_852fed0e4f07893e6bad0f08f27816da_rle_crop_3667377302_0.png', 1336401978: '1739166232_3621226_1336401659_1ba888c948a22213fbb3b54eaf385f2d_rle_crop_3667377437_0.png', 1336402035: '1739166351_3622627_1336401954_c9bec97de5f9e1bc039218a4006f85c7_rle_crop_3667381631_0.png', 1336402038: '1739166333_3622247_1336401953_fe5603bc13e29667a846d68c2ee9eff7_rle_crop_3667381610_0.png', 1336402039: '1739166333_3622247_1336401952_ea85509ecf6f333153ab8869f33141ab_rle_crop_3667381647_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/858c79ef8d35c05df1aabc77277980c2_82452955.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/9ac7add0a29fcb7d9b968c0786cfe163_72710063.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/e9df8682ba9028b5e3aa382ee95eb804_58716413.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/07090b7e9abc13dec7f2dbbaad1dc6f4_28229290.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/70bc9860aa776b576f483533527b9c3d_27655628.png change filename to text .imagette203889251739248682/ imagette203889251739248682/1739166351_3622627_1336401954_c9bec97de5f9e1bc039218a4006f85c7_rle_crop_3667381631_0.png.png imagette203889251739248682/1739166191_3620907_1336401707_753bb7a04f9a343c4e4ca68aaa11b500_rle_crop_3667377284_0.png.png imagette203889251739248682/1739166333_3622247_1336401952_ea85509ecf6f333153ab8869f33141ab_rle_crop_3667381647_0.png.png imagette203889251739248682/1739166232_3621226_1336401659_1ba888c948a22213fbb3b54eaf385f2d_rle_crop_3667377437_0.png.png imagette203889251739248682/1739166212_3621055_1336401660_852fed0e4f07893e6bad0f08f27816da_rle_crop_3667377302_0.png.png imagette203889251739248682/1739166333_3622247_1336401953_fe5603bc13e29667a846d68c2ee9eff7_rle_crop_3667381610_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/c37460ab697cc17545615aeaa0fe6cb3_67760642.png imagette203889251739248682 20388927 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=20388927 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336400199: '1739165853_3618593_1336398878_072e3b167bae2a75cdb789fc9ffa05ab_rle_crop_3667374365_0.png', 1336401674: '1739166091_3620063_1336400648_082649d1254e99d5a1309fb6dfd1be97_rle_crop_3667376192_0.png', 1336402006: '1739166312_3621989_1336401971_e0b13e90870637df2a247da759118baf_rle_crop_3667380811_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/ce41951199e90367cd4804f3c4a32382_2175616.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/af7f12a8f3b9b530da6488c341b210e5_44049408.png change filename to text .imagette203889271739248683/ imagette203889271739248683/1739166312_3621989_1336401971_e0b13e90870637df2a247da759118baf_rle_crop_3667380811_0.png.png imagette203889271739248683/1739165853_3618593_1336398878_072e3b167bae2a75cdb789fc9ffa05ab_rle_crop_3667374365_0.png.png imagette203889271739248683/1739166091_3620063_1336400648_082649d1254e99d5a1309fb6dfd1be97_rle_crop_3667376192_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/814d73d3b4841a7d73a830dbcc8efd45_37838043.png imagette203889271739248683 20388932 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=20388932 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1336398911: '1739165650_3617167_1336398860_a818804be084606b5ded74802c021b2a_rle_crop_3667372496_0.png', 1336398912: '1739165650_3617167_1336398860_a818804be084606b5ded74802c021b2a_rle_crop_3667372488_0.png', 1336398913: '1739165650_3617167_1336398860_a818804be084606b5ded74802c021b2a_rle_crop_3667372489_0.png', 1336398914: '1739165650_3617167_1336398859_3a32819cd5969310cff8b20f19c177f3_rle_crop_3667372513_0.png', 1336400197: '1739165853_3618593_1336398878_072e3b167bae2a75cdb789fc9ffa05ab_rle_crop_3667374367_0.png', 1336401963: '1739166191_3620907_1336401707_753bb7a04f9a343c4e4ca68aaa11b500_rle_crop_3667377287_0.png', 1336401964: '1739166191_3620907_1336401707_753bb7a04f9a343c4e4ca68aaa11b500_rle_crop_3667377292_0.png', 1336401976: '1739166232_3621226_1336401637_02d63a6223844df4cb7c92f983029f44_rle_crop_3667377463_0.png', 1336402004: '1739166312_3621989_1336401972_770c4fdc9bf684942a48fb0f883a83a0_rle_crop_3667378071_0.png', 1336402005: '1739166312_3621989_1336401971_e0b13e90870637df2a247da759118baf_rle_crop_3667380824_0.png', 1336402025: '1739166351_3622627_1336401954_c9bec97de5f9e1bc039218a4006f85c7_rle_crop_3667381633_0.png', 1336402026: '1739166351_3622627_1336401954_c9bec97de5f9e1bc039218a4006f85c7_rle_crop_3667381629_0.png', 1336402029: '1739166333_3622247_1336401952_ea85509ecf6f333153ab8869f33141ab_rle_crop_3667381646_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/fb9658a74aa70872c503c12de1714f66_90033318.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/1891154aefac5da5b04a83d8b76c9ec5_33727933.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/43d1f4cbc00254854a2273a30723dd49_58544003.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/d455851523288f27622e69b29ca6b360_27860780.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/cfc5d0e112f9319e2f4462874b5d336c_23468684.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/2fc154eb074c0e135eef862d45416cc7_1192291.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/1e54e527eabc018bb23de0a093e06b78_24666576.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/b1d22bcf10ec617db0ba9d7dc737719d_64874414.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/6e709115b009978bae2f0edfc65d3216_64480886.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/f250499e4ff442ade2a81bc7074d9fc9_29451887.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/a19cab0593526b96923cba2115ff6ef9_83885552.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/d2c336c6749a3f5af8a0b5e232116b4a_10967190.png change filename to text .imagette203889321739248684/ imagette203889321739248684/1739166191_3620907_1336401707_753bb7a04f9a343c4e4ca68aaa11b500_rle_crop_3667377292_0.png.png imagette203889321739248684/1739166333_3622247_1336401952_ea85509ecf6f333153ab8869f33141ab_rle_crop_3667381646_0.png.png imagette203889321739248684/1739166232_3621226_1336401637_02d63a6223844df4cb7c92f983029f44_rle_crop_3667377463_0.png.png imagette203889321739248684/1739166312_3621989_1336401972_770c4fdc9bf684942a48fb0f883a83a0_rle_crop_3667378071_0.png.png imagette203889321739248684/1739165650_3617167_1336398860_a818804be084606b5ded74802c021b2a_rle_crop_3667372489_0.png.png imagette203889321739248684/1739165650_3617167_1336398860_a818804be084606b5ded74802c021b2a_rle_crop_3667372488_0.png.png imagette203889321739248684/1739166191_3620907_1336401707_753bb7a04f9a343c4e4ca68aaa11b500_rle_crop_3667377287_0.png.png imagette203889321739248684/1739165650_3617167_1336398859_3a32819cd5969310cff8b20f19c177f3_rle_crop_3667372513_0.png.png imagette203889321739248684/1739165650_3617167_1336398860_a818804be084606b5ded74802c021b2a_rle_crop_3667372496_0.png.png imagette203889321739248684/1739165853_3618593_1336398878_072e3b167bae2a75cdb789fc9ffa05ab_rle_crop_3667374367_0.png.png imagette203889321739248684/1739166312_3621989_1336401971_e0b13e90870637df2a247da759118baf_rle_crop_3667380824_0.png.png imagette203889321739248684/1739166351_3622627_1336401954_c9bec97de5f9e1bc039218a4006f85c7_rle_crop_3667381629_0.png.png imagette203889321739248684/1739166351_3622627_1336401954_c9bec97de5f9e1bc039218a4006f85c7_rle_crop_3667381633_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/53642f5894c4c0bc0c8c8e302ad14eed_70397434.png imagette203889321739248684 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20388900 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20388937,20388938,20388939,20388940,20388941,20388942,20388943,20388944,20388945,20388946,20388947,20388948?tags=Carton_brun,flou,Carton_gris,kraft,cartonnette,papier,plastique,Teint_Dans_La_Masse,autre_refus,metal,mal_croppe,environnement your option no_mail is active, we will not send the real mail to your client args[1336402041] : ('0.028910117098467258',) no score found for photo 1336402041 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401991] : ('0.028910117098467258',) no score found for photo 1336401991 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401990] : ('0.028910117098467258',) no score found for photo 1336401990 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401989] : ('0.028910117098467258',) no score found for photo 1336401989 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401973] : ('0.028910117098467258',) no score found for photo 1336401973 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401972] : ('0.028910117098467258',) no score found for photo 1336401972 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401971] : ('0.028910117098467258',) no score found for photo 1336401971 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401954] : ('0.028910117098467258',) no score found for photo 1336401954 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401953] : ('0.028910117098467258',) no score found for photo 1336401953 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401952] : ('0.028910117098467258',) no score found for photo 1336401952 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401951] : ('0.028910117098467258',) no score found for photo 1336401951 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401830] : ('0.028910117098467258',) no score found for photo 1336401830 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401786] : ('0.028910117098467258',) no score found for photo 1336401786 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401707] : ('0.028910117098467258',) no score found for photo 1336401707 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401660] : ('0.028910117098467258',) no score found for photo 1336401660 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401659] : ('0.028910117098467258',) no score found for photo 1336401659 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401649] : ('0.028910117098467258',) no score found for photo 1336401649 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401646] : ('0.028910117098467258',) no score found for photo 1336401646 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401637] : ('0.028910117098467258',) no score found for photo 1336401637 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401564] : ('0.028910117098467258',) no score found for photo 1336401564 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401534] : ('0.028910117098467258',) no score found for photo 1336401534 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401497] : ('0.028910117098467258',) no score found for photo 1336401497 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336401496] : ('0.028910117098467258',) no score found for photo 1336401496 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336400721] : ('0.028910117098467258',) no score found for photo 1336400721 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336400677] : ('0.028910117098467258',) no score found for photo 1336400677 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336400648] : ('0.028910117098467258',) no score found for photo 1336400648 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336400200] : ('0.028910117098467258',) no score found for photo 1336400200 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398919] : ('0.028910117098467258',) no score found for photo 1336398919 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398902] : ('0.028910117098467258',) no score found for photo 1336398902 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398901] : ('0.028910117098467258',) no score found for photo 1336398901 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398900] : ('0.028910117098467258',) no score found for photo 1336398900 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398878] : ('0.028910117098467258',) no score found for photo 1336398878 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398877] : ('0.028910117098467258',) no score found for photo 1336398877 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398861] : ('0.028910117098467258',) no score found for photo 1336398861 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398860] : ('0.028910117098467258',) no score found for photo 1336398860 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398859] : ('0.028910117098467258',) no score found for photo 1336398859 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com args[1336398822] : ('0.028910117098467258',) no score found for photo 1336398822 apple ('0.028910117098467258',) We are sending mail with results at report@fotonower.com refus_total : 0.028910117098467258 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=20388900 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_P20388900_11-02-2025_05_38_01.pdf results_Auto_P20388900_11-02-2025_05_38_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388900_11-02-2025_05_38_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','20388900','results_Auto_P20388900_11-02-2025_05_38_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388900_11-02-2025_05_38_01.pdf','pdf','','0.38','0.028910117098467258') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20388900]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822] map_info['map_portfolio_photo'] : {20388900: [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822]} final : False mtd_id 4302 list_pids : [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822] 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, '2574644') ('4302', '20388900', '1336402041', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401991', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401990', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401989', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401973', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401972', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401971', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401954', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401953', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401952', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401951', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401830', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401786', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401707', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401660', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401659', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401649', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401646', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401637', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401564', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401534', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401497', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401496', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400721', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400677', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400648', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400200', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398919', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398902', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398901', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398900', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398878', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398877', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398861', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398860', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398859', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398822', None, None, None, None, None, '2574644') 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', '20388900', '1336402041', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401991', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401990', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401989', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401973', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401972', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401971', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401954', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401953', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401952', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401951', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401830', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401786', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401707', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401660', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401659', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401649', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401646', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401637', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401564', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401534', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401497', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401496', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400721', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400677', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400648', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400200', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398919', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398902', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398901', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398900', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398878', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398877', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398861', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398860', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398859', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398822', None, None, None, None, None, '2574644')] time used for this insertion : 0.020439624786376953 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.271428108215332 time spend to save output : 0.020783662796020508 total time spend for step 4 : 8.292211771011353 step5:split_time_score Tue Feb 11 05:38:08 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 : ['20388900'] 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 : [('20388900',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20388900) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1336401973: {'path': 'temp/1739248680_1192637_1336401973_1953c367e117e13a67972f8b1cffcc13.jpg', 'extension': 'jpg'}, 1336401989: {'path': 'temp/1739248680_1192637_1336401989_cbb62f28f552569d564803c9a112dbbc.jpg', 'extension': 'jpg'}, 1336401990: {'path': 'temp/1739248680_1192637_1336401990_f6fdaf72f6cecb0d212281873127ad27.jpg', 'extension': 'jpg'}, 1336401991: {'path': 'temp/1739248680_1192637_1336401991_1756dd255411ceb170ed74a37eb3f627.jpg', 'extension': 'jpg'}, 1336402041: {'path': 'temp/1739248680_1192637_1336402041_1cead5feafae2cf5a8b5f31e36b05fe7.jpg', 'extension': 'jpg'}, 1336398902: {'path': 'temp/1739248680_1192637_1336398902_db4351e83a9e7e58b8b46f36ade1fd57.jpg', 'extension': 'jpg'}, 1336398919: {'path': 'temp/1739248680_1192637_1336398919_6b6023573e3bf454c142dec6e7529b29.jpg', 'extension': 'jpg'}, 1336400200: {'path': 'temp/1739248680_1192637_1336400200_58004c76ef404fffc5b9372f6aef55f7.jpg', 'extension': 'jpg'}, 1336400648: {'path': 'temp/1739248680_1192637_1336400648_082649d1254e99d5a1309fb6dfd1be97.jpg', 'extension': 'jpg'}, 1336400677: {'path': 'temp/1739248680_1192637_1336400677_90e9b32419c38992fb2cbafcc3a3ff3c.jpg', 'extension': 'jpg'}, 1336400721: {'path': 'temp/1739248680_1192637_1336400721_13af14e5394dede872195411e8b111f8.jpg', 'extension': 'jpg'}, 1336401496: {'path': 'temp/1739248680_1192637_1336401496_7dbac5d86130ed5a1bfe00f6b72a18e7.jpg', 'extension': 'jpg'}, 1336401497: {'path': 'temp/1739248680_1192637_1336401497_38b4fb2fc1562787501acc4798352729.jpg', 'extension': 'jpg'}, 1336401786: {'path': 'temp/1739248680_1192637_1336401786_66d2d0943b514e5f9ddfcc98c474f1a8.jpg', 'extension': 'jpg'}, 1336401830: {'path': 'temp/1739248680_1192637_1336401830_5be3aeb2ed0aba8155946cfe11bbe900.jpg', 'extension': 'jpg'}, 1336401951: {'path': 'temp/1739248680_1192637_1336401951_91dae517e747e516796e74ddf05e10a4.jpg', 'extension': 'jpg'}, 1336401952: {'path': 'temp/1739248680_1192637_1336401952_ea85509ecf6f333153ab8869f33141ab.jpg', 'extension': 'jpg'}, 1336401953: {'path': 'temp/1739248680_1192637_1336401953_fe5603bc13e29667a846d68c2ee9eff7.jpg', 'extension': 'jpg'}, 1336401954: {'path': 'temp/1739248680_1192637_1336401954_c9bec97de5f9e1bc039218a4006f85c7.jpg', 'extension': 'jpg'}, 1336401971: {'path': 'temp/1739248680_1192637_1336401971_e0b13e90870637df2a247da759118baf.jpg', 'extension': 'jpg'}, 1336401972: {'path': 'temp/1739248680_1192637_1336401972_770c4fdc9bf684942a48fb0f883a83a0.jpg', 'extension': 'jpg'}, 1336398822: {'path': 'temp/1739248680_1192637_1336398822_54190ce8ba477dee06a693ce6c9a47f6.jpg', 'extension': 'jpg'}, 1336398859: {'path': 'temp/1739248680_1192637_1336398859_3a32819cd5969310cff8b20f19c177f3.jpg', 'extension': 'jpg'}, 1336398860: {'path': 'temp/1739248680_1192637_1336398860_a818804be084606b5ded74802c021b2a.jpg', 'extension': 'jpg'}, 1336398861: {'path': 'temp/1739248680_1192637_1336398861_083f73aa4e7d34a14f5aba0d1ca6e9a9.jpg', 'extension': 'jpg'}, 1336398877: {'path': 'temp/1739248680_1192637_1336398877_5244f60c6b78491c636b6ff0fa49b932.jpg', 'extension': 'jpg'}, 1336398878: {'path': 'temp/1739248680_1192637_1336398878_072e3b167bae2a75cdb789fc9ffa05ab.jpg', 'extension': 'jpg'}, 1336398900: {'path': 'temp/1739248680_1192637_1336398900_ac2815aad1c632997975dfc8ee4cc4f3.jpg', 'extension': 'jpg'}, 1336398901: {'path': 'temp/1739248680_1192637_1336398901_a4b600fb9d93e060da6091cc4e663635.jpg', 'extension': 'jpg'}, 1336401534: {'path': 'temp/1739248680_1192637_1336401534_a5a2c64e53198a252aa6692a9a9a6df9.jpg', 'extension': 'jpg'}, 1336401564: {'path': 'temp/1739248680_1192637_1336401564_82581ce54f1d2254bfe3178120300313.jpg', 'extension': 'jpg'}, 1336401637: {'path': 'temp/1739248680_1192637_1336401637_02d63a6223844df4cb7c92f983029f44.jpg', 'extension': 'jpg'}, 1336401646: {'path': 'temp/1739248680_1192637_1336401646_8d207ae5ab87b731a392266531931c12.jpg', 'extension': 'jpg'}, 1336401649: {'path': 'temp/1739248680_1192637_1336401649_2fdecc4de99adc083049ee5a02ba6f77.jpg', 'extension': 'jpg'}, 1336401659: {'path': 'temp/1739248680_1192637_1336401659_1ba888c948a22213fbb3b54eaf385f2d.jpg', 'extension': 'jpg'}, 1336401660: {'path': 'temp/1739248680_1192637_1336401660_852fed0e4f07893e6bad0f08f27816da.jpg', 'extension': 'jpg'}, 1336401707: {'path': 'temp/1739248680_1192637_1336401707_753bb7a04f9a343c4e4ca68aaa11b500.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 = 20388900; (('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 = 20388900 group by h (('06', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20388900 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 (20388900) 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 (20388900) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10022025 20388900 Nombre de photos uploadées : 37 / 23040 (0%) 10022025 20388900 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 10022025 20388900 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1336398822, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/54190ce8ba477dee06a693ce6c9a47f6.jpg', 'username': None, 'uploaded_at': 1739165467, 'text': 'image_10022025_06_30_04_010160m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1336398861, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/083f73aa4e7d34a14f5aba0d1ca6e9a9.jpg', 'username': None, 'uploaded_at': 1739165527, 'text': 'image_10022025_06_30_34_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1336398860, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/a818804be084606b5ded74802c021b2a.jpg', 'username': None, 'uploaded_at': 1739165527, 'text': 'image_10022025_06_31_03_010145m0.jpg 3.0000000000000004e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1336398859, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/10/3a32819cd5969310cff8b20f19c177f3.jpg', 'username': None, 'uploaded_at': 1739165527, 'text': 'image_10022025_06_31_34_010149m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018961429595947266 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20388900, '2025-02-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1590566,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023283720016479492 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= 1590566 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20385910, 'dashboard_result_id': 8806409, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20385910_11-02-2025_05_34_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20385912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20385913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20385914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20385915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20385916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20385917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20385918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20385919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20385920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20385921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20385922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20385923, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20386506, 'dashboard_result_id': 8806410, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20386506_11-02-2025_05_35_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20386509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20386510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20386511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20386512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20386513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20386514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20386515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20386516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20386517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20386518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20386519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20386520, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20387155, 'dashboard_result_id': 8806411, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20387155_11-02-2025_05_36_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20387159, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20387160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20387161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20387162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20387163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20387164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20387165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20387166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20387167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20387168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20387169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20387170, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20387604, 'dashboard_result_id': 8806412, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20387604_11-02-2025_05_36_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20387657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20387658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20387659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20387660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20387661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20387662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20387664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20387665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20387666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20387668, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20388339, 'dashboard_result_id': 8806413, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388339_11-02-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20388366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20388367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20388368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20388369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20388370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20388371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20388372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20388373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20388374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20388375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20388376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20388377, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20388900, 'dashboard_result_id': 8806414, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388900_10-02-2025_06_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20388925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20388926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20388927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20388928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20388929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20388930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20388931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20388932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20388933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20388934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20388935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20388936, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20389401, 'dashboard_result_id': 8806415, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20389401_10-02-2025_07_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20389453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20389454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20389455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20389456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20389457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20389458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20389459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20389460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20389461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20389462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20389463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20389464, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20390022, 'dashboard_result_id': 8806416, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20390022_10-02-2025_07_21_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20390028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20390029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20390030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20390031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20390032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20390033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20390034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20390035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20390036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20390037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20390038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20390039, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20390450, 'dashboard_result_id': 8806417, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20390450_10-02-2025_07_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20390461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20390462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20390463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20390464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20390465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20390466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20390467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20390468, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20390469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20390470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20390471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20390472, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20391351, 'dashboard_result_id': 8806418, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20391351_10-02-2025_07_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20391352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20391353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20391354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20391355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20391356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20391357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20391358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20391359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20391360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20391361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20391362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20391363, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20392040, 'dashboard_result_id': 8806419, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392040_10-02-2025_08_02_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20392044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392055, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20392465, 'dashboard_result_id': 8806420, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392465_10-02-2025_08_17_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20392474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392479, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20392797, 'dashboard_result_id': 8806421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392797_10-02-2025_08_39_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20392803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392811, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20393489, 'dashboard_result_id': 8806422, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20393489_10-02-2025_08_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20393490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20393491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20393492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20393493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20393494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20393495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20393496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20393497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20393498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20393499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20393500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20393501, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20393752, 'dashboard_result_id': 8806423, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20393752_10-02-2025_09_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20393761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20393762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20393763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20393764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20393765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20393766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20393767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20393768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20393769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20393770, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20393771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20393772, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20395726, 'dashboard_result_id': 8806424, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20395726_10-02-2025_10_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20395730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20395731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20395732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20395733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20395734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20395735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20395736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20395737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20395738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20395739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20395740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20395741, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20396366, 'dashboard_result_id': 8806425, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20396366_10-02-2025_10_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20396369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20396370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20396371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20396372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20396373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20396374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20396375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20396376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20396377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20396378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20396379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20396380, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20396893, 'dashboard_result_id': 8806426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20396893_10-02-2025_10_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20396895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20396896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20396897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20396898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20396899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20396900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20396901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20396902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20396903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20396904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20396905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20396906, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20397393, 'dashboard_result_id': 8806427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20397393_10-02-2025_10_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20397424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20397425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20397426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20397427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20397428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20397429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20397430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20397431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20397432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20397433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20397434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20397435, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20398181, 'dashboard_result_id': 8806428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20398181_10-02-2025_11_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20398185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20398186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20398187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20398188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20398189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20398190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20398191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20398192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20398193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20398194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20398195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20398196, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20398877, 'dashboard_result_id': 8806429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20398877_10-02-2025_11_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20398894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20398895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20398896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20398897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20398898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20398899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20398900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20398901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20398902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20398903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20398904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20398905, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20399462, 'dashboard_result_id': 8806430, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20399462_10-02-2025_11_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20399519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20399520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20399521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20399522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20399523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20399524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20399525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20399526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20399527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20399528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20399529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20399530, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20400361, 'dashboard_result_id': 8806431, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20400361_10-02-2025_11_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20400393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20400394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20400395, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20400396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20400397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20400398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20400399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20400400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20400401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20400402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20400403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20400404, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20401190, 'dashboard_result_id': 8806432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20401190_10-02-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20401254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20401255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20401256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20401257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20401258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20401259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20401260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20401261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20401262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20401263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20401264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20401265, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20401831, 'dashboard_result_id': 8806433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20401831_10-02-2025_12_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20401836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20401837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20401838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20401839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20401840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20401841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20401842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20401843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20401844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20401845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20401846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20401847, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20403638, 'dashboard_result_id': 8806434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20403638_10-02-2025_13_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20403641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20403642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20403643, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20403644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20403645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20403646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20403647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20403648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20403649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20403650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20403651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20403652, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20403826, 'dashboard_result_id': 8806435, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20403826_10-02-2025_14_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20403828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20403829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20403830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20403831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20403832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20403833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20403834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20403835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20403836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20403837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20403838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20403839, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20404290, 'dashboard_result_id': 8806436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20404290_10-02-2025_14_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20404317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20404318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20404319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20404320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20404321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20404322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20404323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20404324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20404325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20404326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20404327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20404328, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20404797, 'dashboard_result_id': 8806437, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20404797_10-02-2025_14_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20404848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20404849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20404850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20404851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20404852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20404853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20404854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20404855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20404856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20404857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20404858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20404859, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20405423, 'dashboard_result_id': 8806438, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20405423_10-02-2025_14_52_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20405431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20405432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20405433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20405434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20405435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20405436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20405437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20405438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20405439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20405440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20405441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20405442, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20406133, 'dashboard_result_id': 8806439, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406133_10-02-2025_15_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20406136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20406137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20406138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20406139, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20406140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20406141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20406142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20406143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20406144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20406145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20406146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20406147, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20406258, 'dashboard_result_id': 8806440, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406258_10-02-2025_15_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20406330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20406331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20406332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20406333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20406334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20406335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20406336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20406337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20406338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20406339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20406340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20406341, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20407074, 'dashboard_result_id': 8806441, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20407074_10-02-2025_15_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20407180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20407181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20407182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20407183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20407184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20407185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20407186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20407187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20407188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20407189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20407190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20407191, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20407690, 'dashboard_result_id': 8806442, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20407690_10-02-2025_15_49_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20407699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20407700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20407701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20407702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20407703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20407704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20407705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20407706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20407707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20407708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20407709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20407710, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20408229, 'dashboard_result_id': 8806443, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20408229_10-02-2025_16_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20408256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20408257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20408258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20408259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20408260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20408261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20408262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20408263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20408264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20408265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20408266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20408267, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20408781, 'dashboard_result_id': 8806444, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20408781_10-02-2025_16_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20408791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20408792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20408793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20408794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20408795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20408796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20408797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20408798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20408799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20408800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20408801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20408802, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20409344, 'dashboard_result_id': 8806445, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20409344_10-02-2025_16_36_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20409351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20409352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20409353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20409354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20409355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20409356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20409357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20409358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20409359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20409360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20409361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20409362, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20410281, 'dashboard_result_id': 8806446, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20410281_10-02-2025_16_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20410285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20410286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20410287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20410288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20410289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20410290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20410291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20410292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20410293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20410294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20410295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20410296, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20410712, 'dashboard_result_id': 8806447, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20410712_10-02-2025_16_56_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20410743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20410744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20410745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20410746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20410747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20410748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20410749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20410750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20410751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20410752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20410753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20410754, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20411318, 'dashboard_result_id': 8806448, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20411318_10-02-2025_17_18_56.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20411319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20411320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20411321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20411322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20411323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20411324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20411325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20411326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20411327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20411328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20411329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20411330, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20411932, 'dashboard_result_id': 8806449, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20411932_10-02-2025_17_59_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20411939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20411940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20411941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20411942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20411943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20411944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20411945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20411946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20411947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20411948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20411949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20411950, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20413473, 'dashboard_result_id': 8806450, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20413473_10-02-2025_18_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20413476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20413477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20413478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20413479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20413480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20413481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20413482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20413483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20413484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20413485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20413486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20413487, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20413963, 'dashboard_result_id': 8806451, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20413963_10-02-2025_18_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20414005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20414006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20414007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20414008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20414009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20414010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20414011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20414012, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20414013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20414014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20414015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20414016, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20414667, 'dashboard_result_id': 8806452, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20414667_10-02-2025_18_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20414707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20414708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20414709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20414710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20414711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20414712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20414713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20414714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20414715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20414716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20414717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20414718, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20415179, 'dashboard_result_id': 8806453, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20415179_10-02-2025_19_07_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20415210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20415211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20415212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20415213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20415214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20415215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20415216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20415217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20415218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20415219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20415220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20415221, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20415816, 'dashboard_result_id': 8806454, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20415816_10-02-2025_19_19_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20415821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20415822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20415823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20415824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20415825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20415826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20415827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20415828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20415829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20415830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20415831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20415832, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20416196, 'dashboard_result_id': 8806455, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20416196_10-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20416205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20416206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20416207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20416208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20416209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20416210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20416211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20416212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20416213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20416214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20416215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20416216, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20417130, 'dashboard_result_id': 8806456, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20417130_10-02-2025_19_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20417159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20417160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20417161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20417162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20417163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20417164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20417165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20417166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20417167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20417168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20417169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20417170, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20417760, 'dashboard_result_id': 8806457, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20417760_10-02-2025_20_02_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20417765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20417766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20417767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20417768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20417769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20417770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20417771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20417772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20417773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20417774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20417775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20417776, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20418372, 'dashboard_result_id': 8806458, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20418372_10-02-2025_20_19_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20418403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20418404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20418405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20418406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20418407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20418408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20418409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20418410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20418411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20418412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20418413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20418414, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20419018, 'dashboard_result_id': 8806459, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20419018_10-02-2025_20_36_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20419074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20419075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20419076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20419077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20419078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20419079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20419080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20419081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20419082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20419083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20419084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20419085, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20419716, 'dashboard_result_id': 8806460, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20419716_10-02-2025_21_08_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20419748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20419749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20419750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20419751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20419752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20419753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20419754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20419755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20419756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20419757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20419758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20419759, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20421491, 'dashboard_result_id': 8806461, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20421491_10-02-2025_21_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20421506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20421507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20421508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20421509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20421510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20421511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20421512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20421513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20421514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20421515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20421516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20421517, 'pht': 3726}}"}, {'dashboat_entry_day': 1590566, 'dashboard_run_id': 1601454, 'mtr_portfolio_id': 20422277, 'dashboard_result_id': 8806462, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20422277_10-02-2025_22_20_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20422278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20422279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20422280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20422281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20422282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20422283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20422284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20422285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20422286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20422287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20422288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20422289, '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 = 20385910 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2574639, 'mtr_portfolio_id': 20385910, 'created_at': datetime.datetime(2025, 2, 11, 5, 34, 35), 'result': '0.053970389572486226', 'result_long': None, 'result_double': None}] Qualite : 0.053970389572486226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20385910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20385910_11-02-2025_05_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20385910 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20385910_11-02-2025_05_34_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20385912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20385913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20385914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20385915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20385916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20385917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20385918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20385919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20385920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20385921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20385922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20385923, 'pht': 3726}}" where mtr_portfolio_id = 20385910 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20385910 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806409, 0.053970389572486226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20385910_11-02-2025_05_34_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20385912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20385913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20385914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20385915, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20385916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20385917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20385918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20385919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20385920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20385921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20385922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20385923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20386506 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2574640, 'mtr_portfolio_id': 20386506, 'created_at': datetime.datetime(2025, 2, 11, 5, 35, 35), 'result': '0.04705470882551621', 'result_long': None, 'result_double': None}] Qualite : 0.04705470882551621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20386506 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20386506_11-02-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20386506 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20386506_11-02-2025_05_35_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20386509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20386510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20386511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20386512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20386513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20386514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20386515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20386516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20386517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20386518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20386519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20386520, 'pht': 3726}}" where mtr_portfolio_id = 20386506 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20386506 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806410, 0.04705470882551621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20386506_11-02-2025_05_35_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20386509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20386510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20386511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20386512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20386513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20386514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20386515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20386516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20386517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20386518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20386519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20386520, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20387155 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2574641, 'mtr_portfolio_id': 20387155, 'created_at': datetime.datetime(2025, 2, 11, 5, 36, 1), 'result': '0.05573003707830726', 'result_long': None, 'result_double': None}] Qualite : 0.05573003707830726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20387155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20387155_11-02-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20387155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20387155_11-02-2025_05_36_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20387159, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20387160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20387161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20387162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20387163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20387164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20387165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20387166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20387167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20387168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20387169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20387170, 'pht': 3726}}" where mtr_portfolio_id = 20387155 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20387155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806411, 0.05573003707830726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20387155_11-02-2025_05_36_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20387159, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20387160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20387161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20387162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20387163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20387164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20387165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20387166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20387167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20387168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20387169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20387170, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20387604 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2574642, 'mtr_portfolio_id': 20387604, 'created_at': datetime.datetime(2025, 2, 11, 5, 36, 34), 'result': '0.04451128947450273', 'result_long': None, 'result_double': None}] Qualite : 0.04451128947450273 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20387604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20387604_11-02-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20387604 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20387604_11-02-2025_05_36_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20387657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20387658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20387659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20387660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20387661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20387662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20387664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20387665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20387666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20387668, 'pht': 3726}}" where mtr_portfolio_id = 20387604 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20387604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806412, 0.04451128947450273, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20387604_11-02-2025_05_36_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20387657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20387658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20387659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20387660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20387661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20387662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20387664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20387665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20387666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20387668, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20388339 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2574643, 'mtr_portfolio_id': 20388339, 'created_at': datetime.datetime(2025, 2, 11, 5, 37, 32), 'result': '0.048056128363145705', 'result_long': None, 'result_double': None}] Qualite : 0.048056128363145705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20388339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388339_11-02-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20388339 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388339_11-02-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20388366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20388367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20388368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20388369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20388370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20388371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20388372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20388373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20388374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20388375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20388376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20388377, 'pht': 3726}}" where mtr_portfolio_id = 20388339 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20388339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806413, 0.048056128363145705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388339_11-02-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20388366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20388367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20388368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20388369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20388370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20388371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20388372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20388373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20388374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20388375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20388376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20388377, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20388900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2574644, 'mtr_portfolio_id': 20388900, 'created_at': datetime.datetime(2025, 2, 11, 5, 37, 59), 'result': '0.028910117098467258', 'result_long': None, 'result_double': None}] Qualite : 0.028910117098467258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20388900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388900_11-02-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20388900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388900_11-02-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20388925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20388926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20388927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20388928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20388929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20388930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20388931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20388932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20388933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20388934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20388935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20388936, 'pht': 3726}}" where mtr_portfolio_id = 20388900 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20388900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806414, 0.028910117098467258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20388900_11-02-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20388925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20388926, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20388927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20388928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20388929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20388930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20388931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20388932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20388933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20388934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20388935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20388936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20389401 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570133, 'mtr_portfolio_id': 20389401, 'created_at': datetime.datetime(2025, 2, 10, 7, 3, 28), 'result': '0.038159602387945246', 'result_long': None, 'result_double': None}] Qualite : 0.038159602387945246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20389401 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20389401_10-02-2025_07_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20389401 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20389401_10-02-2025_07_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20389453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20389454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20389455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20389456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20389457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20389458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20389459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20389460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20389461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20389462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20389463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20389464, 'pht': 3726}}" where mtr_portfolio_id = 20389401 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20389401 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806415, 0.038159602387945246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20389401_10-02-2025_07_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20389453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20389454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20389455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20389456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20389457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20389458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20389459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20389460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20389461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20389462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20389463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20389464, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20390022 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570175, 'mtr_portfolio_id': 20390022, 'created_at': datetime.datetime(2025, 2, 10, 7, 21), 'result': '0.06974834290800017', 'result_long': None, 'result_double': None}] Qualite : 0.06974834290800017 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20390022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20390022_10-02-2025_07_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20390022 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20390022_10-02-2025_07_21_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20390028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20390029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20390030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20390031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20390032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20390033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20390034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20390035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20390036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20390037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20390038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20390039, 'pht': 3726}}" where mtr_portfolio_id = 20390022 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20390022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806416, 0.06974834290800017, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20390022_10-02-2025_07_21_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20390028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20390029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20390030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20390031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20390032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20390033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20390034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20390035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20390036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20390037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20390038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20390039, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20390450 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570203, 'mtr_portfolio_id': 20390450, 'created_at': datetime.datetime(2025, 2, 10, 7, 32, 58), 'result': '0.04310914387085665', 'result_long': None, 'result_double': None}] Qualite : 0.04310914387085665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20390450 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20390450_10-02-2025_07_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20390450 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20390450_10-02-2025_07_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20390461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20390462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20390463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20390464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20390465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20390466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20390467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20390468, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20390469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20390470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20390471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20390472, 'pht': 3726}}" where mtr_portfolio_id = 20390450 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20390450 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806417, 0.04310914387085665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20390450_10-02-2025_07_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20390461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20390462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20390463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20390464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20390465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20390466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20390467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20390468, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20390469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20390470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20390471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20390472, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20391351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570258, 'mtr_portfolio_id': 20391351, 'created_at': datetime.datetime(2025, 2, 10, 7, 48, 59), 'result': '0.04540133680036991', 'result_long': None, 'result_double': None}] Qualite : 0.04540133680036991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20391351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20391351_10-02-2025_07_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20391351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20391351_10-02-2025_07_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20391352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20391353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20391354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20391355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20391356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20391357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20391358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20391359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20391360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20391361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20391362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20391363, 'pht': 3726}}" where mtr_portfolio_id = 20391351 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20391351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806418, 0.04540133680036991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20391351_10-02-2025_07_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20391352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20391353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20391354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20391355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20391356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20391357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20391358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20391359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20391360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20391361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20391362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20391363, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20392040 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570298, 'mtr_portfolio_id': 20392040, 'created_at': datetime.datetime(2025, 2, 10, 8, 2, 34), 'result': '0.03176252321470962', 'result_long': None, 'result_double': None}] Qualite : 0.03176252321470962 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20392040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392040_10-02-2025_08_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20392040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392040_10-02-2025_08_02_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20392044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392055, 'pht': 3726}}" where mtr_portfolio_id = 20392040 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20392040 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806419, 0.03176252321470962, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392040_10-02-2025_08_02_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20392044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392055, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20392465 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570340, 'mtr_portfolio_id': 20392465, 'created_at': datetime.datetime(2025, 2, 10, 8, 17, 1), 'result': '0.03474514197051725', 'result_long': None, 'result_double': None}] Qualite : 0.03474514197051725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20392465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392465_10-02-2025_08_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20392465 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392465_10-02-2025_08_17_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20392474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392479, 'pht': 3726}}" where mtr_portfolio_id = 20392465 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20392465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806420, 0.03474514197051725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392465_10-02-2025_08_17_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20392474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392479, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20392797 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570360, 'mtr_portfolio_id': 20392797, 'created_at': datetime.datetime(2025, 2, 10, 8, 38, 58), 'result': '0.05410035942697717', 'result_long': None, 'result_double': None}] Qualite : 0.05410035942697717 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20392797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392797_10-02-2025_08_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20392797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392797_10-02-2025_08_39_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20392803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392811, 'pht': 3726}}" where mtr_portfolio_id = 20392797 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20392797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806421, 0.05410035942697717, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20392797_10-02-2025_08_39_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20392800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20392801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20392802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20392803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20392804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20392805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20392806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20392807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20392808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20392809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20392810, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20392811, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20393489 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570407, 'mtr_portfolio_id': 20393489, 'created_at': datetime.datetime(2025, 2, 10, 8, 46, 29), 'result': '0.029614137120640625', 'result_long': None, 'result_double': None}] Qualite : 0.029614137120640625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20393489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20393489_10-02-2025_08_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20393489 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20393489_10-02-2025_08_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20393490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20393491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20393492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20393493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20393494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20393495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20393496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20393497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20393498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20393499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20393500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20393501, 'pht': 3726}}" where mtr_portfolio_id = 20393489 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20393489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806422, 0.029614137120640625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20393489_10-02-2025_08_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20393490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20393491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20393492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20393493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20393494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20393495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20393496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20393497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20393498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20393499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20393500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20393501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20393752 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570441, 'mtr_portfolio_id': 20393752, 'created_at': datetime.datetime(2025, 2, 10, 9, 3), 'result': '0.0421279834374276', 'result_long': None, 'result_double': None}] Qualite : 0.0421279834374276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20393752 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20393752_10-02-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20393752 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20393752_10-02-2025_09_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20393761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20393762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20393763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20393764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20393765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20393766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20393767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20393768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20393769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20393770, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20393771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20393772, 'pht': 3726}}" where mtr_portfolio_id = 20393752 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20393752 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806423, 0.0421279834374276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20393752_10-02-2025_09_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20393761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20393762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20393763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20393764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20393765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20393766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20393767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20393768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20393769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20393770, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20393771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20393772, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20395726 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570650, 'mtr_portfolio_id': 20395726, 'created_at': datetime.datetime(2025, 2, 10, 10, 2, 57), 'result': '0.044456337169473906', 'result_long': None, 'result_double': None}] Qualite : 0.044456337169473906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20395726 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20395726_10-02-2025_10_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20395726 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20395726_10-02-2025_10_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20395730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20395731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20395732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20395733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20395734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20395735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20395736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20395737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20395738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20395739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20395740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20395741, 'pht': 3726}}" where mtr_portfolio_id = 20395726 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20395726 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806424, 0.044456337169473906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20395726_10-02-2025_10_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20395730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20395731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20395732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20395733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20395734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20395735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20395736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20395737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20395738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20395739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20395740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20395741, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20396366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570689, 'mtr_portfolio_id': 20396366, 'created_at': datetime.datetime(2025, 2, 10, 10, 16, 58), 'result': '0.04118415370043225', 'result_long': None, 'result_double': None}] Qualite : 0.04118415370043225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20396366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20396366_10-02-2025_10_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20396366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20396366_10-02-2025_10_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20396369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20396370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20396371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20396372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20396373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20396374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20396375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20396376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20396377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20396378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20396379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20396380, 'pht': 3726}}" where mtr_portfolio_id = 20396366 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20396366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806425, 0.04118415370043225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20396366_10-02-2025_10_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20396369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20396370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20396371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20396372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20396373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20396374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20396375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20396376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20396377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20396378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20396379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20396380, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20396893 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570719, 'mtr_portfolio_id': 20396893, 'created_at': datetime.datetime(2025, 2, 10, 10, 32, 59), 'result': '0.03383714306070083', 'result_long': None, 'result_double': None}] Qualite : 0.03383714306070083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20396893 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20396893_10-02-2025_10_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20396893 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20396893_10-02-2025_10_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20396895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20396896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20396897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20396898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20396899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20396900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20396901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20396902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20396903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20396904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20396905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20396906, 'pht': 3726}}" where mtr_portfolio_id = 20396893 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20396893 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806426, 0.03383714306070083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20396893_10-02-2025_10_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20396895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20396896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20396897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20396898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20396899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20396900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20396901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20396902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20396903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20396904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20396905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20396906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20397393 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570759, 'mtr_portfolio_id': 20397393, 'created_at': datetime.datetime(2025, 2, 10, 10, 46, 30), 'result': '0.03375196302023234', 'result_long': None, 'result_double': None}] Qualite : 0.03375196302023234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20397393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20397393_10-02-2025_10_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20397393 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20397393_10-02-2025_10_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20397424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20397425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20397426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20397427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20397428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20397429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20397430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20397431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20397432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20397433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20397434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20397435, 'pht': 3726}}" where mtr_portfolio_id = 20397393 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20397393 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806427, 0.03375196302023234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20397393_10-02-2025_10_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20397424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20397425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20397426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20397427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20397428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20397429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20397430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20397431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20397432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20397433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20397434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20397435, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20398181 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570804, 'mtr_portfolio_id': 20398181, 'created_at': datetime.datetime(2025, 2, 10, 11, 2, 58), 'result': '0.04663460772982113', 'result_long': None, 'result_double': None}] Qualite : 0.04663460772982113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20398181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20398181_10-02-2025_11_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20398181 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20398181_10-02-2025_11_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20398185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20398186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20398187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20398188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20398189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20398190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20398191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20398192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20398193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20398194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20398195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20398196, 'pht': 3726}}" where mtr_portfolio_id = 20398181 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20398181 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806428, 0.04663460772982113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20398181_10-02-2025_11_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20398185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20398186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20398187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20398188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20398189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20398190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20398191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20398192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20398193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20398194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20398195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20398196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20398877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570857, 'mtr_portfolio_id': 20398877, 'created_at': datetime.datetime(2025, 2, 10, 11, 16, 58), 'result': '0.0304240824441669', 'result_long': None, 'result_double': None}] Qualite : 0.0304240824441669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20398877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20398877_10-02-2025_11_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20398877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20398877_10-02-2025_11_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20398894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20398895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20398896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20398897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20398898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20398899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20398900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20398901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20398902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20398903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20398904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20398905, 'pht': 3726}}" where mtr_portfolio_id = 20398877 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20398877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806429, 0.0304240824441669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20398877_10-02-2025_11_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20398894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20398895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20398896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20398897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20398898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20398899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20398900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20398901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20398902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20398903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20398904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20398905, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20399462 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570903, 'mtr_portfolio_id': 20399462, 'created_at': datetime.datetime(2025, 2, 10, 11, 32, 59), 'result': '0.02886911007169922', 'result_long': None, 'result_double': None}] Qualite : 0.02886911007169922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20399462 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20399462_10-02-2025_11_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20399462 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20399462_10-02-2025_11_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20399519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20399520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20399521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20399522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20399523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20399524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20399525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20399526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20399527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20399528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20399529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20399530, 'pht': 3726}}" where mtr_portfolio_id = 20399462 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20399462 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806430, 0.02886911007169922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20399462_10-02-2025_11_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20399519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20399520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20399521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20399522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20399523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20399524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20399525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20399526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20399527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20399528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20399529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20399530, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20400361 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2570977, 'mtr_portfolio_id': 20400361, 'created_at': datetime.datetime(2025, 2, 10, 11, 48, 59), 'result': '0.0386963625159788', 'result_long': None, 'result_double': None}] Qualite : 0.0386963625159788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20400361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20400361_10-02-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20400361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20400361_10-02-2025_11_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20400393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20400394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20400395, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20400396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20400397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20400398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20400399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20400400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20400401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20400402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20400403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20400404, 'pht': 3726}}" where mtr_portfolio_id = 20400361 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20400361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806431, 0.0386963625159788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20400361_10-02-2025_11_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20400393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20400394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20400395, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20400396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20400397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20400398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20400399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20400400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20400401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20400402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20400403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20400404, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20401190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571025, 'mtr_portfolio_id': 20401190, 'created_at': datetime.datetime(2025, 2, 10, 12, 4, 58), 'result': '0.04203959900842754', 'result_long': None, 'result_double': None}] Qualite : 0.04203959900842754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20401190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20401190_10-02-2025_12_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20401190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20401190_10-02-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20401254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20401255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20401256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20401257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20401258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20401259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20401260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20401261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20401262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20401263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20401264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20401265, 'pht': 3726}}" where mtr_portfolio_id = 20401190 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20401190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806432, 0.04203959900842754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20401190_10-02-2025_12_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20401254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20401255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20401256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20401257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20401258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20401259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20401260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20401261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20401262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20401263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20401264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20401265, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20401831 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571071, 'mtr_portfolio_id': 20401831, 'created_at': datetime.datetime(2025, 2, 10, 12, 38, 59), 'result': '0.04161337351322411', 'result_long': None, 'result_double': None}] Qualite : 0.04161337351322411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20401831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20401831_10-02-2025_12_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20401831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20401831_10-02-2025_12_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20401836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20401837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20401838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20401839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20401840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20401841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20401842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20401843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20401844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20401845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20401846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20401847, 'pht': 3726}}" where mtr_portfolio_id = 20401831 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20401831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806433, 0.04161337351322411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20401831_10-02-2025_12_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20401836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20401837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20401838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20401839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20401840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20401841, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20401842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20401843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20401844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20401845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20401846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20401847, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20403638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571276, 'mtr_portfolio_id': 20403638, 'created_at': datetime.datetime(2025, 2, 10, 13, 47), 'result': '0.04303689932406644', 'result_long': None, 'result_double': None}] Qualite : 0.04303689932406644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20403638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20403638_10-02-2025_13_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20403638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20403638_10-02-2025_13_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20403641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20403642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20403643, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20403644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20403645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20403646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20403647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20403648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20403649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20403650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20403651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20403652, 'pht': 3726}}" where mtr_portfolio_id = 20403638 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20403638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806434, 0.04303689932406644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20403638_10-02-2025_13_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20403641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20403642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20403643, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20403644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20403645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20403646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20403647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20403648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20403649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20403650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20403651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20403652, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20403826 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571291, 'mtr_portfolio_id': 20403826, 'created_at': datetime.datetime(2025, 2, 10, 14, 3, 2), 'result': '0.026437720266778708', 'result_long': None, 'result_double': None}] Qualite : 0.026437720266778708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20403826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20403826_10-02-2025_14_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20403826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20403826_10-02-2025_14_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20403828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20403829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20403830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20403831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20403832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20403833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20403834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20403835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20403836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20403837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20403838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20403839, 'pht': 3726}}" where mtr_portfolio_id = 20403826 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20403826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806435, 0.026437720266778708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20403826_10-02-2025_14_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20403828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20403829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20403830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20403831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20403832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20403833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20403834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20403835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20403836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20403837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20403838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20403839, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20404290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571340, 'mtr_portfolio_id': 20404290, 'created_at': datetime.datetime(2025, 2, 10, 14, 18, 59), 'result': '0.04249183506631398', 'result_long': None, 'result_double': None}] Qualite : 0.04249183506631398 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20404290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20404290_10-02-2025_14_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20404290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20404290_10-02-2025_14_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20404317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20404318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20404319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20404320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20404321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20404322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20404323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20404324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20404325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20404326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20404327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20404328, 'pht': 3726}}" where mtr_portfolio_id = 20404290 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20404290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806436, 0.04249183506631398, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20404290_10-02-2025_14_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20404317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20404318, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20404319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20404320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20404321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20404322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20404323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20404324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20404325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20404326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20404327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20404328, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20404797 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571379, 'mtr_portfolio_id': 20404797, 'created_at': datetime.datetime(2025, 2, 10, 14, 32, 59), 'result': '0.03918064566145079', 'result_long': None, 'result_double': None}] Qualite : 0.03918064566145079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20404797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20404797_10-02-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20404797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20404797_10-02-2025_14_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20404848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20404849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20404850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20404851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20404852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20404853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20404854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20404855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20404856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20404857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20404858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20404859, 'pht': 3726}}" where mtr_portfolio_id = 20404797 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20404797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806437, 0.03918064566145079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20404797_10-02-2025_14_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20404848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20404849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20404850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20404851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20404852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20404853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20404854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20404855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20404856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20404857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20404858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20404859, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20405423 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571420, 'mtr_portfolio_id': 20405423, 'created_at': datetime.datetime(2025, 2, 10, 14, 52, 28), 'result': '0.0469036190600358', 'result_long': None, 'result_double': None}] Qualite : 0.0469036190600358 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20405423 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20405423_10-02-2025_14_52_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20405423 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20405423_10-02-2025_14_52_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20405431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20405432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20405433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20405434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20405435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20405436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20405437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20405438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20405439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20405440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20405441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20405442, 'pht': 3726}}" where mtr_portfolio_id = 20405423 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20405423 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806438, 0.0469036190600358, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20405423_10-02-2025_14_52_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20405431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20405432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20405433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20405434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20405435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20405436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20405437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20405438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20405439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20405440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20405441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20405442, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20406133 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571498, 'mtr_portfolio_id': 20406133, 'created_at': datetime.datetime(2025, 2, 10, 15, 2, 59), 'result': '0.019536504791214916', 'result_long': None, 'result_double': None}] Qualite : 0.019536504791214916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20406133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406133_10-02-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406133_10-02-2025_15_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20406136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20406137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20406138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20406139, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20406140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20406141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20406142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20406143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20406144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20406145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20406146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20406147, 'pht': 3726}}" where mtr_portfolio_id = 20406133 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806439, 0.019536504791214916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406133_10-02-2025_15_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20406136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20406137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20406138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20406139, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20406140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20406141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20406142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20406143, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20406144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20406145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20406146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20406147, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20406258 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571512, 'mtr_portfolio_id': 20406258, 'created_at': datetime.datetime(2025, 2, 10, 15, 18, 59), 'result': '0.03954831430277557', 'result_long': None, 'result_double': None}] Qualite : 0.03954831430277557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20406258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406258_10-02-2025_15_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406258 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406258_10-02-2025_15_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20406330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20406331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20406332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20406333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20406334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20406335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20406336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20406337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20406338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20406339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20406340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20406341, 'pht': 3726}}" where mtr_portfolio_id = 20406258 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806440, 0.03954831430277557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406258_10-02-2025_15_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20406330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20406331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20406332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20406333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20406334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20406335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20406336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20406337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20406338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20406339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20406340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20406341, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20407074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571604, 'mtr_portfolio_id': 20407074, 'created_at': datetime.datetime(2025, 2, 10, 15, 32, 57), 'result': '0.024266072332579408', 'result_long': None, 'result_double': None}] Qualite : 0.024266072332579408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20407074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20407074_10-02-2025_15_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20407074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20407074_10-02-2025_15_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20407180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20407181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20407182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20407183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20407184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20407185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20407186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20407187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20407188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20407189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20407190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20407191, 'pht': 3726}}" where mtr_portfolio_id = 20407074 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20407074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806441, 0.024266072332579408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20407074_10-02-2025_15_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20407180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20407181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20407182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20407183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20407184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20407185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20407186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20407187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20407188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20407189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20407190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20407191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20407690 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571651, 'mtr_portfolio_id': 20407690, 'created_at': datetime.datetime(2025, 2, 10, 15, 49, 28), 'result': '0.04876894727029749', 'result_long': None, 'result_double': None}] Qualite : 0.04876894727029749 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20407690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20407690_10-02-2025_15_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20407690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20407690_10-02-2025_15_49_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20407699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20407700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20407701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20407702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20407703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20407704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20407705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20407706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20407707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20407708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20407709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20407710, 'pht': 3726}}" where mtr_portfolio_id = 20407690 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20407690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806442, 0.04876894727029749, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20407690_10-02-2025_15_49_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20407699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20407700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20407701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20407702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20407703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20407704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20407705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20407706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20407707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20407708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20407709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20407710, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20408229 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571698, 'mtr_portfolio_id': 20408229, 'created_at': datetime.datetime(2025, 2, 10, 16, 2, 58), 'result': '0.03744474442016064', 'result_long': None, 'result_double': None}] Qualite : 0.03744474442016064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20408229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20408229_10-02-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20408229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20408229_10-02-2025_16_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20408256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20408257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20408258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20408259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20408260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20408261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20408262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20408263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20408264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20408265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20408266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20408267, 'pht': 3726}}" where mtr_portfolio_id = 20408229 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20408229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806443, 0.03744474442016064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20408229_10-02-2025_16_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20408256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20408257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20408258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20408259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20408260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20408261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20408262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20408263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20408264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20408265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20408266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20408267, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20408781 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571748, 'mtr_portfolio_id': 20408781, 'created_at': datetime.datetime(2025, 2, 10, 16, 19, 28), 'result': '0.03350087703556562', 'result_long': None, 'result_double': None}] Qualite : 0.03350087703556562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20408781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20408781_10-02-2025_16_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20408781 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20408781_10-02-2025_16_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20408791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20408792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20408793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20408794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20408795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20408796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20408797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20408798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20408799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20408800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20408801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20408802, 'pht': 3726}}" where mtr_portfolio_id = 20408781 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20408781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806444, 0.03350087703556562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20408781_10-02-2025_16_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20408791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20408792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20408793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20408794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20408795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20408796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20408797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20408798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20408799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20408800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20408801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20408802, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20409344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571813, 'mtr_portfolio_id': 20409344, 'created_at': datetime.datetime(2025, 2, 10, 16, 36, 57), 'result': '0.04405785538708066', 'result_long': None, 'result_double': None}] Qualite : 0.04405785538708066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20409344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20409344_10-02-2025_16_36_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20409344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20409344_10-02-2025_16_36_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20409351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20409352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20409353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20409354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20409355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20409356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20409357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20409358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20409359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20409360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20409361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20409362, 'pht': 3726}}" where mtr_portfolio_id = 20409344 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20409344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806445, 0.04405785538708066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20409344_10-02-2025_16_36_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20409351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20409352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20409353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20409354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20409355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20409356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20409357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20409358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20409359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20409360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20409361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20409362, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20410281 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571911, 'mtr_portfolio_id': 20410281, 'created_at': datetime.datetime(2025, 2, 10, 16, 47), 'result': '0.04693606610190485', 'result_long': None, 'result_double': None}] Qualite : 0.04693606610190485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20410281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20410281_10-02-2025_16_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20410281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20410281_10-02-2025_16_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20410285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20410286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20410287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20410288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20410289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20410290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20410291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20410292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20410293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20410294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20410295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20410296, 'pht': 3726}}" where mtr_portfolio_id = 20410281 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20410281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806446, 0.04693606610190485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20410281_10-02-2025_16_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20410285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20410286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20410287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20410288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20410289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20410290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20410291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20410292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20410293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20410294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20410295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20410296, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20410712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2571944, 'mtr_portfolio_id': 20410712, 'created_at': datetime.datetime(2025, 2, 10, 16, 56, 58), 'result': '0.03039747664629459', 'result_long': None, 'result_double': None}] Qualite : 0.03039747664629459 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20410712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20410712_10-02-2025_16_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20410712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20410712_10-02-2025_16_56_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20410743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20410744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20410745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20410746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20410747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20410748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20410749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20410750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20410751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20410752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20410753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20410754, 'pht': 3726}}" where mtr_portfolio_id = 20410712 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20410712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806447, 0.03039747664629459, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20410712_10-02-2025_16_56_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20410743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20410744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20410745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20410746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20410747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20410748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20410749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20410750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20410751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20410752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20410753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20410754, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20411318 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573040, 'mtr_portfolio_id': 20411318, 'created_at': datetime.datetime(2025, 2, 10, 17, 18, 56), 'result': '0.02863896691993974', 'result_long': None, 'result_double': None}] Qualite : 0.02863896691993974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20411318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20411318_10-02-2025_17_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20411318 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20411318_10-02-2025_17_18_56.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20411319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20411320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20411321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20411322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20411323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20411324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20411325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20411326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20411327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20411328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20411329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20411330, 'pht': 3726}}" where mtr_portfolio_id = 20411318 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20411318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806448, 0.02863896691993974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20411318_10-02-2025_17_18_56.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20411319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20411320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20411321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20411322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20411323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20411324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20411325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20411326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20411327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20411328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20411329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20411330, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20411932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573094, 'mtr_portfolio_id': 20411932, 'created_at': datetime.datetime(2025, 2, 10, 17, 59), 'result': '0.05054463050179514', 'result_long': None, 'result_double': None}] Qualite : 0.05054463050179514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20411932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20411932_10-02-2025_17_59_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20411932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20411932_10-02-2025_17_59_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20411939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20411940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20411941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20411942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20411943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20411944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20411945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20411946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20411947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20411948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20411949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20411950, 'pht': 3726}}" where mtr_portfolio_id = 20411932 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20411932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806449, 0.05054463050179514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20411932_10-02-2025_17_59_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20411939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20411940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20411941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20411942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20411943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20411944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20411945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20411946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20411947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20411948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20411949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20411950, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20413473 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573212, 'mtr_portfolio_id': 20413473, 'created_at': datetime.datetime(2025, 2, 10, 18, 16, 58), 'result': '0.03550536732652263', 'result_long': None, 'result_double': None}] Qualite : 0.03550536732652263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20413473 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20413473_10-02-2025_18_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20413473 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20413473_10-02-2025_18_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20413476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20413477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20413478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20413479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20413480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20413481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20413482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20413483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20413484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20413485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20413486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20413487, 'pht': 3726}}" where mtr_portfolio_id = 20413473 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20413473 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806450, 0.03550536732652263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20413473_10-02-2025_18_16_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20413476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20413477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20413478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20413479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20413480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20413481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20413482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20413483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20413484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20413485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20413486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20413487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20413963 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573251, 'mtr_portfolio_id': 20413963, 'created_at': datetime.datetime(2025, 2, 10, 18, 32, 57), 'result': '0.04443659301947966', 'result_long': None, 'result_double': None}] Qualite : 0.04443659301947966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20413963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20413963_10-02-2025_18_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20413963 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20413963_10-02-2025_18_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20414005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20414006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20414007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20414008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20414009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20414010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20414011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20414012, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20414013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20414014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20414015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20414016, 'pht': 3726}}" where mtr_portfolio_id = 20413963 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20413963 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806451, 0.04443659301947966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20413963_10-02-2025_18_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20414005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20414006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20414007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20414008, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20414009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20414010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20414011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20414012, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20414013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20414014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20414015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20414016, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20414667 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573321, 'mtr_portfolio_id': 20414667, 'created_at': datetime.datetime(2025, 2, 10, 18, 46, 59), 'result': '0.050312580063800114', 'result_long': None, 'result_double': None}] Qualite : 0.050312580063800114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20414667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20414667_10-02-2025_18_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20414667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20414667_10-02-2025_18_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20414707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20414708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20414709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20414710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20414711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20414712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20414713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20414714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20414715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20414716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20414717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20414718, 'pht': 3726}}" where mtr_portfolio_id = 20414667 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20414667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806452, 0.050312580063800114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20414667_10-02-2025_18_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20414707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20414708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20414709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20414710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20414711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20414712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20414713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20414714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20414715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20414716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20414717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20414718, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20415179 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573364, 'mtr_portfolio_id': 20415179, 'created_at': datetime.datetime(2025, 2, 10, 19, 7, 31), 'result': '0.04272262394098394', 'result_long': None, 'result_double': None}] Qualite : 0.04272262394098394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20415179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20415179_10-02-2025_19_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20415179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20415179_10-02-2025_19_07_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20415210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20415211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20415212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20415213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20415214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20415215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20415216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20415217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20415218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20415219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20415220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20415221, 'pht': 3726}}" where mtr_portfolio_id = 20415179 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20415179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806453, 0.04272262394098394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20415179_10-02-2025_19_07_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20415210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20415211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20415212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20415213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20415214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20415215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20415216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20415217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20415218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20415219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20415220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20415221, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20415816 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573424, 'mtr_portfolio_id': 20415816, 'created_at': datetime.datetime(2025, 2, 10, 19, 19, 28), 'result': '0.05218739675872446', 'result_long': None, 'result_double': None}] Qualite : 0.05218739675872446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20415816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20415816_10-02-2025_19_19_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20415816 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20415816_10-02-2025_19_19_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20415821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20415822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20415823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20415824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20415825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20415826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20415827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20415828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20415829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20415830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20415831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20415832, 'pht': 3726}}" where mtr_portfolio_id = 20415816 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20415816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806454, 0.05218739675872446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20415816_10-02-2025_19_19_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20415821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20415822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20415823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20415824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20415825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20415826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20415827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20415828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20415829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20415830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20415831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20415832, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20416196 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573453, 'mtr_portfolio_id': 20416196, 'created_at': datetime.datetime(2025, 2, 10, 19, 32, 59), 'result': '0.04823377713949778', 'result_long': None, 'result_double': None}] Qualite : 0.04823377713949778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20416196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20416196_10-02-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20416196 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20416196_10-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20416205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20416206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20416207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20416208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20416209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20416210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20416211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20416212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20416213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20416214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20416215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20416216, 'pht': 3726}}" where mtr_portfolio_id = 20416196 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20416196 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806455, 0.04823377713949778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20416196_10-02-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20416205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20416206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20416207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20416208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20416209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20416210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20416211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20416212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20416213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20416214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20416215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20416216, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20417130 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573530, 'mtr_portfolio_id': 20417130, 'created_at': datetime.datetime(2025, 2, 10, 19, 48, 58), 'result': '0.03967990570325566', 'result_long': None, 'result_double': None}] Qualite : 0.03967990570325566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20417130 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20417130_10-02-2025_19_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20417130 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20417130_10-02-2025_19_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20417159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20417160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20417161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20417162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20417163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20417164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20417165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20417166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20417167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20417168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20417169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20417170, 'pht': 3726}}" where mtr_portfolio_id = 20417130 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20417130 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806456, 0.03967990570325566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20417130_10-02-2025_19_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20417159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20417160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20417161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20417162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20417163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20417164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20417165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20417166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20417167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20417168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20417169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20417170, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20417760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573579, 'mtr_portfolio_id': 20417760, 'created_at': datetime.datetime(2025, 2, 10, 20, 2, 31), 'result': '0.0378389933275283', 'result_long': None, 'result_double': None}] Qualite : 0.0378389933275283 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20417760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20417760_10-02-2025_20_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20417760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20417760_10-02-2025_20_02_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20417765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20417766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20417767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20417768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20417769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20417770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20417771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20417772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20417773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20417774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20417775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20417776, 'pht': 3726}}" where mtr_portfolio_id = 20417760 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20417760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806457, 0.0378389933275283, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20417760_10-02-2025_20_02_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20417765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20417766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20417767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20417768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20417769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20417770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20417771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20417772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20417773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20417774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20417775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20417776, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20418372 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573629, 'mtr_portfolio_id': 20418372, 'created_at': datetime.datetime(2025, 2, 10, 20, 19, 29), 'result': '0.041755095558565596', 'result_long': None, 'result_double': None}] Qualite : 0.041755095558565596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20418372 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20418372_10-02-2025_20_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20418372 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20418372_10-02-2025_20_19_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20418403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20418404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20418405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20418406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20418407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20418408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20418409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20418410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20418411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20418412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20418413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20418414, 'pht': 3726}}" where mtr_portfolio_id = 20418372 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20418372 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806458, 0.041755095558565596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20418372_10-02-2025_20_19_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20418403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20418404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20418405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20418406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20418407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20418408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20418409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20418410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20418411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20418412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20418413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20418414, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20419018 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573676, 'mtr_portfolio_id': 20419018, 'created_at': datetime.datetime(2025, 2, 10, 20, 36, 29), 'result': '0.08329916269238156', 'result_long': None, 'result_double': None}] Qualite : 0.08329916269238156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20419018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20419018_10-02-2025_20_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20419018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20419018_10-02-2025_20_36_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20419074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20419075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20419076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20419077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20419078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20419079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20419080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20419081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20419082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20419083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20419084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20419085, 'pht': 3726}}" where mtr_portfolio_id = 20419018 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20419018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806459, 0.08329916269238156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20419018_10-02-2025_20_36_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20419074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20419075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20419076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20419077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20419078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20419079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20419080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20419081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20419082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20419083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20419084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20419085, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20419716 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573758, 'mtr_portfolio_id': 20419716, 'created_at': datetime.datetime(2025, 2, 10, 21, 8, 58), 'result': '0.040032123887957245', 'result_long': None, 'result_double': None}] Qualite : 0.040032123887957245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20419716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20419716_10-02-2025_21_08_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20419716 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20419716_10-02-2025_21_08_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20419748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20419749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20419750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20419751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20419752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20419753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20419754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20419755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20419756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20419757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20419758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20419759, 'pht': 3726}}" where mtr_portfolio_id = 20419716 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20419716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806460, 0.040032123887957245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20419716_10-02-2025_21_08_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20419748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20419749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20419750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20419751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20419752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20419753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20419754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20419755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20419756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20419757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20419758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20419759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20421491 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2573929, 'mtr_portfolio_id': 20421491, 'created_at': datetime.datetime(2025, 2, 10, 21, 33), 'result': '0.07240256367903777', 'result_long': None, 'result_double': None}] Qualite : 0.07240256367903777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20421491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20421491_10-02-2025_21_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20421491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20421491_10-02-2025_21_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20421506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20421507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20421508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20421509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20421510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20421511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20421512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20421513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20421514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20421515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20421516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20421517, 'pht': 3726}}" where mtr_portfolio_id = 20421491 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20421491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806461, 0.07240256367903777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20421491_10-02-2025_21_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20421506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20421507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20421508, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20421509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20421510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20421511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20421512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20421513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20421514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20421515, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20421516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20421517, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20422277 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2574051, 'mtr_portfolio_id': 20422277, 'created_at': datetime.datetime(2025, 2, 10, 22, 20, 58), 'result': '0.04321551932243407', 'result_long': None, 'result_double': None}] Qualite : 0.04321551932243407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20422277 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20422277_10-02-2025_22_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20422277 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20422277_10-02-2025_22_20_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20422278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20422279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20422280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20422281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20422282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20422283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20422284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20422285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20422286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20422287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20422288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20422289, 'pht': 3726}}" where mtr_portfolio_id = 20422277 and dashboard_run_id = 1601454 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20422277 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8806462, 0.04321551932243407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20422277_10-02-2025_22_20_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20422278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20422279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20422280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20422281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20422282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20422283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20422284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20422285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20422286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20422287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20422288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20422289, '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 (20385910,20386506,20387155,20387604,20388339,20388900,20389401,20390022,20390450,20391351,20392040,20392465,20392797,20393489,20393752,20395726,20396366,20396893,20397393,20398181,20398877,20399462,20400361,20401190,20401831,20403638,20403826,20404290,20404797,20405423,20406133,20406258,20407074,20407690,20408229,20408781,20409344,20410281,20410712,20411318,20411932,20413473,20413963,20414667,20415179,20415816,20416196,20417130,20417760,20418372,20419018,20419716,20421491,20422277) result : ((1336381626,), (1336381627,), (1336381628,), (1336381629,), (1336381637,), (1336381638,), (1336381639,), (1336381640,), (1336381653,), (1336381654,), (1336381655,), (1336381656,), (1336381661,), (1336382822,), (1336382828,), (1336382829,), (1336383447,), (1336383511,), (1336383529,), (1336383557,), (1336383720,), (1336383721,), (1336383722,), (1336383864,), (1336383865,), (1336383866,), (1336383872,), (1336384162,), (1336384234,), (1336384313,), (1336384354,), (1336384355,), (1336384605,), (1336384607,), (1336384608,), (1336384633,), (1336384636,), (1336384651,), (1336384652,), (1336384653,), (1336384674,), (1336384677,), (1336384679,), (1336384682,), (1336384683,), (1336384690,), (1336384691,), (1336384692,), (1336384701,), (1336384703,), (1336384705,), (1336384707,), (1336384749,), (1336384750,), (1336384751,), (1336384752,), (1336384769,), (1336384771,), (1336384791,), (1336384788,), (1336384790,), (1336385029,), (1336385088,), (1336385119,), (1336385164,), (1336385766,), (1336385778,), (1336385781,), (1336385784,), (1336385785,), (1336385786,), (1336386121,), (1336386164,), (1336386338,), (1336386339,), (1336386340,), (1336386794,), (1336386908,), (1336388036,), (1336388037,), (1336388721,), (1336388725,), (1336388811,), (1336389467,), (1336389468,), (1336389612,), (1336389750,), (1336390014,), (1336390041,), (1336390176,), (1336390177,), (1336390178,), (1336390179,), (1336390352,), (1336390359,), (1336390374,), (1336390379,), (1336390842,), (1336390870,), (1336390891,), (1336390959,), (1336391231,), (1336391233,), (1336391234,), (1336391235,), (1336391242,), (1336391246,), (1336391247,), (1336391261,), (1336391260,), (1336391415,), (1336391440,), (1336391511,), (1336391533,), (1336391623,), (1336391624,), (1336391631,), (1336391632,), (1336391633,), (1336391636,), (1336391637,), (1336391653,), (1336391654,), (1336391655,), (1336391656,), (1336391663,), (1336391674,), (1336391785,), (1336393033,), (1336393034,), (1336393102,), (1336393175,), (1336393692,), (1336393741,), (1336393883,), (1336393888,), (1336393893,), (1336393900,), (1336393901,), (1336393902,), (1336393910,), (1336393912,), (1336393914,), (1336393924,), (1336393925,), (1336393926,), (1336393927,), (1336393939,), (1336393940,), (1336393941,), (1336394888,), (1336394936,), (1336394948,), (1336394950,), (1336395028,), (1336395029,), (1336395030,), (1336395193,), (1336395192,), (1336395361,), (1336395362,), (1336395363,), (1336395365,), (1336395380,), (1336395385,), (1336395389,), (1336395391,), (1336395393,), (1336395396,), (1336395501,), (1336395621,), (1336395757,), (1336396107,), (1336396173,), (1336396174,), (1336396490,), (1336396496,), (1336396507,), (1336396508,), (1336396510,), (1336396521,), (1336396765,), (1336396774,), (1336396776,), (1336396780,), (1336396782,), (1336396795,), (1336396796,), (1336396797,), (1336396819,), (1336396820,), (1336396821,), (1336396822,), (1336396825,), (1336396859,), (1336396860,), (1336396874,), (1336396876,), (1336396878,), (1336396880,), (1336396892,), (1336396902,), (1336396921,), (1336396968,), (1336397030,), (1336397084,), (1336397213,), (1336397247,), (1336397324,), (1336397325,), (1336397326,), (1336397327,), (1336397369,), (1336397378,), (1336397379,), (1336397382,), (1336397383,), (1336397385,), (1336397400,), (1336397397,), (1336397398,), (1336397399,), (1336397426,), (1336397427,), (1336397428,), (1336397678,), (1336397828,), (1336397891,), (1336397892,), (1336398060,), (1336398061,), (1336398062,), (1336398077,), (1336398082,), (1336398093,), (1336398094,), (1336398095,), (1336398096,), (1336398210,), (1336398273,), (1336398575,), (1336398576,), (1336398577,), (1336398578,), (1336398590,), (1336398591,), (1336398592,), (1336398593,), (1336398606,), (1336398607,), (1336398618,), (1336398630,), (1336398631,), (1336398650,), (1336398651,), (1336398668,), (1336398669,), (1336398670,), (1336398671,), (1336398678,), (1336398745,), (1336398746,), (1336398747,), (1336398748,), (1336398771,), (1336398772,), (1336398773,), (1336398784,), (1336398786,), (1336398791,), (1336398823,), (1336398822,), (1336398859,), (1336398860,), (1336398861,), (1336398877,), (1336398878,), (1336398900,), (1336398901,), (1336398902,), (1336398919,), (1336400200,), (1336400648,), (1336400677,), (1336400721,), (1336401496,), (1336401497,), (1336401534,), (1336401564,), (1336401637,), (1336401646,), (1336401649,), (1336401659,), (1336401660,), (1336401707,), (1336401786,), (1336401830,), (1336401951,), (1336401952,), (1336401953,), (1336401954,), (1336401971,), (1336401972,), (1336401973,), (1336401989,), (1336401990,), (1336401991,), (1336402041,), (1336402007,), (1336402008,), (1336402031,), (1336402104,), (1336402144,), (1336402207,), (1336402263,), (1336402265,), (1336402277,), (1336402424,), (1336402425,), (1336402426,), (1336402427,), (1336402848,), (1336402974,), (1336403034,), (1336403047,), (1336403074,), (1336403107,), (1336403455,), (1336403456,), (1336403457,), (1336403458,), (1336403460,), (1336403599,), (1336403656,), (1336403670,), (1336403833,), (1336403834,), (1336403847,), (1336403848,), (1336403861,), (1336403862,), (1336403863,), (1336403866,), (1336403932,), (1336403988,), (1336404667,), (1336404672,), (1336404681,), (1336404709,), (1336404702,), (1336404705,), (1336404706,), (1336404707,), (1336404730,), (1336404731,), (1336404733,), (1336404797,), (1336404918,), (1336404920,), (1336404922,), (1336404958,), (1336404967,), (1336404972,), (1336405007,), (1336405010,), (1336405013,), (1336405018,), (1336405024,), (1336405123,), (1336405129,), (1336405132,), (1336405135,), (1336406054,), (1336406056,), (1336406058,), (1336406060,), (1336406318,), (1336406357,), (1336406375,), (1336406397,), (1336406425,), (1336406429,), (1336406432,), (1336406461,), (1336406465,), (1336406469,), (1336406473,), (1336406478,), (1336406484,), (1336406493,), (1336406496,), (1336406500,), (1336406504,), (1336406517,), (1336406520,), (1336406522,), (1336406523,), (1336406525,), (1336406527,), (1336406546,), (1336406549,), (1336406552,), (1336406553,), (1336406566,), (1336406567,), (1336406576,), (1336406580,), (1336406583,), (1336406586,), (1336406588,), (1336406490,), (1336406491,), (1336406536,), (1336406541,), (1336406556,), (1336406559,), (1336406562,), (1336406564,), (1336406593,), (1336406597,), (1336406599,), (1336406618,), (1336406620,), (1336406623,), (1336406626,), (1336406649,), (1336406651,), (1336406653,), (1336406852,), (1336406854,), (1336407231,), (1336407232,), (1336407233,), (1336407235,), (1336407416,), (1336407418,), (1336407420,), (1336407426,), (1336407429,), (1336407447,), (1336407448,), (1336407450,), (1336407452,), (1336407453,), (1336407490,), (1336407494,), (1336407695,), (1336407697,), (1336407704,), (1336407710,), (1336407712,), (1336407735,), (1336407736,), (1336407743,), (1336407745,), (1336407773,), (1336407776,), (1336407779,), (1336407804,), (1336407806,), (1336407808,), (1336407810,), (1336407852,), (1336407849,), (1336407850,), (1336408060,), (1336408061,), (1336408062,), (1336408086,), (1336408252,), (1336408256,), (1336408260,), (1336408265,), (1336408270,), (1336408274,), (1336409202,), (1336409244,), (1336409367,), (1336409369,), (1336409406,), (1336409408,), (1336409428,), (1336409430,), (1336409789,), (1336409810,), (1336409812,), (1336409847,), (1336409941,), (1336409942,), (1336409945,), (1336409966,), (1336409969,), (1336409974,), (1336409978,), (1336409985,), (1336410004,), (1336410005,), (1336410008,), (1336410011,), (1336410042,), (1336410043,), (1336410046,), (1336410049,), (1336410345,), (1336410346,), (1336410689,), (1336410702,), (1336410704,), (1336410708,), (1336410713,), (1336410725,), (1336410726,), (1336410729,), (1336410983,), (1336412135,), (1336412138,), (1336412142,), (1336412684,), (1336412687,), (1336412708,), (1336412714,), (1336412716,), (1336412719,), (1336412737,), (1336412739,), (1336412818,), (1336412985,), (1336413060,), (1336413062,), (1336413065,), (1336413085,), (1336413087,), (1336413111,), (1336413114,), (1336413118,), (1336413121,), (1336413125,), (1336413130,), (1336413438,), (1336413440,), (1336413443,), (1336413445,), (1336413447,), (1336413449,), (1336413785,), (1336413787,), (1336413791,), (1336413817,), (1336414447,), (1336414448,), (1336414450,), (1336414452,), (1336414454,), (1336415334,), (1336415347,), (1336415349,), (1336415350,), (1336415355,), (1336415385,), (1336415387,), (1336415392,), (1336415444,), (1336415801,), (1336415802,), (1336415840,), (1336415898,), (1336415958,), (1336415987,), (1336415989,), (1336416006,), (1336416094,), (1336416186,), (1336416306,), (1336416960,), (1336418026,), (1336418016,), (1336418024,), (1336418068,), (1336418069,), (1336418071,), (1336418073,), (1336418075,), (1336418128,), (1336418130,), (1336418132,), (1336418176,), (1336418177,), (1336418180,), (1336418199,), (1336418200,), (1336418202,), (1336418204,), (1336418206,), (1336418208,), (1336418425,), (1336418539,), (1336419634,), (1336419750,), (1336419843,), (1336420068,), (1336420182,), (1336420471,), (1336420474,), (1336420502,), (1336420569,), (1336420646,), (1336421418,), (1336421472,), (1336421498,), (1336421501,), (1336421559,), (1336421560,), (1336421562,), (1336421590,), (1336421591,), (1336421593,), (1336421595,), (1336421596,), (1336421713,), (1336421753,), (1336421825,), (1336421909,), (1336421992,), (1336422083,), (1336422531,), (1336422601,), (1336422641,), (1336422643,), (1336422644,), (1336423247,), (1336423249,), (1336423251,), (1336423469,), (1336423472,), (1336423475,), (1336423477,), (1336423480,), (1336423843,), (1336423845,), (1336423848,), (1336423895,), (1336423865,), (1336423866,), (1336423881,), (1336423888,), (1336423917,), (1336423919,), (1336423921,), (1336423942,), (1336423943,), (1336423947,), (1336423985,), (1336423987,), (1336423989,), (1336423991,), (1336423993,), (1336423996,), (1336424012,), (1336424014,), (1336424015,), (1336424026,), (1336424050,), (1336424051,), (1336424055,), (1336424057,), (1336424076,), (1336424079,), (1336424083,), (1336424102,), (1336424104,), (1336424107,), (1336424110,), (1336424113,), (1336424131,), (1336424132,), (1336424133,), (1336424136,), (1336424176,), (1336424205,), (1336424212,), (1336424214,), (1336424219,), (1336424224,), (1336424242,), (1336424243,), (1336424245,), (1336424246,), (1336424353,), (1336424407,), (1336424493,), (1336425408,), (1336425409,), (1336425421,), (1336425425,), (1336425447,), (1336425463,), (1336425551,), (1336425639,), (1336426001,), (1336426007,), (1336426010,), (1336426013,), (1336426055,), (1336426050,), (1336426051,), (1336426053,), (1336426078,), (1336426081,), (1336426084,), (1336426129,), (1336426137,), (1336426149,), (1336426237,), (1336426331,), (1336426418,), (1336427136,), (1336427221,), (1336427225,), (1336427234,), (1336428030,), (1336428288,), (1336428442,), (1336428459,), (1336428553,), (1336428554,), (1336428556,), (1336428558,), (1336428560,), (1336428562,), (1336429090,), (1336429095,), (1336429099,), (1336429139,), (1336429228,), (1336429307,), (1336429330,), (1336430509,), (1336430755,), (1336430758,), (1336430761,), (1336430762,), (1336430765,), (1336430780,), (1336430782,), (1336430785,), (1336430808,), (1336430869,), (1336431128,), (1336431383,), (1336431950,), (1336432006,), (1336432080,), (1336432081,), (1336432083,), (1336432326,), (1336432351,), (1336432364,), (1336432432,), (1336432438,), (1336432443,), (1336432447,), (1336432451,), (1336432456,), (1336432467,), (1336432470,), (1336432475,), (1336432491,), (1336440471,), (1336440557,), (1336440608,), (1336440696,), (1336440697,), (1336440698,), (1336440705,), (1336441256,), (1336441258,), (1336441259,), (1336441328,), (1336441331,), (1336442175,), (1336442261,), (1336442352,), (1336443402,), (1336443404,), (1336443407,), (1336443485,), (1336443581,), (1336443631,), (1336443724,), (1336443726,), (1336443729,), (1336443731,), (1336443818,), (1336444179,), (1336444295,), (1336444297,), (1336444299,), (1336444301,), (1336444314,), (1336444316,), (1336444320,), (1336444324,), (1336444327,), (1336444331,), (1336444538,), (1336444540,), (1336444555,), (1336444557,), (1336444560,), (1336444563,), (1336444603,), (1336444605,), (1336444608,), (1336444620,), (1336444842,), (1336444843,), (1336444845,), (1336444846,), (1336444847,), (1336445090,), (1336445092,), (1336445094,), (1336445383,), (1336445388,), (1336445393,), (1336445397,), (1336445406,), (1336445407,), (1336445410,), (1336445412,), (1336445414,), (1336445504,), (1336445500,), (1336445501,), (1336445502,), (1336445731,), (1336445733,), (1336445772,), (1336445779,), (1336445801,), (1336445802,), (1336445805,), (1336445808,), (1336445880,), (1336446531,), (1336446533,), (1336446535,), (1336446587,), (1336446647,), (1336446648,), (1336446650,), (1336446652,), (1336446696,), (1336446699,), (1336446746,), (1336446748,), (1336446823,), (1336446825,), (1336446828,), (1336446831,), (1336446861,), (1336446862,), (1336446864,), (1336446866,), (1336446869,), (1336446894,), (1336446897,), (1336446899,), (1336446902,), (1336446905,), (1336447098,), (1336447104,), (1336447105,), (1336447107,), (1336447109,), (1336447135,), (1336447137,), (1336447141,), (1336447165,), (1336447208,), (1336447320,), (1336447323,), (1336447327,), (1336447330,), (1336447333,), (1336447358,), (1336447360,), (1336447362,), (1336447366,), (1336447368,), (1336447396,), (1336447398,), (1336447404,), (1336447407,), (1336447436,), (1336447438,), (1336447440,), (1336447443,), (1336447446,), (1336447487,), (1336447484,), (1336447725,), (1336447767,), (1336447771,), (1336447774,), (1336447776,), (1336447778,), (1336447856,), (1336447859,), (1336447898,), (1336447900,), (1336447903,), (1336448700,), (1336448701,), (1336448704,), (1336448771,), (1336448861,), (1336448862,), (1336448866,), (1336448868,), (1336448872,), (1336448898,), (1336448900,), (1336448903,), (1336449441,), (1336449526,), (1336449613,), (1336449697,), (1336450511,), (1336450613,), (1336450615,), (1336451018,), (1336451020,), (1336451045,), (1336451079,), (1336451083,), (1336451088,), (1336451572,), (1336451662,), (1336451676,), (1336451720,), (1336451741,), (1336451758,), (1336451811,), (1336451812,), (1336451816,), (1336451819,), (1336451823,), (1336451825,), (1336451855,), (1336451859,), (1336451861,), (1336451887,), (1336451889,), (1336451891,), (1336451893,), (1336451927,), (1336451930,), (1336451932,), (1336451934,), (1336451942,), (1336452002,), (1336451988,), (1336451991,), (1336451996,), (1336451999,), (1336452049,), (1336452052,), (1336452053,), (1336452055,), (1336452092,), (1336452093,), (1336452095,), (1336452097,), (1336452098,), (1336452827,), (1336452831,), (1336452843,), (1336452845,), (1336453008,), (1336453014,), (1336453090,), (1336453092,), (1336453095,), (1336453100,), (1336453444,), (1336453537,), (1336453619,), (1336453725,), (1336453815,), (1336454063,), (1336454085,), (1336454107,), (1336454213,), (1336454367,), (1336454452,), (1336454613,), (1336454615,), (1336454622,), (1336454630,), (1336454656,), (1336454769,), (1336454858,), (1336455022,), (1336455025,), (1336455028,), (1336455031,), (1336455033,), (1336455035,), (1336455069,), (1336455073,), (1336455075,), (1336455078,), (1336455081,), (1336455083,), (1336455251,), (1336455253,), (1336455257,), (1336455261,), (1336455264,), (1336455290,), (1336455291,), (1336455294,), (1336455297,), (1336455299,), (1336455336,), (1336455338,), (1336455341,), (1336455345,), (1336455349,), (1336455353,), (1336455394,), (1336455396,), (1336455399,), (1336455405,), (1336455409,), (1336455463,), (1336455457,), (1336455458,), (1336455460,), (1336455658,), (1336455659,), (1336455661,), (1336455665,), (1336455678,), (1336455764,), (1336455802,), (1336455806,), (1336455812,), (1336455813,), (1336455816,), (1336455842,), (1336455845,), (1336456056,), (1336456299,), (1336456393,), (1336456600,), (1336456628,), (1336456629,), (1336456659,), (1336456699,), (1336456700,), (1336456701,), (1336456702,), (1336456705,), (1336456778,), (1336456789,), (1336456794,), (1336456795,), (1336456801,), (1336457055,), (1336457131,), (1336457146,), (1336457395,), (1336457399,), (1336457403,), (1336457411,), (1336457423,), (1336457428,), (1336457589,), (1336457591,), (1336457592,), (1336457622,), (1336457623,), (1336457625,), (1336457627,), (1336457635,), (1336457662,), (1336457664,), (1336457667,), (1336457718,), (1336457812,), (1336457817,), (1336458102,), (1336458160,), (1336458241,), (1336458490,), (1336458493,), (1336458588,), (1336458570,), (1336458578,), (1336458582,), (1336458584,), (1336458808,), (1336458811,), (1336458868,), (1336458869,), (1336458872,), (1336458874,), (1336458891,), (1336458893,), (1336458896,), (1336458899,), (1336458920,), (1336458955,), (1336458956,), (1336458959,), (1336458962,), (1336458999,), (1336459000,), (1336459004,), (1336459008,), (1336459010,), (1336459259,), (1336459269,), (1336459272,), (1336459451,), (1336460181,), (1336460183,), (1336460204,), (1336460393,), (1336460414,), (1336460418,), (1336460549,), (1336460550,), (1336460557,), (1336460565,), (1336460566,), (1336460586,), (1336460590,), (1336460593,), (1336460595,), (1336460597,), (1336460617,), (1336460619,), (1336460621,), (1336460622,), (1336460860,), (1336460861,), (1336460863,), (1336460864,), (1336460868,), (1336460893,), (1336460896,), (1336460899,), (1336460902,), (1336460905,), (1336460944,), (1336460950,), (1336460986,), (1336460988,), (1336460990,), (1336460992,), (1336460996,), (1336460998,), (1336461032,), (1336461027,), (1336461028,), (1336461030,), (1336461210,), (1336461212,), (1336461214,), (1336461288,), (1336461292,), (1336461293,), (1336461294,), (1336461319,), (1336461321,), (1336461324,), (1336461327,), (1336461330,), (1336461333,), (1336461410,), (1336461411,), (1336461413,), (1336462076,), (1336462105,), (1336462107,), (1336462109,), (1336462111,), (1336462112,), (1336462382,), (1336462389,), (1336462398,), (1336462400,), (1336462408,), (1336462414,), (1336462431,), (1336462432,), (1336462437,), (1336462438,), (1336462497,), (1336462498,), (1336462501,), (1336462503,), (1336462530,), (1336462534,), (1336462579,), (1336462580,), (1336462582,), (1336462603,), (1336462700,), (1336463304,), (1336463394,), (1336463398,), (1336463400,), (1336463683,), (1336463689,), (1336463692,), (1336463697,), (1336463702,), (1336463784,), (1336463786,), (1336463819,), (1336463828,), (1336463878,), (1336463880,), (1336463897,), (1336463909,), (1336463915,), (1336463918,), (1336463981,), (1336464005,), (1336464021,), (1336464027,), (1336464176,), (1336464118,), (1336464150,), (1336464154,), (1336464155,), (1336464326,), (1336464349,), (1336464350,), (1336464352,), (1336464545,), (1336464549,), (1336464551,), (1336464554,), (1336464558,), (1336464569,), (1336464598,), (1336464600,), (1336464603,), (1336464641,), (1336464643,), (1336464645,), (1336464648,), (1336464651,), (1336465519,), (1336465520,), (1336465522,), (1336465526,), (1336465993,), (1336465996,), (1336466002,), (1336466004,), (1336466009,), (1336466047,), (1336466052,), (1336466055,), (1336466058,), (1336466062,), (1336466094,), (1336466097,), (1336466104,), (1336466107,), (1336466109,), (1336466112,), (1336466182,), (1336466183,), (1336466213,), (1336466214,), (1336466216,), (1336466223,), (1336466255,), (1336466256,), (1336466258,), (1336466260,), (1336466262,), (1336466290,), (1336466291,), (1336466293,), (1336466295,), (1336466297,), (1336466330,), (1336466333,), (1336466336,), (1336466338,), (1336466399,), (1336466372,), (1336466374,), (1336466377,), (1336466380,), (1336466388,), (1336466722,), (1336466725,), (1336466727,), (1336466729,), (1336466877,), (1336466879,), (1336466888,), (1336466912,), (1336466913,), (1336466915,), (1336466917,), (1336466967,), (1336466968,), (1336466970,), (1336466975,), (1336466982,), (1336467010,), (1336467011,), (1336467013,), (1336467016,), (1336467019,), (1336467041,), (1336467043,), (1336467045,), (1336467084,), (1336467090,), (1336467115,), (1336467124,), (1336467127,), (1336467170,), (1336467171,), (1336467173,), (1336467175,), (1336467178,), (1336467180,), (1336467237,), (1336467238,), (1336467246,), (1336467248,), (1336467249,), (1336467274,), (1336467282,), (1336467284,), (1336467709,), (1336467798,), (1336467890,), (1336467976,), (1336468063,), (1336468301,), (1336468307,), (1336468309,), (1336468312,), (1336468316,), (1336468893,), (1336468898,), (1336468973,), (1336469059,), (1336469435,), (1336469427,), (1336469429,), (1336469431,), (1336469433,), (1336470207,), (1336470433,), (1336470435,), (1336470437,), (1336470448,), (1336470525,), (1336470849,), (1336470852,), (1336470855,), (1336470857,), (1336470888,), (1336470891,), (1336470946,), (1336471119,), (1336471120,), (1336471122,), (1336471124,), (1336471127,), (1336471129,), (1336471178,), (1336471179,), (1336471181,), (1336471183,), (1336471191,), (1336471226,), (1336471227,), (1336471228,), (1336471230,), (1336471415,), (1336471418,), (1336471420,), (1336471422,), (1336471462,), (1336471465,), (1336471468,), (1336471471,), (1336471518,), (1336471520,), (1336471525,), (1336471527,), (1336471530,), (1336471556,), (1336471557,), (1336471562,), (1336471568,), (1336478009,), (1336489216,), (1336490006,), (1336490211,), (1336490214,), (1336490259,), (1336490261,), (1336490264,), (1336490266,), (1336490303,), (1336490409,), (1336491734,), (1336491823,), (1336491843,), (1336491848,), (1336491883,), (1336492249,), (1336492320,), (1336492524,), (1336492528,), (1336492532,), (1336492594,), (1336492661,), (1336492664,), (1336493497,), (1336493502,), (1336493508,), (1336493562,), (1336493773,), (1336493775,), (1336493781,), (1336493783,), (1336493915,), (1336493918,), (1336493922,), (1336493986,), (1336493987,), (1336494003,), (1336494012,), (1336494014,), (1336494045,), (1336494050,), (1336494061,), (1336494094,), (1336494098,), (1336494104,), (1336494108,), (1336494134,), (1336494139,), (1336494161,), (1336494164,), (1336494207,), (1336494209,), (1336494212,), (1336494213,), (1336494215,), (1336494251,), (1336494256,), (1336494259,), (1336494332,), (1336494336,), (1336494357,), (1336494363,), (1336494369,), (1336494492,), (1336494484,), (1336494487,), (1336494489,), (1336494529,), (1336494533,), (1336494537,), (1336494540,), (1336494613,), (1336494616,), (1336494817,), (1336495323,), (1336495345,), (1336495348,), (1336495352,), (1336495390,), (1336495391,), (1336495659,), (1336495863,), (1336496132,), (1336496320,), (1336496324,), (1336496372,), (1336496382,), (1336496386,), (1336496928,), (1336497007,), (1336497014,), (1336497265,), (1336497266,), (1336497270,), (1336497274,), (1336497312,), (1336497317,), (1336497320,), (1336497323,), (1336497365,), (1336497368,), (1336497371,), (1336497374,), (1336497404,), (1336497412,), (1336497415,), (1336497416,), (1336497474,), (1336497476,), (1336497480,), (1336497483,), (1336497612,), (1336497618,), (1336497621,), (1336497820,), (1336497822,), (1336497825,), (1336497828,), (1336497833,), (1336497893,), (1336497865,), (1336497872,), (1336497874,), (1336497877,), (1336497891,), (1336498138,), (1336498145,), (1336498150,), (1336498154,), (1336498159,), (1336498192,), (1336498194,), (1336498197,), (1336498200,), (1336498214,), (1336498255,), (1336498258,), (1336498261,), (1336498270,), (1336498274,), (1336498276,), (1336498307,), (1336498308,), (1336498310,), (1336498398,), (1336498400,), (1336498520,), (1336498524,), (1336498528,), (1336498529,), (1336498548,), (1336498602,), (1336498608,), (1336498616,), (1336498687,), (1336498691,), (1336498743,), (1336498747,), (1336498757,), (1336498765,), (1336498817,), (1336498822,), (1336498826,), (1336498839,), (1336498843,), (1336498926,), (1336498928,), (1336498937,), (1336498941,), (1336499010,), (1336499034,), (1336499041,), (1336499045,), (1336499112,), (1336499116,), (1336499119,), (1336499122,), (1336499281,), (1336499286,), (1336499357,), (1336499351,), (1336499353,), (1336499648,), (1336499712,), (1336499800,), (1336499831,), (1336499882,), (1336499885,), (1336499888,), (1336499895,), (1336500892,), (1336500982,), (1336501070,), (1336501171,), (1336501257,), (1336501410,), (1336501413,), (1336501419,), (1336501423,), (1336501454,), (1336501457,), (1336501461,), (1336502109,), (1336502167,), (1336502178,), (1336502182,), (1336502198,), (1336502229,), (1336502409,), (1336502410,), (1336502412,), (1336502414,), (1336502463,), (1336502464,), (1336502695,), (1336502702,), (1336502718,), (1336502768,), (1336502981,), (1336503474,), (1336503582,), (1336503848,), (1336503898,), (1336503901,), (1336503904,), (1336503944,), (1336503947,), (1336503951,), (1336504016,), (1336504019,), (1336504022,), (1336504025,), (1336505149,), (1336505157,), (1336505167,), (1336505173,), (1336505181,), (1336505194,), (1336505196,), (1336505276,), (1336505256,), (1336505261,), (1336505265,), (1336505269,), (1336505271,), (1336505311,), (1336505316,), (1336505320,), (1336505322,), (1336505325,), (1336505545,), (1336505553,), (1336505557,), (1336505560,), (1336505628,), (1336505632,), (1336505635,), (1336505638,), (1336505642,), (1336505675,), (1336505678,), (1336505681,), (1336505685,), (1336505689,), (1336505742,), (1336505744,), (1336505751,), (1336505756,), (1336505778,), (1336506530,), (1336506559,), (1336507274,), (1336507369,), (1336507474,), (1336508338,), (1336508347,), (1336508356,), (1336508550,), (1336508831,), (1336508919,), (1336509012,), (1336509104,), (1336509206,), (1336509316,), (1336509431,), (1336509434,), (1336509437,), (1336509494,), (1336509627,), (1336509713,), (1336509796,), (1336509865,), (1336509868,), (1336509912,), (1336509916,), (1336509920,), (1336509924,), (1336509931,), (1336509935,), (1336509965,), (1336510009,), (1336510049,), (1336510054,), (1336510059,), (1336510063,), (1336510070,), (1336510258,), (1336510166,), (1336510171,), (1336510176,), (1336510221,), (1336510422,), (1336510428,), (1336510432,), (1336510437,), (1336510493,), (1336510497,), (1336510501,), (1336510510,), (1336510519,), (1336510524,), (1336510745,), (1336510763,), (1336510770,), (1336511574,), (1336512006,), (1336512013,), (1336512015,), (1336512096,), (1336512129,), (1336512209,), (1336512313,), (1336512332,), (1336512339,), (1336512391,), (1336512396,), (1336512408,), (1336512419,), (1336512577,), (1336512644,), (1336512649,), (1336512728,), (1336512732,), (1336512736,), (1336512741,), (1336512746,), (1336512772,), (1336512776,), (1336512780,), (1336512786,), (1336512789,), (1336512796,), (1336512815,), (1336512817,), (1336512822,), (1336512895,), (1336512908,), (1336512912,), (1336512916,), (1336512922,), (1336513034,), (1336513041,), (1336513044,), (1336513048,), (1336513053,), (1336513088,), (1336513077,), (1336513081,), (1336513085,), (1336513401,), (1336513516,), (1336513589,), (1336513675,), (1336513765,), (1336513856,), (1336514247,), (1336514259,), (1336514273,), (1336514304,), (1336515751,), (1336515754,), (1336515848,), (1336515850,), (1336516055,), (1336516855,), (1336516859,), (1336517213,), (1336517254,), (1336517256,), (1336517259,), (1336517316,), (1336517318,), (1336517321,), (1336517324,), (1336517357,), (1336518306,), (1336518307,), (1336518312,), (1336518315,), (1336518359,), (1336518363,), (1336518366,), (1336518369,), (1336518373,), (1336518374,), (1336518928,), (1336518919,), (1336518922,), (1336518925,), (1336518927,), (1336519198,), (1336519202,), (1336519249,), (1336519706,), (1336519714,), (1336519716,), (1336519749,), (1336519753,), (1336519758,), (1336519800,), (1336519805,), (1336519810,), (1336519814,), (1336519819,), (1336519848,), (1336519851,), (1336519854,), (1336519857,), (1336519905,), (1336519909,), (1336519914,), (1336520360,), (1336520450,), (1336520539,), (1336520635,), (1336520760,), (1336521154,), (1336521183,), (1336521186,), (1336521200,), (1336521203,), (1336521456,), (1336521458,), (1336521498,), (1336521523,), (1336521726,), (1336521729,), (1336521733,), (1336521738,), (1336521742,), (1336521748,), (1336521911,), (1336521996,), (1336522061,), (1336522126,), (1336522232,), (1336522679,), (1336522960,), (1336522965,), (1336522969,), (1336523007,), (1336523013,), (1336523016,), (1336523019,), (1336523023,), (1336523038,), (1336523188,), (1336523198,), (1336523217,), (1336523234,), (1336523802,), (1336523406,), (1336523507,), (1336523605,), (1336523709,), (1336523879,), (1336523957,), (1336524051,), (1336524092,), (1336524235,), (1336524238,), (1336524241,), (1336524243,), (1336524488,), (1336524490,), (1336524493,), (1336524496,), (1336524500,), (1336524503,), (1336524676,), (1336524681,), (1336524686,), (1336524689,), (1336524717,), (1336524720,), (1336525371,), (1336525499,), (1336525524,), (1336525528,), (1336525554,), (1336525557,), (1336525704,), (1336525756,), (1336525836,), (1336525888,), (1336525960,), (1336526048,), (1336526850,), (1336526939,), (1336527028,), (1336527030,), (1336527060,), (1336527063,), (1336527067,), (1336527071,), (1336527078,), (1336527136,), (1336527140,), (1336527142,), (1336527213,), (1336527300,), (1336527343,), (1336527563,), (1336527566,), (1336527570,), (1336527736,), (1336527742,), (1336527745,), (1336527748,), (1336527782,), (1336527855,), (1336527858,), (1336527861,), (1336527864,), (1336527866,), (1336528460,), (1336528534,), (1336528620,), (1336529009,), (1336528996,), (1336528998,), (1336529001,), (1336529005,), (1336529638,), (1336529734,), (1336529768,), (1336529771,), (1336530026,), (1336530030,), (1336530086,), (1336530612,), (1336530627,), (1336530681,), (1336530733,), (1336530749,), (1336530778,), (1336530849,), (1336530852,), (1336530855,), (1336530857,), (1336530860,), (1336531234,), (1336531289,), (1336531335,), (1336531405,), (1336532133,), (1336532201,), (1336532263,), (1336532337,), (1336532642,), (1336532644,), (1336532647,), (1336532689,), (1336532690,), (1336532692,), (1336532694,), (1336533090,), (1336533513,), (1336535095,), (1336534926,), (1336535135,), (1336535172,), (1336535180,), (1336535181,), (1336535191,), (1336535197,), (1336535288,), (1336535290,), (1336535293,), (1336535295,), (1336535446,), (1336535448,), (1336535450,), (1336535451,), (1336535484,), (1336535490,), (1336535494,), (1336535496,), (1336535498,), (1336535584,), (1336535585,), (1336535587,), (1336535589,), (1336535591,), (1336535667,), (1336535669,), (1336535675,), (1336535683,), (1336535784,), (1336535786,), (1336535789,), (1336535793,), (1336535877,), (1336536228,), (1336536231,), (1336536247,), (1336536264,), (1336536273,), (1336536278,), (1336536512,), (1336536516,), (1336536518,), (1336536521,), (1336536522,), (1336536525,), (1336536626,), (1336536628,), (1336536663,), (1336536815,), (1336536805,), (1336536809,), (1336537068,), (1336537071,), (1336537074,), (1336537077,), (1336537081,), (1336537115,), (1336537118,), (1336537122,), (1336537165,), (1336537167,), (1336537215,), (1336537282,), (1336537285,), (1336537327,), (1336537330,), (1336537335,), (1336537386,), (1336537389,), (1336537392,), (1336537398,), (1336537416,), (1336537424,), (1336537509,), (1336537513,), (1336537515,), (1336537568,), (1336537571,), (1336537608,), (1336537613,), (1336537661,), (1336537665,), (1336538436,), (1336538440,), (1336538955,), (1336538989,), (1336538995,), (1336539001,), (1336539007,), (1336539013,), (1336539126,), (1336539113,), (1336539118,), (1336539121,), (1336539124,), (1336539151,), (1336539163,), (1336539166,), (1336539171,), (1336539174,), (1336539215,), (1336539221,), (1336539227,), (1336539233,), (1336539281,), (1336539285,), (1336539294,), (1336539296,), (1336539301,), (1336539421,), (1336539423,), (1336539426,), (1336539428,), (1336539433,), (1336539440,), (1336539483,), (1336539489,), (1336539491,), (1336539494,), (1336539527,), (1336539529,), (1336539533,), (1336539535,), (1336540335,), (1336540337,), (1336540341,), (1336541333,), (1336541456,), (1336541546,), (1336542510,), (1336542611,), (1336542700,), (1336543229,), (1336543250,), (1336543257,), (1336543358,), (1336543363,), (1336543369,), (1336543376,), (1336543421,), (1336543425,), (1336543433,), (1336543436,), (1336543446,), (1336543483,), (1336543486,), (1336543489,), (1336543492,), (1336543496,), (1336543500,), (1336543582,), (1336543585,), (1336543588,), (1336543777,), (1336543669,), (1336543680,), (1336543682,), (1336543687,), (1336543776,), (1336543939,), (1336543940,), (1336543941,), (1336543943,), (1336543949,), (1336543996,), (1336544088,), (1336544092,), (1336544113,), (1336544119,), (1336544123,), (1336544163,), (1336544165,), (1336544167,), (1336544231,), (1336544233,), (1336544236,), (1336544238,), (1336544240,), (1336544243,), (1336544280,), (1336544282,), (1336544284,), (1336544286,), (1336544288,), (1336544342,), (1336544344,), (1336544347,), (1336544349,), (1336544352,), (1336544399,), (1336544402,), (1336544405,), (1336544408,), (1336544456,), (1336544459,), (1336544502,), (1336544505,), (1336544509,), (1336545168,), (1336545212,), (1336545215,), (1336545228,), (1336545262,), (1336545574,), (1336545577,), (1336545788,), (1336545794,), (1336545853,), (1336545925,), (1336545979,), (1336546051,), (1336546186,), (1336546188,), (1336546191,), (1336546194,), (1336546222,), (1336546224,), (1336546227,), (1336546230,), (1336554904,), (1336557437,), (1336557439,), (1336557454,), (1336557457,), (1336557467,), (1336557483,), (1336557752,), (1336557850,), (1336557861,), (1336557864,), (1336557905,), (1336557962,), (1336558015,), (1336558044,), (1336558054,), (1336558060,), (1336558081,), (1336558112,), (1336558277,), (1336558363,), (1336558679,), (1336558682,), (1336558686,), (1336558690,), (1336558735,), (1336558786,), (1336558883,), (1336558935,), (1336558967,), (1336559016,), (1336559018,), (1336559023,), (1336559027,), (1336559068,), (1336559074,), (1336559395,), (1336559429,), (1336559483,), (1336559485,), (1336559489,), (1336559620,), (1336559623,), (1336559627,), (1336559897,), (1336559918,), (1336559923,), (1336559968,), (1336559975,), (1336559980,), (1336559996,), (1336559987,), (1336559988,), (1336559991,), (1336560234,), (1336560237,), (1336560454,), (1336560468,), (1336560695,), (1336560697,), (1336560699,), (1336560703,), (1336560708,), (1336560745,), (1336560747,), (1336560829,), (1336560848,), (1336560851,), (1336560869,), (1336560880,), (1336560893,), (1336560920,), (1336560923,), (1336560927,), (1336560930,), (1336560936,), (1336560971,), (1336560973,), (1336560976,), (1336560978,), (1336561236,), (1336561239,), (1336561298,), (1336561524,), (1336561531,), (1336561559,), (1336561568,), (1336561571,), (1336561747,), (1336561772,), (1336561779,), (1336561783,), (1336561840,), (1336561843,), (1336561848,), (1336561851,), (1336561855,), (1336561856,), (1336561893,), (1336561903,), (1336561957,), (1336561967,), (1336561968,), (1336561971,), (1336561977,), (1336561982,), (1336562013,), (1336562016,), (1336562021,), (1336562027,), (1336562042,), (1336562082,), (1336562086,), (1336562092,), (1336562149,), (1336562135,), (1336562137,), (1336562140,), (1336562144,), (1336562180,), (1336562184,), (1336562188,), (1336562192,), (1336562196,), (1336562571,), (1336562577,), (1336562581,), (1336562583,), (1336562585,), (1336562613,), (1336562616,), (1336562619,), (1336562623,), (1336562657,), (1336562660,), (1336562663,), (1336562666,), (1336562852,), (1336562854,), (1336562857,), (1336562861,), (1336562865,), (1336562869,), (1336562892,), (1336562894,), (1336562898,), (1336562900,), (1336562904,), (1336562907,), (1336562957,), (1336562964,), (1336562967,), (1336562973,), (1336563003,), (1336563006,), (1336563009,), (1336563014,), (1336563017,), (1336563021,), (1336563043,), (1336563059,), (1336563067,), (1336563069,), (1336563073,), (1336563110,), (1336563113,), (1336563116,), (1336563119,), (1336563122,), (1336563152,), (1336563155,), (1336563159,), (1336563163,), (1336563176,), (1336563202,), (1336563205,), (1336563209,), (1336563213,), (1336563216,), (1336563219,), (1336563243,), (1336563245,), (1336563247,), (1336563250,), (1336563313,), (1336563325,), (1336563334,), (1336563345,), (1336563355,), (1336563359,), (1336563530,), (1336563488,), (1336563501,), (1336563508,), (1336564130,), (1336564159,), (1336564201,), (1336564262,), (1336564302,), (1336564307,), (1336564510,), (1336564607,), (1336564645,), (1336564661,), (1336564682,), (1336564699,), (1336564940,), (1336565095,), (1336565099,), (1336565102,), (1336565419,), (1336565422,), (1336565425,), (1336565429,), (1336565431,), (1336565437,), (1336565469,), (1336565472,), (1336565482,), (1336565499,), (1336565511,), (1336565554,), (1336565563,), (1336565571,), (1336565601,), (1336565608,), (1336565612,), (1336565615,), (1336565618,), (1336565622,), (1336565660,), (1336565671,), (1336565677,), (1336565681,), (1336565684,), (1336565689,), (1336566476,), (1336566435,), (1336566438,), (1336566796,), (1336566805,), (1336566817,), (1336566820,), (1336566825,), (1336566827,), (1336566841,), (1336566843,), (1336566848,), (1336566850,), (1336566852,), (1336566878,), (1336566880,), (1336566883,), (1336566886,), (1336566937,), (1336566940,), (1336566956,), (1336567054,), (1336567602,), (1336567646,), (1336567714,), (1336567774,), (1336567853,), (1336567856,), (1336567966,), (1336568048,), (1336568054,), (1336568076,), (1336568079,), (1336568508,), (1336568601,), (1336568628,), (1336568644,), (1336568879,), (1336568952,), (1336568986,), (1336568998,), (1336569000,), (1336569071,), (1336569074,), (1336569078,), (1336569081,), (1336569083,), (1336569102,), (1336569105,), (1336569109,), (1336569113,), (1336569139,), (1336569155,), (1336569162,), (1336569220,), (1336569224,), (1336569230,), (1336569233,), (1336569252,), (1336569433,), (1336569356,), (1336569391,), (1336569401,), (1336569429,), (1336569507,), (1336569509,), (1336569564,), (1336569568,), (1336569628,), (1336569632,), (1336569639,), (1336569642,), (1336569660,), (1336569665,), (1336569670,), (1336570550,), (1336570636,), (1336570728,), (1336570819,), (1336570998,), (1336571001,), (1336571004,), (1336571007,), (1336571014,), (1336571020,), (1336571045,), (1336571048,), (1336571052,), (1336571055,), (1336571058,), (1336571069,), (1336571710,), (1336571713,), (1336571717,), (1336571722,), (1336571992,), (1336572010,), (1336572029,), (1336572033,), (1336572092,), (1336572100,), (1336572113,), (1336572225,), (1336572229,), (1336572233,), (1336572241,), (1336572249,), (1336572350,), (1336572416,), (1336572419,), (1336572423,), (1336573264,), (1336573384,), (1336573387,), (1336573439,), (1336573450,), (1336573456,), (1336573459,), (1336573462,), (1336573958,), (1336573960,), (1336573983,), (1336573986,), (1336574267,), (1336574248,), (1336574250,), (1336574254,), (1336574258,), (1336574746,), (1336574752,), (1336574764,), (1336574768,), (1336574781,), (1336574908,), (1336574912,), (1336574917,), (1336574920,), (1336574976,), (1336574998,), (1336575004,), (1336575009,), (1336575069,), (1336575071,), (1336575075,), (1336575077,), (1336575104,), (1336575108,), (1336575113,), (1336575206,), (1336575265,), (1336575274,), (1336575325,), (1336575327,), (1336575331,), (1336575333,), (1336575374,), (1336575376,), (1336575379,), (1336575381,), (1336575499,), (1336575503,), (1336575507,), (1336575515,), (1336575542,), (1336575545,), (1336575549,), (1336575552,), (1336575556,), (1336575578,), (1336575580,), (1336575584,), (1336575615,), (1336575617,), (1336575621,), (1336575625,), (1336575645,), (1336575649,), (1336575653,), (1336575661,), (1336575668,), (1336575673,), (1336575735,), (1336575702,), (1336575705,), (1336575709,), (1336575730,), (1336575775,), (1336575779,), (1336575783,), (1336575934,), (1336575937,), (1336575941,), (1336575945,), (1336575949,), (1336575974,), (1336575976,), (1336575982,), (1336575985,), (1336575988,), (1336576024,), (1336576026,), (1336576028,), (1336576031,), (1336576034,), (1336576292,), (1336576534,), (1336576757,), (1336576822,), (1336576825,), (1336576828,), (1336576831,), (1336576835,), (1336577106,), (1336577109,), (1336577114,), (1336577122,), (1336577165,), (1336577171,), (1336577175,), (1336577179,), (1336577181,), (1336577195,), (1336577200,), (1336577205,), (1336577290,), (1336577292,), (1336577317,), (1336577330,), (1336577362,), (1336577386,), (1336577395,), (1336577398,), (1336577401,), (1336577404,), (1336577428,), (1336577434,), (1336577438,), (1336577440,), (1336577499,), (1336577506,), (1336577510,), (1336577522,), (1336577525,), (1336577526,), (1336577527,), (1336577529,), (1336577573,), (1336577564,), (1336577567,), (1336577570,), (1336578043,), (1336578372,), (1336578402,), (1336578404,), (1336578649,), (1336578737,), (1336578764,), (1336578779,), (1336578900,), (1336578906,), (1336578909,), (1336578916,), (1336578960,), (1336578962,), (1336578966,), (1336578977,), (1336579500,), (1336579670,), (1336579786,), (1336580046,), (1336580083,), (1336580093,), (1336580097,), (1336580138,), (1336580140,), (1336580144,), (1336580148,), (1336580152,), (1336580316,), (1336580319,), (1336580323,), (1336580327,), (1336580331,), (1336580341,), (1336580437,), (1336580440,), (1336580453,), (1336580458,), (1336580465,), (1336580593,), (1336580595,), (1336580599,), (1336580602,), (1336580622,), (1336580628,), (1336580631,), (1336580665,), (1336580667,), (1336580670,), (1336580673,), (1336580700,), (1336580702,), (1336580705,), (1336580708,), (1336580710,), (1336580749,), (1336580751,), (1336580755,), (1336580801,), (1336580787,), (1336580789,), (1336580792,), (1336580794,), (1336580798,), (1336580897,), (1336581039,), (1336581054,), (1336581057,), (1336581098,), (1336581114,), (1336581197,), (1336581201,), (1336581208,), (1336581365,), (1336581442,), (1336581446,), (1336581539,), (1336581542,), (1336581546,), (1336581548,), (1336581589,), (1336581593,), (1336581597,), (1336581601,), (1336581799,), (1336581802,), (1336581807,), (1336581829,), (1336581831,), (1336581835,), (1336581838,), (1336581842,), (1336581868,), (1336581871,), (1336581875,), (1336581879,), (1336581902,), (1336581907,), (1336581911,), (1336581915,), (1336581918,), (1336581941,), (1336581944,), (1336581948,), (1336581952,), (1336581956,), (1336581969,), (1336581972,), (1336581976,), (1336581980,), (1336582000,), (1336582003,), (1336582007,), (1336582030,), (1336582044,), (1336582050,), (1336582125,), (1336582180,), (1336582192,), (1336582196,), (1336582282,), (1336582284,), (1336582290,), (1336582350,), (1336582334,), (1336582337,), (1336582340,), (1336582344,), (1336582347,), (1336582386,), (1336582389,), (1336582411,), (1336582662,), (1336582687,), (1336582689,), (1336582690,), (1336582692,), (1336582726,), (1336582727,), (1336582730,), (1336582796,), (1336582798,), (1336582802,), (1336582804,), (1336582807,), (1336582860,), (1336582862,), (1336582865,), (1336582883,), (1336582887,), (1336582978,), (1336582981,), (1336582984,), (1336582986,), (1336583173,), (1336583174,), (1336583177,), (1336583179,), (1336583246,), (1336583310,), (1336583320,), (1336583323,), (1336583365,), (1336583367,), (1336583370,), (1336583417,), (1336587258,), (1336589568,), (1336589938,), (1336589940,), (1336590127,), (1336590640,), (1336590643,), (1336590904,), (1336591878,), (1336600312,), (1336601578,), (1336601604,), (1336601606,), (1336602810,), (1336603735,), (1336603737,), (1336604274,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10022025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20388900]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822] map_info['map_portfolio_photo'] : {20388900: [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822]} final : True mtd_id 4302 list_pids : [1336402041, 1336401991, 1336401990, 1336401989, 1336401973, 1336401972, 1336401971, 1336401954, 1336401953, 1336401952, 1336401951, 1336401830, 1336401786, 1336401707, 1336401660, 1336401659, 1336401649, 1336401646, 1336401637, 1336401564, 1336401534, 1336401497, 1336401496, 1336400721, 1336400677, 1336400648, 1336400200, 1336398919, 1336398902, 1336398901, 1336398900, 1336398878, 1336398877, 1336398861, 1336398860, 1336398859, 1336398822] Looping around the photos to save general results len do output : 1 /20388900Didn'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, '2574644') ('4302', '20388900', '1336402041', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401991', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401990', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401989', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401973', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401972', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401971', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401954', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401953', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401952', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401951', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401830', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401786', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401707', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401660', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401659', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401649', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401646', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401637', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401564', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401534', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401497', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336401496', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400721', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400677', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400648', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336400200', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398919', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398902', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398901', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398900', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398878', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398877', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398861', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398860', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398859', None, None, None, None, None, '2574644') ('4302', None, None, None, None, None, None, None, '2574644') ('4302', '20388900', '1336398822', None, None, None, None, None, '2574644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20388900', 'None', None, None, None, None, '2574644'), ('4302', '20388900', '1336402041', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401991', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401990', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401989', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401973', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401972', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401971', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401954', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401953', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401952', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401951', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401830', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401786', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401707', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401660', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401659', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401649', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401646', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401637', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401564', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401534', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401497', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336401496', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400721', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400677', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400648', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336400200', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398919', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398902', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398901', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398900', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398878', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398877', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398861', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398860', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398859', None, None, None, None, None, '2574644'), ('4302', '20388900', '1336398822', None, None, None, None, None, '2574644')] time used for this insertion : 0.017335176467895508 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.110409736633301 time spend to save output : 0.017627239227294922 total time spend for step 5 : 3.1280369758605957 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 (2574644) 3.06user 2.67system 0:16.72elapsed 34%CPU (0avgtext+0avgdata 163420maxresident)k 344inputs+27192outputs (0major+76991minor)pagefaults 0swaps