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 : 1687091 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 (3443386) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3443386) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630398 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3443386'] with mtr_portfolio_ids : ['25630398'] and first list_photo_ids : [] new path : /proc/1687091/ Name: python3 Umask: 0002 State: R (running) Tgid: 1687091 Ngid: 0 Pid: 1687091 PPid: 1687090 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1687091 NSpid: 1687091 NSpgid: 1685863 NSsid: 1685863 VmPeak: 1106860 kB VmSize: 1106860 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98636 kB VmRSS: 98636 kB RssAnon: 59816 kB RssFile: 38820 kB RssShmem: 0 kB VmData: 865612 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 556 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 50 nonvoluntary_ctxt_switches: 109 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1687091', 'Ngid': '0', 'Pid': '1687091', 'PPid': '1687090', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1687091', 'NSpid': '1687091', 'NSpgid': '1685863', 'NSsid': '1685863', 'VmPeak': '1106860 kB', 'VmSize': '1106860 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98636 kB', 'VmRSS': '98636 kB', 'RssAnon': '59816 kB', 'RssFile': '38820 kB', 'RssShmem': '0 kB', 'VmData': '865612 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '556 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '50', 'nonvoluntary_ctxt_switches': '109'} ('datou_batch_current', '1687091', '1106860', '0', '1106860', '865612', '98636', b'', 'marlene', '3443386') 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 (25630398) 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 (3443386 ) ) 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 (25630398) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1375088844, 'portfolio_id': 25630398}, {'photo_id': 1375088781, 'portfolio_id': 25630398}, {'photo_id': 1375088780, 'portfolio_id': 25630398}, {'photo_id': 1375088755, 'portfolio_id': 25630398}, {'photo_id': 1375088753, 'portfolio_id': 25630398}, {'photo_id': 1375088729, 'portfolio_id': 25630398}, {'photo_id': 1375088728, 'portfolio_id': 25630398}, {'photo_id': 1375088705, 'portfolio_id': 25630398}, {'photo_id': 1375088704, 'portfolio_id': 25630398}, {'photo_id': 1375088685, 'portfolio_id': 25630398}, {'photo_id': 1375088684, 'portfolio_id': 25630398}, {'photo_id': 1375088683, 'portfolio_id': 25630398}, {'photo_id': 1375088600, 'portfolio_id': 25630398}, {'photo_id': 1375088597, 'portfolio_id': 25630398}, {'photo_id': 1375088355, 'portfolio_id': 25630398}, {'photo_id': 1375088330, 'portfolio_id': 25630398}, {'photo_id': 1375088301, 'portfolio_id': 25630398}, {'photo_id': 1375088274, 'portfolio_id': 25630398}, {'photo_id': 1375088219, 'portfolio_id': 25630398}, {'photo_id': 1375088216, 'portfolio_id': 25630398}, {'photo_id': 1375088213, 'portfolio_id': 25630398}, {'photo_id': 1375088211, 'portfolio_id': 25630398}, {'photo_id': 1375088207, 'portfolio_id': 25630398}, {'photo_id': 1375088205, 'portfolio_id': 25630398}, {'photo_id': 1375088157, 'portfolio_id': 25630398}, {'photo_id': 1375088155, 'portfolio_id': 25630398}, {'photo_id': 1375088153, 'portfolio_id': 25630398}, {'photo_id': 1375088019, 'portfolio_id': 25630398}, {'photo_id': 1375088009, 'portfolio_id': 25630398}, {'photo_id': 1375087815, 'portfolio_id': 25630398}, {'photo_id': 1375087809, 'portfolio_id': 25630398}, {'photo_id': 1375087801, 'portfolio_id': 25630398}, {'photo_id': 1375087743, 'portfolio_id': 25630398}, {'photo_id': 1375087741, 'portfolio_id': 25630398}, {'photo_id': 1375087738, 'portfolio_id': 25630398}] map_portfolio_id_photo_id: {25630398: [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738]} ##### 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.055639028549194336 #### 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 Aug 5 05:41:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25630398) 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 : 25630398 get user id for portfolio 25630398 get sub ptf for main ptf 25630398, type 3726 and hashtags ['Teint_Dans_La_Masse', 'mal_croppe', 'autre_refus', 'environnement', 'papier', 'flou', 'cartonnette', 'plastique', 'kraft', 'metal', 'Carton_brun', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25630398 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','autre_refus','environnement','papier','flou','cartonnette','plastique','kraft','metal','Carton_brun','Carton_gris')) 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`=25630398 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','autre_refus','environnement','papier','flou','cartonnette','plastique','kraft','metal','Carton_brun','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 25630398, 'sub_port_id': 25630405, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281505, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'Carton_gris': {'main_port_id': 25630398, 'sub_port_id': 25630406, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281506, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 25630398, 'sub_port_id': 25630407, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281507, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'mal_croppe': {'main_port_id': 25630398, 'sub_port_id': 25630408, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281508, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'environnement': {'main_port_id': 25630398, 'sub_port_id': 25630410, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281509, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'flou': {'main_port_id': 25630398, 'sub_port_id': 25630411, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281510, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'metal': {'main_port_id': 25630398, 'sub_port_id': 25630412, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281511, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'papier': {'main_port_id': 25630398, 'sub_port_id': 25630413, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281512, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'plastique': {'main_port_id': 25630398, 'sub_port_id': 25630414, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281513, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'cartonnette': {'main_port_id': 25630398, 'sub_port_id': 25630415, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281514, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'Carton_brun': {'main_port_id': 25630398, 'sub_port_id': 25630416, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281515, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}, 'autre_refus': {'main_port_id': 25630398, 'sub_port_id': 25630417, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281516, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25630405 , 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=25630398 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 (25630405) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630406 , 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=25630398 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 (25630406) result : ((1375088812,), (1375088945,), (1375090246,), (1375090248,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630407 , 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=25630398 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 (25630407) result : ((1375088807,), (1375088808,), (1375088809,), (1375088810,), (1375088938,), (1375089028,), (1375089029,), (1375090239,), (1375092864,), (1375092865,), (1375092866,), (1375092867,), (1375092868,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630408 , 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=25630398 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 (25630408) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630410 , 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=25630398 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 (25630410) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630411 , 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=25630398 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 (25630411) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630412 , 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=25630398 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 (25630412) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630413 , 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=25630398 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 (25630413) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630414 , 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=25630398 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 (25630414) result : ((1375088950,), (1375088951,), (1375089036,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630415 , 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=25630398 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 (25630415) result : ((1375088813,), (1375092869,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630416 , 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=25630398 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 (25630416) result : ((1375088946,), (1375088947,), (1375089030,), (1375089031,), (1375089032,), (1375089033,), (1375089034,), (1375089035,), (1375090255,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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 25630417 , 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=25630398 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 (25630417) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25630398) result : ((1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,)) 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 (1375088600) 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`=25630398 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','autre_refus','environnement','papier','flou','cartonnette','plastique','kraft','metal','Carton_brun','Carton_gris')) 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`=25630398 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','autre_refus','environnement','papier','flou','cartonnette','plastique','kraft','metal','Carton_brun','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 25630398, 'sub_port_id': 25630419, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281517, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'Carton_gris': {'main_port_id': 25630398, 'sub_port_id': 25630420, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281518, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 25630398, 'sub_port_id': 25630421, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281519, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'mal_croppe': {'main_port_id': 25630398, 'sub_port_id': 25630422, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281520, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'environnement': {'main_port_id': 25630398, 'sub_port_id': 25630423, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281521, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'flou': {'main_port_id': 25630398, 'sub_port_id': 25630424, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281522, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'metal': {'main_port_id': 25630398, 'sub_port_id': 25630425, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281523, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'papier': {'main_port_id': 25630398, 'sub_port_id': 25630426, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281524, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'plastique': {'main_port_id': 25630398, 'sub_port_id': 25630427, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281525, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'cartonnette': {'main_port_id': 25630398, 'sub_port_id': 25630428, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281526, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'Carton_brun': {'main_port_id': 25630398, 'sub_port_id': 25630429, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281527, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}, 'autre_refus': {'main_port_id': 25630398, 'sub_port_id': 25630430, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17281528, 'last_updated_at': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 4, 8, 32, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 4, 8, 18, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630405 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630421,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630408 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630423,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630410 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630424,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630411 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630412 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630413 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630414 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630428,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630415 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630429,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630416 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25630430,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25630417 lien utilise dans velours : https://www.fotonower.com/velours/25630419,25630420,25630421,25630422,25630423,25630424,25630425,25630426,25630427,25630428,25630429,25630430?tags=kraft,Carton_gris,Teint_Dans_La_Masse,mal_croppe,environnement,flou,metal,papier,plastique,cartonnette,Carton_brun,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25630398]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738] map_info['map_portfolio_photo'] : {25630398: [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738]} final : False mtd_id 4302 list_pids : [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738] Looping around the photos to save general results len do output : 1 /25630398. 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, '3443386') ('4302', '25630398', '1375088844', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088781', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088780', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088755', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088753', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088729', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088728', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088705', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088704', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088685', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088684', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088683', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088600', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088597', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088355', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088330', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088301', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088274', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088219', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088216', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088213', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088211', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088207', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088205', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088157', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088155', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088153', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088019', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088009', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087815', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087809', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087801', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087743', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087741', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087738', None, None, None, None, None, '3443386') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '25630398', "{'kraft': 25630405, 'Carton_gris': 25630406, 'Teint_Dans_La_Masse': 25630407, 'mal_croppe': 25630408, 'environnement': 25630410, 'flou': 25630411, 'metal': 25630412, 'papier': 25630413, 'plastique': 25630414, 'cartonnette': 25630415, 'Carton_brun': 25630416, 'autre_refus': 25630417}", None, None, None, None, '3443386'), ('4302', '25630398', '1375088844', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088781', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088780', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088755', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088753', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088729', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088728', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088705', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088704', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088685', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088684', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088683', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088600', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088597', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088355', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088330', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088301', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088274', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088219', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088216', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088213', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088211', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088207', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088205', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088157', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088155', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088153', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088019', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088009', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087815', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087809', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087801', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087743', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087741', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087738', None, None, None, None, None, '3443386')] time used for this insertion : 0.02254033088684082 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6344678401947021 time spend to save output : 0.023044586181640625 total time spend for step 1 : 0.6575124263763428 step2:final Tue Aug 5 05:41:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (25630398) 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 25630398 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1375087743,1375087741,1375087738,1375087815,1375087809,1375087801,1375088019,1375088009,1375088157,1375088219,1375088216,1375088155,1375088213,1375088153,1375088211,1375088207,1375088205,1375088355,1375088330,1375088301,1375088274,1375088600,1375088597,1375088685,1375088684,1375088683,1375088705,1375088704,1375088729,1375088728,1375088755,1375088753,1375088781,1375088780,1375088844); 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([25630398]) Inside saveOutput : final : False verbose : True original output for save of step final : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} new output for save of step final : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738] map_info['map_portfolio_photo'] : {25630398: [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738]} final : False mtd_id 4302 list_pids : [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738] Looping around the photos to save general results len do output : 35 /1375088844.Didn't retrieve data . /1375088781.Didn't retrieve data . /1375088780.Didn't retrieve data . /1375088755.Didn't retrieve data . /1375088753.Didn't retrieve data . /1375088729.Didn't retrieve data . /1375088728.Didn't retrieve data . /1375088705.Didn't retrieve data . /1375088704.Didn't retrieve data . /1375088685.Didn't retrieve data . /1375088684.Didn't retrieve data . /1375088683.Didn't retrieve data . /1375088600.Didn't retrieve data . /1375088597.Didn't retrieve data . /1375088355.Didn't retrieve data . /1375088330.Didn't retrieve data . /1375088301.Didn't retrieve data . /1375088274.Didn't retrieve data . /1375088219.Didn't retrieve data . /1375088216.Didn't retrieve data . /1375088213.Didn't retrieve data . /1375088211.Didn't retrieve data . /1375088207.Didn't retrieve data . /1375088205.Didn't retrieve data . /1375088157.Didn't retrieve data . /1375088155.Didn't retrieve data . /1375088153.Didn't retrieve data . /1375088019.Didn't retrieve data . /1375088009.Didn't retrieve data . /1375087815.Didn't retrieve data . /1375087809.Didn't retrieve data . /1375087801.Didn't retrieve data . /1375087743.Didn't retrieve data . /1375087741.Didn't retrieve data . /1375087738.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, '3443386') ('4302', '25630398', '1375088844', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088781', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088780', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088755', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088753', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088729', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088728', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088705', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088704', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088685', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088684', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088683', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088600', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088597', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088355', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088330', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088301', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088274', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088219', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088216', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088213', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088211', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088207', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088205', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088157', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088155', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088153', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088019', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088009', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087815', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087809', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087801', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087743', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087741', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087738', None, None, None, None, None, '3443386') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 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', '25630398', '1375088844', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088781', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088780', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088755', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088753', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088729', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088728', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088705', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088704', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088685', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088684', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088683', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088600', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088597', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088355', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088330', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088301', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088274', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088219', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088216', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088213', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088211', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088207', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088205', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088157', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088155', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088153', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088019', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375088009', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375087815', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375087809', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375087801', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375087743', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375087741', '0.12752737059602728', None, None, None, None, '3443386'), ('4302', '25630398', '1375087738', '0.12752737059602728', None, None, None, None, '3443386')] time used for this insertion : 0.02351069450378418 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06714105606079102 time spend to save output : 0.024941444396972656 total time spend for step 2 : 0.09208250045776367 step3:velours_tree Tue Aug 5 05:41:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {25630398: [{'kraft': 25630405, 'Carton_gris': 25630406, 'Teint_Dans_La_Masse': 25630407, 'mal_croppe': 25630408, 'environnement': 25630410, 'flou': 25630411, 'metal': 25630412, 'papier': 25630413, 'plastique': 25630414, 'cartonnette': 25630415, 'Carton_brun': 25630416, 'autre_refus': 25630417}]} input_args_next_step : {25630398: ()} output_args : {25630398: [{'kraft': 25630405, 'Carton_gris': 25630406, 'Teint_Dans_La_Masse': 25630407, 'mal_croppe': 25630408, 'environnement': 25630410, 'flou': 25630411, 'metal': 25630412, 'papier': 25630413, 'plastique': 25630414, 'cartonnette': 25630415, 'Carton_brun': 25630416, 'autre_refus': 25630417}]} args : 25630398 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 : ({'kraft': 25630405, 'Carton_gris': 25630406, 'Teint_Dans_La_Masse': 25630407, 'mal_croppe': 25630408, 'environnement': 25630410, 'flou': 25630411, 'metal': 25630412, 'papier': 25630413, 'plastique': 25630414, 'cartonnette': 25630415, 'Carton_brun': 25630416, 'autre_refus': 25630417},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25630398) 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([25630398]) 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.2924926280975342 time spend to save output : 5.340576171875e-05 total time spend for step 3 : 0.29254603385925293 step4:send_mail_cod Tue Aug 5 05:41:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} input_args_next_step : {1375088844: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088844 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088781 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088780 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088755 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088753 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088729 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088728 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088705 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088704 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088685 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088684 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088683 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088600 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088597 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088355 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088330 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088301 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088274 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088219 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088216 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088213 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088211 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088207 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088205 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088157 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088155 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088153 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088019 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375088009 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375087815 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375087809 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375087801 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375087743 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375087741 depend.output_id : 0 input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ()} output_args : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',)} args : 1375087738 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 : {25630398: [{'kraft': 25630405, 'Carton_gris': 25630406, 'Teint_Dans_La_Masse': 25630407, 'mal_croppe': 25630408, 'environnement': 25630410, 'flou': 25630411, 'metal': 25630412, 'papier': 25630413, 'plastique': 25630414, 'cartonnette': 25630415, 'Carton_brun': 25630416, 'autre_refus': 25630417}]} input_args_next_step : {1375088844: ('0.12752737059602728',), 1375088781: ('0.12752737059602728',), 1375088780: ('0.12752737059602728',), 1375088755: ('0.12752737059602728',), 1375088753: ('0.12752737059602728',), 1375088729: ('0.12752737059602728',), 1375088728: ('0.12752737059602728',), 1375088705: ('0.12752737059602728',), 1375088704: ('0.12752737059602728',), 1375088685: ('0.12752737059602728',), 1375088684: ('0.12752737059602728',), 1375088683: ('0.12752737059602728',), 1375088600: ('0.12752737059602728',), 1375088597: ('0.12752737059602728',), 1375088355: ('0.12752737059602728',), 1375088330: ('0.12752737059602728',), 1375088301: ('0.12752737059602728',), 1375088274: ('0.12752737059602728',), 1375088219: ('0.12752737059602728',), 1375088216: ('0.12752737059602728',), 1375088213: ('0.12752737059602728',), 1375088211: ('0.12752737059602728',), 1375088207: ('0.12752737059602728',), 1375088205: ('0.12752737059602728',), 1375088157: ('0.12752737059602728',), 1375088155: ('0.12752737059602728',), 1375088153: ('0.12752737059602728',), 1375088019: ('0.12752737059602728',), 1375088009: ('0.12752737059602728',), 1375087815: ('0.12752737059602728',), 1375087809: ('0.12752737059602728',), 1375087801: ('0.12752737059602728',), 1375087743: ('0.12752737059602728',), 1375087741: ('0.12752737059602728',), 1375087738: ('0.12752737059602728',), 25630398: ()} output_args : {25630398: [{'kraft': 25630405, 'Carton_gris': 25630406, 'Teint_Dans_La_Masse': 25630407, 'mal_croppe': 25630408, 'environnement': 25630410, 'flou': 25630411, 'metal': 25630412, 'papier': 25630413, 'plastique': 25630414, 'cartonnette': 25630415, 'Carton_brun': 25630416, 'autre_refus': 25630417}]} args : 25630398 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 :36, first value : ('0.12752737059602728',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25630398) 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 (1375088844,1375088781,1375088780,1375088755,1375088753,1375088729,1375088728,1375088705,1375088704,1375088685,1375088684,1375088683,1375088600,1375088597,1375088355,1375088330,1375088301,1375088274,1375088219,1375088216,1375088213,1375088211,1375088207,1375088205,1375088157,1375088155,1375088153,1375088019,1375088009,1375087815,1375087809,1375087801,1375087743,1375087741,1375087738) Found this number of photos: 35 ##### Call download_photos : nb_thread : 5 begin to download photo : 1375087738 begin to download photo : 1375088153 begin to download photo : 1375088219 begin to download photo : 1375088684 begin to download photo : 1375088780 download finish for photo 1375088219 begin to download photo : 1375088274 download finish for photo 1375088684 begin to download photo : 1375088685 download finish for photo 1375087738 begin to download photo : 1375087741 download finish for photo 1375088780 begin to download photo : 1375088781 download finish for photo 1375088153 begin to download photo : 1375088155 download finish for photo 1375087741 begin to download photo : 1375087743 download finish for photo 1375088685 begin to download photo : 1375088704 download finish for photo 1375088781 begin to download photo : 1375088844 download finish for photo 1375088274 begin to download photo : 1375088301 download finish for photo 1375088155 begin to download photo : 1375088157 download finish for photo 1375088844 download finish for photo 1375088157 begin to download photo : 1375088205 download finish for photo 1375088704 begin to download photo : 1375088705 download finish for photo 1375088301 begin to download photo : 1375088330 download finish for photo 1375087743 begin to download photo : 1375087801 download finish for photo 1375088330 begin to download photo : 1375088355 download finish for photo 1375088205 begin to download photo : 1375088207 download finish for photo 1375088705 begin to download photo : 1375088728 download finish for photo 1375087801 begin to download photo : 1375087809 download finish for photo 1375088207 begin to download photo : 1375088211 download finish for photo 1375088355 begin to download photo : 1375088597 download finish for photo 1375088728 begin to download photo : 1375088729 download finish for photo 1375087809 begin to download photo : 1375087815 download finish for photo 1375088211 begin to download photo : 1375088213 download finish for photo 1375088597 begin to download photo : 1375088600 download finish for photo 1375088729 begin to download photo : 1375088753 download finish for photo 1375087815 begin to download photo : 1375088009 download finish for photo 1375088213 begin to download photo : 1375088216 download finish for photo 1375088753 begin to download photo : 1375088755 download finish for photo 1375088600 begin to download photo : 1375088683 download finish for photo 1375088009 begin to download photo : 1375088019 download finish for photo 1375088216 download finish for photo 1375088755 download finish for photo 1375088683 download finish for photo 1375088019 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette256304051754365291/ imagette256304081754365291/ imagette256304111754365291/ imagette256304121754365291/ length of list_filenames : 35 ; length of list_pids : 35 ; length of list_args : 35 results_Auto_P25630398_05-08-2025_05_41_31.pdf 25630405 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=25630405 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette256304051754365291 25630408 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=25630408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette256304081754365291 25630411 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=25630411 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette256304111754365291 25630412 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=25630412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette256304121754365291 25630414 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=25630414 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375088950: '1754289086_497425_1375088729_2f187416f44990943d5ab56c5bf31456_rle_crop_3902401760_0.png', 1375088951: '1754289086_497425_1375088729_2f187416f44990943d5ab56c5bf31456_rle_crop_3902401753_0.png', 1375089036: '1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402368_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/827b8772fa3f3068bd7bb30d45fa14e5_62642441.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/2112b66dcb605995ad3d8e6e2e36fa4d_76414939.png change filename to text .imagette256304141754365291/ imagette256304141754365291/1754289086_497425_1375088729_2f187416f44990943d5ab56c5bf31456_rle_crop_3902401760_0.png.png imagette256304141754365291/1754289086_497425_1375088729_2f187416f44990943d5ab56c5bf31456_rle_crop_3902401753_0.png.png imagette256304141754365291/1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402368_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/f10f6d36570be4e9a0ec024448717599_44685975.png imagette256304141754365291 25630415 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=25630415 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375088813: '1754288965_493247_1375088207_f0ac4ccfe0ac08effeedcdb665799361_rle_crop_3902400920_0.png', 1375092869: '1754292087_581574_1375088705_6e00298d7a7f7345fc301515012c96b5_rle_crop_3902421874_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/393c54d47ed8d8e8a2eca09fa39b6bef_12735385.png change filename to text .imagette256304151754365292/ imagette256304151754365292/1754288965_493247_1375088207_f0ac4ccfe0ac08effeedcdb665799361_rle_crop_3902400920_0.png.png imagette256304151754365292/1754292087_581574_1375088705_6e00298d7a7f7345fc301515012c96b5_rle_crop_3902421874_0.png.png imagette256304171754365292/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/508f049758ce3c02de84743e91caf8ff_81578563.png imagette256304151754365292 25630417 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=25630417 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette256304171754365292 25630406 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=25630406 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375088812: '1754288965_493247_1375088355_5562ce1c22c105dd8214d3b39efcbeb2_rle_crop_3902400906_0.png', 1375088945: '1754289086_497425_1375088704_f2e2edfd7a2f442e62d27a129303fafd_rle_crop_3902401772_0.png', 1375090246: '1754289925_519472_1375088219_42185e89229e786f8cacab5bbcbbc59b_rle_crop_3902406226_0.png', 1375090248: '1754289925_519472_1375088157_c7cc2c7938178309bea7d514f5362d04_rle_crop_3902406241_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/f39e7751727c34a794f9e192819fc656_545063.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/4bfad8f770e87388bc5ef56270b2bb4a_61498613.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/5785b8957a5d6dfad194dcdae3ec6b84_7032142.png change filename to text .imagette256304061754365292/ imagette256304061754365292/1754289086_497425_1375088704_f2e2edfd7a2f442e62d27a129303fafd_rle_crop_3902401772_0.png.png imagette256304061754365292/1754289925_519472_1375088157_c7cc2c7938178309bea7d514f5362d04_rle_crop_3902406241_0.png.png imagette256304061754365292/1754289925_519472_1375088219_42185e89229e786f8cacab5bbcbbc59b_rle_crop_3902406226_0.png.png imagette256304061754365292/1754288965_493247_1375088355_5562ce1c22c105dd8214d3b39efcbeb2_rle_crop_3902400906_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/5785b8957a5d6dfad194dcdae3ec6b84_61105469.png imagette256304061754365292 25630407 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=25630407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375088807: '1754288965_493247_1375088355_5562ce1c22c105dd8214d3b39efcbeb2_rle_crop_3902400912_0.png', 1375088808: '1754288965_493247_1375088355_5562ce1c22c105dd8214d3b39efcbeb2_rle_crop_3902400913_0.png', 1375088809: '1754288965_493247_1375088207_f0ac4ccfe0ac08effeedcdb665799361_rle_crop_3902400924_0.png', 1375088810: '1754288965_493247_1375088207_f0ac4ccfe0ac08effeedcdb665799361_rle_crop_3902400926_0.png', 1375088938: '1754289086_497425_1375088704_f2e2edfd7a2f442e62d27a129303fafd_rle_crop_3902401777_0.png', 1375089028: '1754289206_500249_1375088755_8b899a49534adbe1657e1ec45e830856_rle_crop_3902402356_0.png', 1375089029: '1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402373_0.png', 1375090239: '1754289925_519472_1375088009_2f2311950d4e057603b4fc20fd2195b1_rle_crop_3902406255_0.png', 1375092864: '1754292087_581574_1375088705_6e00298d7a7f7345fc301515012c96b5_rle_crop_3902421878_0.png', 1375092865: '1754292087_581574_1375088705_6e00298d7a7f7345fc301515012c96b5_rle_crop_3902421884_0.png', 1375092866: '1754292087_581574_1375088705_6e00298d7a7f7345fc301515012c96b5_rle_crop_3902421882_0.png', 1375092867: '1754292087_581574_1375088683_817c67b7050b4334ed5407ba91b69e5a_rle_crop_3902421893_0.png', 1375092868: '1754292087_581574_1375088683_817c67b7050b4334ed5407ba91b69e5a_rle_crop_3902421892_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/971242b448db0be441d0b4b918fbe62a_77532976.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/a06725771260316a769e018513742858_4528235.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/4390dbe87d6bcf89a2276b36b91e467b_84143207.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/125f61ec1efc380f13a656cbb618b13a_61165011.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/b3b0aa390596477268635da8aa60c8ce_659978.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/927a1b7a7b65d2e997033946e43c6c14_95968485.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/e4739e7194117f9247dc072b70593192_56682667.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/d111b90f20de2af52006b8a3a65d5caa_49837700.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/324a4a968390b00e67d28ff0a3da168c_72247832.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/5360dcf1564a2937a8075b49d7b37898_61026607.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/c2b092c393a43592aef2ab39ca4fc0e3_92717640.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/f7d0377370d103a650f8430d4d41f9b1_2917206.png change filename to text .imagette256304071754365292/ imagette256304071754365292/1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402373_0.png.png imagette256304071754365292/1754289206_500249_1375088755_8b899a49534adbe1657e1ec45e830856_rle_crop_3902402356_0.png.png imagette256304071754365292/1754289925_519472_1375088009_2f2311950d4e057603b4fc20fd2195b1_rle_crop_3902406255_0.png.png imagette256304071754365292/1754292087_581574_1375088705_6e00298d7a7f7345fc301515012c96b5_rle_crop_3902421878_0.png.png imagette256304071754365292/1754292087_581574_1375088683_817c67b7050b4334ed5407ba91b69e5a_rle_crop_3902421893_0.png.png imagette256304071754365292/1754289086_497425_1375088704_f2e2edfd7a2f442e62d27a129303fafd_rle_crop_3902401777_0.png.png imagette256304071754365292/1754288965_493247_1375088355_5562ce1c22c105dd8214d3b39efcbeb2_rle_crop_3902400912_0.png.png imagette256304071754365292/1754288965_493247_1375088355_5562ce1c22c105dd8214d3b39efcbeb2_rle_crop_3902400913_0.png.png imagette256304071754365292/1754292087_581574_1375088683_817c67b7050b4334ed5407ba91b69e5a_rle_crop_3902421892_0.png.png imagette256304071754365292/1754292087_581574_1375088705_6e00298d7a7f7345fc301515012c96b5_rle_crop_3902421884_0.png.png imagette256304071754365292/1754292087_581574_1375088705_6e00298d7a7f7345fc301515012c96b5_rle_crop_3902421882_0.png.png imagette256304071754365292/1754288965_493247_1375088207_f0ac4ccfe0ac08effeedcdb665799361_rle_crop_3902400924_0.png.png imagette256304071754365292/1754288965_493247_1375088207_f0ac4ccfe0ac08effeedcdb665799361_rle_crop_3902400926_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/8bec37553dbb7441b853d59f7c278ae1_73460013.png imagette256304071754365292 25630416 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=25630416 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375088946: '1754289086_497425_1375088729_2f187416f44990943d5ab56c5bf31456_rle_crop_3902401765_0.png', 1375088947: '1754289086_497425_1375088729_2f187416f44990943d5ab56c5bf31456_rle_crop_3902401763_0.png', 1375089030: '1754289206_500249_1375088755_8b899a49534adbe1657e1ec45e830856_rle_crop_3902402358_0.png', 1375089031: '1754289206_500249_1375088755_8b899a49534adbe1657e1ec45e830856_rle_crop_3902402349_0.png', 1375089032: '1754289206_500249_1375088755_8b899a49534adbe1657e1ec45e830856_rle_crop_3902402355_0.png', 1375089033: '1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402374_0.png', 1375089034: '1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402370_0.png', 1375089035: '1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402372_0.png', 1375090255: '1754289925_519472_1375088009_2f2311950d4e057603b4fc20fd2195b1_rle_crop_3902406256_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/f8b8f2b67af8d116fa7b75b8b0188d8b_621315.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/d6971f321a936551c80a22a67b954172_81000978.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/3e6ef0de5a1f5e0d19dee5cc3298be41_72044514.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/16ecb6f6eff14f5b5ff9d1f58df9f9c6_29640194.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/330cd8e6d4bcc6d481832399a96d3998_9482646.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/3bc267f33b8e0e241b1ed9a5146af6e9_53256228.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/c3347c9aa5087c32e0c5bd9cbb1667c6_6185288.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/a5ee9dcb04988d884e80c9ac40b36a53_78124846.png change filename to text .imagette256304161754365293/ imagette256304161754365293/1754289086_497425_1375088729_2f187416f44990943d5ab56c5bf31456_rle_crop_3902401763_0.png.png imagette256304161754365293/1754289206_500249_1375088755_8b899a49534adbe1657e1ec45e830856_rle_crop_3902402358_0.png.png imagette256304161754365293/1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402370_0.png.png imagette256304161754365293/1754289206_500249_1375088755_8b899a49534adbe1657e1ec45e830856_rle_crop_3902402349_0.png.png imagette256304161754365293/1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402374_0.png.png imagette256304161754365293/1754289206_500249_1375088728_4e2f4554b83dc01b88629c05ec23c9b4_rle_crop_3902402372_0.png.png imagette256304161754365293/1754289206_500249_1375088755_8b899a49534adbe1657e1ec45e830856_rle_crop_3902402355_0.png.png imagette256304161754365293/1754289925_519472_1375088009_2f2311950d4e057603b4fc20fd2195b1_rle_crop_3902406256_0.png.png imagette256304161754365293/1754289086_497425_1375088729_2f187416f44990943d5ab56c5bf31456_rle_crop_3902401765_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/d805052ba52ac075e825e0da9624278a_69756084.png imagette256304161754365293 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25630398 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25630419,25630420,25630421,25630422,25630423,25630424,25630425,25630426,25630427,25630428,25630429,25630430?tags=kraft,Carton_gris,Teint_Dans_La_Masse,mal_croppe,environnement,flou,metal,papier,plastique,cartonnette,Carton_brun,autre_refus your option no_mail is active, we will not send the real mail to your client args[1375088844] : ('0.12752737059602728',) no score found for photo 1375088844 We are sending mail with results at report@fotonower.com args[1375088781] : ('0.12752737059602728',) no score found for photo 1375088781 We are sending mail with results at report@fotonower.com args[1375088780] : ('0.12752737059602728',) no score found for photo 1375088780 We are sending mail with results at report@fotonower.com args[1375088755] : ('0.12752737059602728',) no score found for photo 1375088755 We are sending mail with results at report@fotonower.com args[1375088753] : ('0.12752737059602728',) no score found for photo 1375088753 We are sending mail with results at report@fotonower.com args[1375088729] : ('0.12752737059602728',) no score found for photo 1375088729 We are sending mail with results at report@fotonower.com args[1375088728] : ('0.12752737059602728',) no score found for photo 1375088728 We are sending mail with results at report@fotonower.com args[1375088705] : ('0.12752737059602728',) no score found for photo 1375088705 We are sending mail with results at report@fotonower.com args[1375088704] : ('0.12752737059602728',) no score found for photo 1375088704 We are sending mail with results at report@fotonower.com args[1375088685] : ('0.12752737059602728',) no score found for photo 1375088685 We are sending mail with results at report@fotonower.com args[1375088684] : ('0.12752737059602728',) no score found for photo 1375088684 We are sending mail with results at report@fotonower.com args[1375088683] : ('0.12752737059602728',) no score found for photo 1375088683 We are sending mail with results at report@fotonower.com args[1375088600] : ('0.12752737059602728',) no score found for photo 1375088600 We are sending mail with results at report@fotonower.com args[1375088597] : ('0.12752737059602728',) no score found for photo 1375088597 We are sending mail with results at report@fotonower.com args[1375088355] : ('0.12752737059602728',) no score found for photo 1375088355 We are sending mail with results at report@fotonower.com args[1375088330] : ('0.12752737059602728',) no score found for photo 1375088330 We are sending mail with results at report@fotonower.com args[1375088301] : ('0.12752737059602728',) no score found for photo 1375088301 We are sending mail with results at report@fotonower.com args[1375088274] : ('0.12752737059602728',) no score found for photo 1375088274 We are sending mail with results at report@fotonower.com args[1375088219] : ('0.12752737059602728',) no score found for photo 1375088219 We are sending mail with results at report@fotonower.com args[1375088216] : ('0.12752737059602728',) no score found for photo 1375088216 We are sending mail with results at report@fotonower.com args[1375088213] : ('0.12752737059602728',) no score found for photo 1375088213 We are sending mail with results at report@fotonower.com args[1375088211] : ('0.12752737059602728',) no score found for photo 1375088211 We are sending mail with results at report@fotonower.com args[1375088207] : ('0.12752737059602728',) no score found for photo 1375088207 We are sending mail with results at report@fotonower.com args[1375088205] : ('0.12752737059602728',) no score found for photo 1375088205 We are sending mail with results at report@fotonower.com args[1375088157] : ('0.12752737059602728',) no score found for photo 1375088157 We are sending mail with results at report@fotonower.com args[1375088155] : ('0.12752737059602728',) no score found for photo 1375088155 We are sending mail with results at report@fotonower.com args[1375088153] : ('0.12752737059602728',) no score found for photo 1375088153 We are sending mail with results at report@fotonower.com args[1375088019] : ('0.12752737059602728',) no score found for photo 1375088019 We are sending mail with results at report@fotonower.com args[1375088009] : ('0.12752737059602728',) no score found for photo 1375088009 We are sending mail with results at report@fotonower.com args[1375087815] : ('0.12752737059602728',) no score found for photo 1375087815 We are sending mail with results at report@fotonower.com args[1375087809] : ('0.12752737059602728',) no score found for photo 1375087809 We are sending mail with results at report@fotonower.com args[1375087801] : ('0.12752737059602728',) no score found for photo 1375087801 We are sending mail with results at report@fotonower.com args[1375087743] : ('0.12752737059602728',) no score found for photo 1375087743 We are sending mail with results at report@fotonower.com args[1375087741] : ('0.12752737059602728',) no score found for photo 1375087741 We are sending mail with results at report@fotonower.com args[1375087738] : ('0.12752737059602728',) no score found for photo 1375087738 We are sending mail with results at report@fotonower.com refus_total : 0.12752737059602728 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=25630398 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_P25630398_05-08-2025_05_41_31.pdf results_Auto_P25630398_05-08-2025_05_41_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630398_05-08-2025_05_41_31.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','25630398','results_Auto_P25630398_05-08-2025_05_41_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630398_05-08-2025_05_41_31.pdf','pdf','','0.35','0.12752737059602728') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25630398]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738] map_info['map_portfolio_photo'] : {25630398: [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738]} final : False mtd_id 4302 list_pids : [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738] 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, '3443386') ('4302', '25630398', '1375088844', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088781', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088780', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088755', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088753', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088729', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088728', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088705', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088704', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088685', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088684', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088683', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088600', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088597', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088355', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088330', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088301', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088274', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088219', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088216', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088213', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088211', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088207', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088205', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088157', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088155', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088153', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088019', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088009', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087815', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087809', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087801', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087743', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087741', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087738', None, None, None, None, None, '3443386') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '25630398', '1375088844', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088781', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088780', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088755', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088753', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088729', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088728', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088705', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088704', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088685', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088684', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088683', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088600', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088597', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088355', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088330', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088301', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088274', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088219', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088216', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088213', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088211', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088207', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088205', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088157', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088155', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088153', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088019', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088009', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087815', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087809', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087801', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087743', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087741', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087738', None, None, None, None, None, '3443386')] time used for this insertion : 0.020509719848632812 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.790503978729248 time spend to save output : 0.021023988723754883 total time spend for step 4 : 6.811527967453003 step5:split_time_score Tue Aug 5 05:41:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['25630398'] 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 : [('25630398',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25630398) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1375088780: {'path': 'temp/1754365290_1687091_1375088780_75b0f31a219aacfaf8801812d492520d.jpg', 'extension': 'jpg'}, 1375088781: {'path': 'temp/1754365290_1687091_1375088781_a9b12bfeae5a24570ef8d5a463c45819.jpg', 'extension': 'jpg'}, 1375088844: {'path': 'temp/1754365290_1687091_1375088844_3db17072812aaa0600194abb056863c3.jpg', 'extension': 'jpg'}, 1375088153: {'path': 'temp/1754365290_1687091_1375088153_7e677019b16971a0a2c4acb83655ce76.jpg', 'extension': 'jpg'}, 1375088155: {'path': 'temp/1754365290_1687091_1375088155_0d2ee426d0be82aa7911b7b8eb148828.jpg', 'extension': 'jpg'}, 1375088157: {'path': 'temp/1754365290_1687091_1375088157_c7cc2c7938178309bea7d514f5362d04.jpg', 'extension': 'jpg'}, 1375088205: {'path': 'temp/1754365290_1687091_1375088205_6bc920ad328ede08fdafac115db43ada.jpg', 'extension': 'jpg'}, 1375088207: {'path': 'temp/1754365290_1687091_1375088207_f0ac4ccfe0ac08effeedcdb665799361.jpg', 'extension': 'jpg'}, 1375088211: {'path': 'temp/1754365290_1687091_1375088211_98d706c0a4aada1dd0af36662af2a11f.jpg', 'extension': 'jpg'}, 1375088213: {'path': 'temp/1754365290_1687091_1375088213_a0762fe24c5141eb8e4ca9a1860e0996.jpg', 'extension': 'jpg'}, 1375088216: {'path': 'temp/1754365290_1687091_1375088216_213831d526b00b7014d27728797ea4cb.jpg', 'extension': 'jpg'}, 1375088684: {'path': 'temp/1754365290_1687091_1375088684_86573e7d8a8dd178557322dfd009e0d9.jpg', 'extension': 'jpg'}, 1375088685: {'path': 'temp/1754365290_1687091_1375088685_3e2d80763d1e36a3ef8954fb11f9418e.jpg', 'extension': 'jpg'}, 1375088704: {'path': 'temp/1754365290_1687091_1375088704_f2e2edfd7a2f442e62d27a129303fafd.jpg', 'extension': 'jpg'}, 1375088705: {'path': 'temp/1754365290_1687091_1375088705_6e00298d7a7f7345fc301515012c96b5.jpg', 'extension': 'jpg'}, 1375088728: {'path': 'temp/1754365290_1687091_1375088728_4e2f4554b83dc01b88629c05ec23c9b4.jpg', 'extension': 'jpg'}, 1375088729: {'path': 'temp/1754365290_1687091_1375088729_2f187416f44990943d5ab56c5bf31456.jpg', 'extension': 'jpg'}, 1375088753: {'path': 'temp/1754365290_1687091_1375088753_7aef28466cf34ec909be25689cf1a69f.jpg', 'extension': 'jpg'}, 1375088755: {'path': 'temp/1754365290_1687091_1375088755_8b899a49534adbe1657e1ec45e830856.jpg', 'extension': 'jpg'}, 1375088219: {'path': 'temp/1754365290_1687091_1375088219_42185e89229e786f8cacab5bbcbbc59b.jpg', 'extension': 'jpg'}, 1375088274: {'path': 'temp/1754365290_1687091_1375088274_03c76495bc1ad6c85b7205e56599cfab.jpg', 'extension': 'jpg'}, 1375088301: {'path': 'temp/1754365290_1687091_1375088301_6373c1f2f7458020354196a06fa2102e.jpg', 'extension': 'jpg'}, 1375088330: {'path': 'temp/1754365290_1687091_1375088330_95ccb62a7aad23eefd716e66d95b32e1.jpg', 'extension': 'jpg'}, 1375088355: {'path': 'temp/1754365290_1687091_1375088355_5562ce1c22c105dd8214d3b39efcbeb2.jpg', 'extension': 'jpg'}, 1375088597: {'path': 'temp/1754365290_1687091_1375088597_7bc27a5dfccf677398eaab29bea37d94.jpg', 'extension': 'jpg'}, 1375088600: {'path': 'temp/1754365290_1687091_1375088600_8b0af6e7edf4a0d482d53f84448a3d0d.jpg', 'extension': 'jpg'}, 1375088683: {'path': 'temp/1754365290_1687091_1375088683_817c67b7050b4334ed5407ba91b69e5a.jpg', 'extension': 'jpg'}, 1375087738: {'path': 'temp/1754365290_1687091_1375087738_ff7afd863502fac95f4bbba680a471c2.jpg', 'extension': 'jpg'}, 1375087741: {'path': 'temp/1754365290_1687091_1375087741_90a854544e4bd5871c6f3b08a715cfc4.jpg', 'extension': 'jpg'}, 1375087743: {'path': 'temp/1754365290_1687091_1375087743_79c2928ac876ecaeccf59954a2317695.jpg', 'extension': 'jpg'}, 1375087801: {'path': 'temp/1754365290_1687091_1375087801_20c71f01ff23e3fb69551a0893cf969a.jpg', 'extension': 'jpg'}, 1375087809: {'path': 'temp/1754365290_1687091_1375087809_4b5a956b53272fae8771a3886a6f2f47.jpg', 'extension': 'jpg'}, 1375087815: {'path': 'temp/1754365290_1687091_1375087815_7dd088606e39a8dc82a4a7fa35168fc1.jpg', 'extension': 'jpg'}, 1375088009: {'path': 'temp/1754365290_1687091_1375088009_2f2311950d4e057603b4fc20fd2195b1.jpg', 'extension': 'jpg'}, 1375088019: {'path': 'temp/1754365290_1687091_1375088019_8414ab78a1cad9fb8f7cd109354651e2.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 = 25630398; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 25630398 group by h (('08', 35),) 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=25630398 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 (25630398) 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 (25630398) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04082025 25630398 Nombre de photos uploadées : 35 / 23040 (0%) 04082025 25630398 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 04082025 25630398 Nombre de photos taguées (volume) : 0 / 35 (0%) [{'photo_id': 1375087743, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/79c2928ac876ecaeccf59954a2317695.jpg', 'username': None, 'uploaded_at': 1754288232, 'text': 'image_04082025_08_15_14_10134.jpg'}, {'photo_id': 1375087741, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/90a854544e4bd5871c6f3b08a715cfc4.jpg', 'username': None, 'uploaded_at': 1754288232, 'text': 'image_04082025_08_16_04_10143.jpg'}, {'photo_id': 1375087738, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/ff7afd863502fac95f4bbba680a471c2.jpg', 'username': None, 'uploaded_at': 1754288232, 'text': 'image_04082025_08_16_14_10135.jpg'}, {'photo_id': 1375087815, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/4/7dd088606e39a8dc82a4a7fa35168fc1.jpg', 'username': None, 'uploaded_at': 1754288287, 'text': 'image_04082025_08_16_44_10133.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016303062438964844 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25630398, '2025-08-04' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-04' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2055199,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20444011688232422 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= 2055199 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25626685, 'dashboard_result_id': 13573928, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25626685_05-08-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25626687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25626688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25626689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25626690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25626691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25626692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25626693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25626694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25626695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25626696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25626697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25626698, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25626882, 'dashboard_result_id': 13573929, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25626882_05-08-2025_05_35_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25626890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25626891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25626892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25626893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25626894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25626895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25626896, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25626897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25626898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25626899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25626900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25626901, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25627175, 'dashboard_result_id': 13573930, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25627175_05-08-2025_05_35_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25627184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25627185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25627186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25627187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25627188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25627189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25627190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25627191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25627192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25627193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25627194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25627195, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25627892, 'dashboard_result_id': 13573931, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25627892_05-08-2025_05_36_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25627896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25627897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25627898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25627899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25627900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25627901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25627902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25627903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25627904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25627905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25627906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25627907, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25628013, 'dashboard_result_id': 13573932, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25628013_05-08-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25628023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25628024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25628025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25628026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25628027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25628028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25628029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25628030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25628031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25628032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25628033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25628034, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25628303, 'dashboard_result_id': 13573933, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25628303_05-08-2025_05_37_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25628314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25628315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25628316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25628317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25628318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25628319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25628320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25628321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25628322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25628323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25628324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25628325, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25629056, 'dashboard_result_id': 13573934, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629056_05-08-2025_05_38_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629068, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25629211, 'dashboard_result_id': 13573935, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629211_05-08-2025_05_39_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629234, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25629456, 'dashboard_result_id': 13573936, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629456_05-08-2025_05_40_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629478, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25629837, 'dashboard_result_id': 13573937, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629837_05-08-2025_05_40_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25629886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629897, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25630398, 'dashboard_result_id': 13573938, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630398_04-08-2025_08_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25630405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25630406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25630407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25630408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25630410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25630411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25630412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25630413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25630414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25630415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25630416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25630417, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25630863, 'dashboard_result_id': 13573939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630863_04-08-2025_08_46_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25630928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25630929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25630930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25630931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25630932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25630933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25630934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25630935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25630936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25630937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25630938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25630939, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25631422, 'dashboard_result_id': 13573940, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25631422_04-08-2025_09_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25631429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25631430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25631431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25631432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25631433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25631434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25631435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25631436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25631437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25631438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25631439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25631440, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25632607, 'dashboard_result_id': 13573941, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25632607_04-08-2025_09_56_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25632611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25632612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25632613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25632614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25632615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25632616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25632617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25632618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25632620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25632621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25632622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25632624, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25633178, 'dashboard_result_id': 13573942, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633178_04-08-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633194, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25633267, 'dashboard_result_id': 13573943, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633267_04-08-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633307, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633316, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25633910, 'dashboard_result_id': 13573944, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633910_04-08-2025_10_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633926, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25634253, 'dashboard_result_id': 13573945, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25634253_04-08-2025_10_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25634262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25634263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25634264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25634265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25634266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25634267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25634268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25634269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25634270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25634271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25634272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25634273, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25634599, 'dashboard_result_id': 13573946, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25634599_04-08-2025_11_03_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25634635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25634636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25634637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25634638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25634639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25634640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25634641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25634642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25634643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25634644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25634645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25634646, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25635026, 'dashboard_result_id': 13573947, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25635026_04-08-2025_11_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25635039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25635040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25635041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25635042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25635043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25635044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25635045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25635046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25635047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25635049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25635050, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25635051, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25635624, 'dashboard_result_id': 13573948, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25635624_04-08-2025_11_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25635639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25635640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25635641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25635642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25635643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25635644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25635645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25635646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25635647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25635648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25635649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25635650, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25636062, 'dashboard_result_id': 13573949, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636062_04-08-2025_11_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25636095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636106, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25636503, 'dashboard_result_id': 13573950, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636503_04-08-2025_12_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25636513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636519, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636520, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25636886, 'dashboard_result_id': 13573951, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636886_04-08-2025_13_59_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25636915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636921, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25638616, 'dashboard_result_id': 13573952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25638616_04-08-2025_13_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25638617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25638618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25638619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25638620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25638621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25638622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25638623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25638624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25638625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25638626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25638627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25638628, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25638768, 'dashboard_result_id': 13573953, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25638768_04-08-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25638792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25638793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25638794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25638795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25638796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25638797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25638798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25638799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25638800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25638801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25638802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25638803, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25639033, 'dashboard_result_id': 13573954, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639033_04-08-2025_14_21_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639055, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25639429, 'dashboard_result_id': 13573955, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639429_04-08-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25639430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639441, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25639623, 'dashboard_result_id': 13573956, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639623_04-08-2025_14_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639646, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25639888, 'dashboard_result_id': 13573957, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639888_04-08-2025_16_25_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639915, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25640848, 'dashboard_result_id': 13573958, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25640848_04-08-2025_16_03_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25640849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25640850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25640851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25640852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25640853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25640854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25640855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25640856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25640857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25640858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25640859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25640860, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25641106, 'dashboard_result_id': 13573959, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641106_04-08-2025_16_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25641175, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25641532, 'dashboard_result_id': 13573960, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641532_04-08-2025_17_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25641562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641569, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25641959, 'dashboard_result_id': 13573961, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641959_04-08-2025_16_50_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25641981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641992, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25642597, 'dashboard_result_id': 13573962, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25642597_04-08-2025_17_04_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25642601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25642602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25642603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25642604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25642605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25642606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25642607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25642608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25642609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25642610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25642611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25642612, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25642797, 'dashboard_result_id': 13573963, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25642797_04-08-2025_17_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25642816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25642817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25642818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25642819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25642820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25642821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25642822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25642823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25642824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25642825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25642826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25642827, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25643206, 'dashboard_result_id': 13573964, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25643206_04-08-2025_18_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25643241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25643242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25643243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25643244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25643245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25643246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25643247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25643248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25643249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25643250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25643251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25643252, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25644407, 'dashboard_result_id': 13573965, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25644407_04-08-2025_18_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25644505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25644506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25644507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25644508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25644509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25644510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25644511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25644512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25644513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25644514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25644515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25644516, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25644820, 'dashboard_result_id': 13573966, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25644820_04-08-2025_18_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25644854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25644855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25644856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25644857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25644858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25644859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25644860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25644861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25644862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25644863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25644864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25644865, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25645214, 'dashboard_result_id': 13573967, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25645214_04-08-2025_18_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25645250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25645251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25645252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25645253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25645254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25645255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25645256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25645257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25645258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25645259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25645260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25645261, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25645634, 'dashboard_result_id': 13573968, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25645634_04-08-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25645649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25645650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25645651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25645652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25645653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25645654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25645655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25645656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25645657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25645658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25645659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25645660, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25646118, 'dashboard_result_id': 13573969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25646118_04-08-2025_19_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25646183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25646184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25646185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25646186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25646187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25646188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25646189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25646190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25646191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25646192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25646193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25646194, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25646740, 'dashboard_result_id': 13573970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25646740_04-08-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25646776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25646777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25646778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25646779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25646780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25646781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25646782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25646783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25646784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25646785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25646786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25646787, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25647184, 'dashboard_result_id': 13573971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25647184_04-08-2025_19_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25647216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25647217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25647218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25647219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25647220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25647221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25647222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25647223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25647224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25647225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25647226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25647227, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25647742, 'dashboard_result_id': 13573972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25647742_04-08-2025_20_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25647775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25647776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25647777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25647778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25647779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25647780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25647781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25647782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25647783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25647784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25647785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25647786, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25648223, 'dashboard_result_id': 13573973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25648223_04-08-2025_20_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25648287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25648288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25648289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25648290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25648291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25648292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25648293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25648294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25648295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25648296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25648297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25648298, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25648831, 'dashboard_result_id': 13573974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25648831_04-08-2025_20_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25648851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25648852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25648853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25648854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25648855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25648856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25648857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25648858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25648859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25648860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25648861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25648862, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25649228, 'dashboard_result_id': 13573975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25649228_04-08-2025_21_02_56.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25649262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25649264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25649265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25649266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25649267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25649268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25649269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25649270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25649271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25649272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25649273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25649274, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25650123, 'dashboard_result_id': 13573976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650123_04-08-2025_21_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650143, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25650451, 'dashboard_result_id': 13573977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650451_04-08-2025_21_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650474, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25650756, 'dashboard_result_id': 13573978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650756_04-08-2025_21_46_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650798, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25651110, 'dashboard_result_id': 13573979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25651110_04-08-2025_22_03_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25651117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25651118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25651119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25651120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25651121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25651122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25651123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25651124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25651125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25651126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25651127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25651128, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25651569, 'dashboard_result_id': 13573980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25651569_04-08-2025_22_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25651611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25651612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25651613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25651614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25651615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25651616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25651617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25651618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25651619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25651620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25651621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25651622, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25652328, 'dashboard_result_id': 13573981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25652328_04-08-2025_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25652347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25652348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25652349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25652350, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25652351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25652352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25652353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25652354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25652355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25652356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25652357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25652358, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25652913, 'dashboard_result_id': 13573982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25652913_04-08-2025_22_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25652932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25652933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25652934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25652935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25652936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25652937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25652938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25652939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25652940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25652941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25652942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25652943, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25653594, 'dashboard_result_id': 13573983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25653594_04-08-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25653606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25653607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25653608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25653609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25653610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25653611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25653612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25653613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25653614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25653615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25653616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25653617, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25654217, 'dashboard_result_id': 13573984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25654217_04-08-2025_23_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25654368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25654369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25654370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25654371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25654372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25654373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25654374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25654375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25654376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25654377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25654378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25654379, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25654952, 'dashboard_result_id': 13573985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25654952_04-08-2025_23_39_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25654986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25654987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25654988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25654989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25654990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25654991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25654992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25654993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25654994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25654995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25654996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25654997, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25656072, 'dashboard_result_id': 13573986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656072_04-08-2025_23_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25656096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656097, 'pht': 3726}}"}, {'dashboat_entry_day': 2055199, 'dashboard_run_id': 2070691, 'mtr_portfolio_id': 25656432, 'dashboard_result_id': 13573987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656432_05-08-2025_03_00_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25656465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656476, '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 = 25626685 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443376, 'mtr_portfolio_id': 25626685, 'created_at': datetime.datetime(2025, 8, 5, 5, 35, 33), 'result': '0.04562785574716603', 'result_long': None, 'result_double': None}] Qualite : 0.04562785574716603 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25626685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25626685_05-08-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25626685 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25626685_05-08-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25626687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25626688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25626689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25626690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25626691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25626692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25626693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25626694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25626695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25626696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25626697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25626698, 'pht': 3726}}" where mtr_portfolio_id = 25626685 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25626685 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573928, 0.04562785574716603, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25626685_05-08-2025_05_35_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25626687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25626688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25626689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25626690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25626691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25626692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25626693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25626694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25626695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25626696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25626697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25626698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25626882 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443377, 'mtr_portfolio_id': 25626882, 'created_at': datetime.datetime(2025, 8, 5, 5, 35, 28), 'result': '0.030688676275514193', 'result_long': None, 'result_double': None}] Qualite : 0.030688676275514193 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25626882 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25626882_05-08-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25626882 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25626882_05-08-2025_05_35_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25626890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25626891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25626892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25626893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25626894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25626895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25626896, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25626897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25626898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25626899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25626900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25626901, 'pht': 3726}}" where mtr_portfolio_id = 25626882 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25626882 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573929, 0.030688676275514193, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25626882_05-08-2025_05_35_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25626890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25626891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25626892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25626893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25626894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25626895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25626896, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25626897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25626898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25626899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25626900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25626901, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25627175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443378, 'mtr_portfolio_id': 25627175, 'created_at': datetime.datetime(2025, 8, 5, 5, 35, 57), 'result': '0.035378575872682845', 'result_long': None, 'result_double': None}] Qualite : 0.035378575872682845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25627175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25627175_05-08-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25627175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25627175_05-08-2025_05_35_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25627184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25627185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25627186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25627187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25627188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25627189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25627190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25627191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25627192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25627193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25627194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25627195, 'pht': 3726}}" where mtr_portfolio_id = 25627175 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25627175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573930, 0.035378575872682845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25627175_05-08-2025_05_35_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25627184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25627185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25627186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25627187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25627188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25627189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25627190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25627191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25627192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25627193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25627194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25627195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25627892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443379, 'mtr_portfolio_id': 25627892, 'created_at': datetime.datetime(2025, 8, 5, 5, 36, 29), 'result': '0.04260115754452311', 'result_long': None, 'result_double': None}] Qualite : 0.04260115754452311 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25627892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25627892_05-08-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25627892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25627892_05-08-2025_05_36_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25627896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25627897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25627898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25627899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25627900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25627901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25627902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25627903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25627904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25627905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25627906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25627907, 'pht': 3726}}" where mtr_portfolio_id = 25627892 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25627892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573931, 0.04260115754452311, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25627892_05-08-2025_05_36_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25627896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25627897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25627898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25627899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25627900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25627901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25627902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25627903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25627904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25627905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25627906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25627907, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25628013 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443380, 'mtr_portfolio_id': 25628013, 'created_at': datetime.datetime(2025, 8, 5, 5, 37, 28), 'result': '0.07115874933672764', 'result_long': None, 'result_double': None}] Qualite : 0.07115874933672764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25628013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25628013_05-08-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25628013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25628013_05-08-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25628023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25628024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25628025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25628026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25628027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25628028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25628029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25628030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25628031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25628032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25628033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25628034, 'pht': 3726}}" where mtr_portfolio_id = 25628013 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25628013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573932, 0.07115874933672764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25628013_05-08-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25628023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25628024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25628025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25628026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25628027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25628028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25628029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25628030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25628031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25628032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25628033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25628034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25628303 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443381, 'mtr_portfolio_id': 25628303, 'created_at': datetime.datetime(2025, 8, 5, 5, 37, 57), 'result': '0.029570229587385637', 'result_long': None, 'result_double': None}] Qualite : 0.029570229587385637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25628303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25628303_05-08-2025_05_37_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25628303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25628303_05-08-2025_05_37_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25628314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25628315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25628316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25628317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25628318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25628319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25628320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25628321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25628322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25628323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25628324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25628325, 'pht': 3726}}" where mtr_portfolio_id = 25628303 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25628303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573933, 0.029570229587385637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25628303_05-08-2025_05_37_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25628314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25628315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25628316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25628317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25628318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25628319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25628320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25628321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25628322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25628323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25628324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25628325, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25629056 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443382, 'mtr_portfolio_id': 25629056, 'created_at': datetime.datetime(2025, 8, 5, 5, 38, 29), 'result': '0.039677070159052655', 'result_long': None, 'result_double': None}] Qualite : 0.039677070159052655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25629056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629056_05-08-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25629056 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629056_05-08-2025_05_38_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629068, 'pht': 3726}}" where mtr_portfolio_id = 25629056 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25629056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573934, 0.039677070159052655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629056_05-08-2025_05_38_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629068, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25629211 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443383, 'mtr_portfolio_id': 25629211, 'created_at': datetime.datetime(2025, 8, 5, 5, 39, 30), 'result': '0.043272876888688694', 'result_long': None, 'result_double': None}] Qualite : 0.043272876888688694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25629211 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629211_05-08-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25629211 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629211_05-08-2025_05_39_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629234, 'pht': 3726}}" where mtr_portfolio_id = 25629211 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25629211 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573935, 0.043272876888688694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629211_05-08-2025_05_39_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629223, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629234, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25629456 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443384, 'mtr_portfolio_id': 25629456, 'created_at': datetime.datetime(2025, 8, 5, 5, 39, 58), 'result': '0.042108775398895945', 'result_long': None, 'result_double': None}] Qualite : 0.042108775398895945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25629456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629456_05-08-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25629456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629456_05-08-2025_05_40_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629478, 'pht': 3726}}" where mtr_portfolio_id = 25629456 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25629456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573936, 0.042108775398895945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629456_05-08-2025_05_40_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629469, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25629476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629478, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25629837 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443385, 'mtr_portfolio_id': 25629837, 'created_at': datetime.datetime(2025, 8, 5, 5, 40, 32), 'result': '0.04823347029551375', 'result_long': None, 'result_double': None}] Qualite : 0.04823347029551375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25629837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629837_05-08-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25629837 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629837_05-08-2025_05_40_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25629886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629897, 'pht': 3726}}" where mtr_portfolio_id = 25629837 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25629837 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573937, 0.04823347029551375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25629837_05-08-2025_05_40_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25629886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25629887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25629888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25629889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25629890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25629891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25629892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25629893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25629894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25629895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25629896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25629897, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25630398 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3443386, 'mtr_portfolio_id': 25630398, 'created_at': datetime.datetime(2025, 8, 5, 5, 41, 30), 'result': '0.12752737059602728', 'result_long': None, 'result_double': None}] Qualite : 0.12752737059602728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25630398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630398_05-08-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25630398 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630398_05-08-2025_05_41_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25630405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25630406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25630407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25630408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25630410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25630411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25630412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25630413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25630414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25630415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25630416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25630417, 'pht': 3726}}" where mtr_portfolio_id = 25630398 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25630398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573938, 0.12752737059602728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630398_05-08-2025_05_41_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25630405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25630406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25630407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25630408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25630410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25630411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25630412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25630413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25630414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25630415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25630416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25630417, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25630863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3431125, 'mtr_portfolio_id': 25630863, 'created_at': datetime.datetime(2025, 8, 4, 8, 46, 57), 'result': '0.04889978098275844', 'result_long': None, 'result_double': None}] Qualite : 0.04889978098275844 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25630863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630863_04-08-2025_08_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25630863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630863_04-08-2025_08_46_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25630928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25630929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25630930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25630931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25630932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25630933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25630934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25630935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25630936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25630937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25630938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25630939, 'pht': 3726}}" where mtr_portfolio_id = 25630863 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25630863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573939, 0.04889978098275844, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630863_04-08-2025_08_46_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25630928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25630929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25630930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25630931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25630932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25630933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25630934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25630935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25630936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25630937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25630938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25630939, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25631422 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3431362, 'mtr_portfolio_id': 25631422, 'created_at': datetime.datetime(2025, 8, 4, 9, 34, 59), 'result': '0.0493744862914315', 'result_long': None, 'result_double': None}] Qualite : 0.0493744862914315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25631422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25631422_04-08-2025_09_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25631422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25631422_04-08-2025_09_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25631429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25631430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25631431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25631432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25631433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25631434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25631435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25631436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25631437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25631438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25631439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25631440, 'pht': 3726}}" where mtr_portfolio_id = 25631422 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25631422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573940, 0.0493744862914315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25631422_04-08-2025_09_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25631429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25631430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25631431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25631432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25631433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25631434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25631435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25631436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25631437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25631438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25631439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25631440, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25632607 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3431849, 'mtr_portfolio_id': 25632607, 'created_at': datetime.datetime(2025, 8, 4, 9, 56, 59), 'result': '0.043566782272666464', 'result_long': None, 'result_double': None}] Qualite : 0.043566782272666464 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25632607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25632607_04-08-2025_09_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25632607 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25632607_04-08-2025_09_56_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25632611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25632612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25632613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25632614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25632615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25632616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25632617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25632618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25632620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25632621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25632622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25632624, 'pht': 3726}}" where mtr_portfolio_id = 25632607 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25632607 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573941, 0.043566782272666464, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25632607_04-08-2025_09_56_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25632611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25632612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25632613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25632614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25632615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25632616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25632617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25632618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25632620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25632621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25632622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25632624, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25633178 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3431971, 'mtr_portfolio_id': 25633178, 'created_at': datetime.datetime(2025, 8, 4, 10, 3), 'result': '0.03506150318190517', 'result_long': None, 'result_double': None}] Qualite : 0.03506150318190517 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25633178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633178_04-08-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25633178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633178_04-08-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633194, 'pht': 3726}}" where mtr_portfolio_id = 25633178 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25633178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573942, 0.03506150318190517, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633178_04-08-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633194, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25633267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3431998, 'mtr_portfolio_id': 25633267, 'created_at': datetime.datetime(2025, 8, 4, 10, 17), 'result': '0.024798719441786084', 'result_long': None, 'result_double': None}] Qualite : 0.024798719441786084 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25633267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633267_04-08-2025_10_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25633267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633267_04-08-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633307, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633316, 'pht': 3726}}" where mtr_portfolio_id = 25633267 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25633267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573943, 0.024798719441786084, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633267_04-08-2025_10_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633307, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633316, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25633910 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3432109, 'mtr_portfolio_id': 25633910, 'created_at': datetime.datetime(2025, 8, 4, 10, 33, 31), 'result': '0.08209164754837169', 'result_long': None, 'result_double': None}] Qualite : 0.08209164754837169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25633910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633910_04-08-2025_10_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25633910 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633910_04-08-2025_10_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633926, 'pht': 3726}}" where mtr_portfolio_id = 25633910 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25633910 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573944, 0.08209164754837169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25633910_04-08-2025_10_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25633915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25633916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25633917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25633918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25633919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25633920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25633921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25633922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25633923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25633924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25633925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25633926, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25634253 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3432203, 'mtr_portfolio_id': 25634253, 'created_at': datetime.datetime(2025, 8, 4, 10, 47), 'result': '0.0692149309258792', 'result_long': None, 'result_double': None}] Qualite : 0.0692149309258792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25634253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25634253_04-08-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25634253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25634253_04-08-2025_10_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25634262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25634263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25634264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25634265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25634266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25634267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25634268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25634269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25634270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25634271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25634272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25634273, 'pht': 3726}}" where mtr_portfolio_id = 25634253 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25634253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573945, 0.0692149309258792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25634253_04-08-2025_10_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25634262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25634263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25634264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25634265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25634266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25634267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25634268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25634269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25634270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25634271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25634272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25634273, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25634599 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3432340, 'mtr_portfolio_id': 25634599, 'created_at': datetime.datetime(2025, 8, 4, 11, 3, 29), 'result': '0.036726822047875356', 'result_long': None, 'result_double': None}] Qualite : 0.036726822047875356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25634599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25634599_04-08-2025_11_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25634599 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25634599_04-08-2025_11_03_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25634635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25634636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25634637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25634638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25634639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25634640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25634641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25634642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25634643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25634644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25634645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25634646, 'pht': 3726}}" where mtr_portfolio_id = 25634599 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25634599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573946, 0.036726822047875356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25634599_04-08-2025_11_03_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25634635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25634636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25634637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25634638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25634639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25634640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25634641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25634642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25634643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25634644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25634645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25634646, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25635026 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3432547, 'mtr_portfolio_id': 25635026, 'created_at': datetime.datetime(2025, 8, 4, 11, 18, 59), 'result': '0.030708449498992468', 'result_long': None, 'result_double': None}] Qualite : 0.030708449498992468 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25635026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25635026_04-08-2025_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25635026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25635026_04-08-2025_11_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25635039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25635040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25635041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25635042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25635043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25635044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25635045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25635046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25635047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25635049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25635050, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25635051, 'pht': 3726}}" where mtr_portfolio_id = 25635026 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25635026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573947, 0.030708449498992468, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25635026_04-08-2025_11_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25635039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25635040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25635041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25635042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25635043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25635044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25635045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25635046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25635047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25635049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25635050, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25635051, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25635624 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3432765, 'mtr_portfolio_id': 25635624, 'created_at': datetime.datetime(2025, 8, 4, 11, 34, 59), 'result': '0.058176054194406863', 'result_long': None, 'result_double': None}] Qualite : 0.058176054194406863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25635624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25635624_04-08-2025_11_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25635624 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25635624_04-08-2025_11_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25635639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25635640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25635641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25635642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25635643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25635644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25635645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25635646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25635647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25635648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25635649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25635650, 'pht': 3726}}" where mtr_portfolio_id = 25635624 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25635624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573948, 0.058176054194406863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25635624_04-08-2025_11_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25635639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25635640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25635641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25635642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25635643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25635644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25635645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25635646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25635647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25635648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25635649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25635650, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25636062 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3432985, 'mtr_portfolio_id': 25636062, 'created_at': datetime.datetime(2025, 8, 4, 11, 49, 29), 'result': '0.06652880728973268', 'result_long': None, 'result_double': None}] Qualite : 0.06652880728973268 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25636062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636062_04-08-2025_11_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25636062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636062_04-08-2025_11_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25636095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636106, 'pht': 3726}}" where mtr_portfolio_id = 25636062 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25636062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573949, 0.06652880728973268, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636062_04-08-2025_11_49_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25636095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636106, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25636503 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3433179, 'mtr_portfolio_id': 25636503, 'created_at': datetime.datetime(2025, 8, 4, 12, 2, 58), 'result': '0.04148410780394579', 'result_long': None, 'result_double': None}] Qualite : 0.04148410780394579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25636503 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636503_04-08-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25636503 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636503_04-08-2025_12_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25636513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636519, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636520, 'pht': 3726}}" where mtr_portfolio_id = 25636503 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25636503 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573950, 0.04148410780394579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636503_04-08-2025_12_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25636513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636519, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636520, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25636886 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3433380, 'mtr_portfolio_id': 25636886, 'created_at': datetime.datetime(2025, 8, 4, 13, 59, 58), 'result': '0.04813636538281493', 'result_long': None, 'result_double': None}] Qualite : 0.04813636538281493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25636886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636886_04-08-2025_13_59_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25636886 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636886_04-08-2025_13_59_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25636915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636921, 'pht': 3726}}" where mtr_portfolio_id = 25636886 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25636886 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573951, 0.04813636538281493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636886_04-08-2025_13_59_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25636910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25636911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25636912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25636913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25636914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25636915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25636916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25636917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25636918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25636919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25636920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25636921, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25638616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3433980, 'mtr_portfolio_id': 25638616, 'created_at': datetime.datetime(2025, 8, 4, 13, 46, 58), 'result': '0.13976115487838234', 'result_long': None, 'result_double': None}] Qualite : 0.13976115487838234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25638616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25638616_04-08-2025_13_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25638616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25638616_04-08-2025_13_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25638617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25638618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25638619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25638620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25638621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25638622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25638623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25638624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25638625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25638626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25638627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25638628, 'pht': 3726}}" where mtr_portfolio_id = 25638616 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25638616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573952, 0.13976115487838234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25638616_04-08-2025_13_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25638617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25638618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25638619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25638620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25638621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25638622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25638623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25638624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25638625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25638626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25638627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25638628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25638768 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3433999, 'mtr_portfolio_id': 25638768, 'created_at': datetime.datetime(2025, 8, 4, 14, 3), 'result': '0.03345273200558115', 'result_long': None, 'result_double': None}] Qualite : 0.03345273200558115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25638768 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25638768_04-08-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25638768 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25638768_04-08-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25638792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25638793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25638794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25638795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25638796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25638797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25638798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25638799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25638800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25638801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25638802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25638803, 'pht': 3726}}" where mtr_portfolio_id = 25638768 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25638768 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573953, 0.03345273200558115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25638768_04-08-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25638792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25638793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25638794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25638795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25638796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25638797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25638798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25638799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25638800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25638801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25638802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25638803, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25639033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3434077, 'mtr_portfolio_id': 25639033, 'created_at': datetime.datetime(2025, 8, 4, 14, 21, 32), 'result': '0.03070413069196656', 'result_long': None, 'result_double': None}] Qualite : 0.03070413069196656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25639033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639033_04-08-2025_14_21_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25639033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639033_04-08-2025_14_21_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639055, 'pht': 3726}}" where mtr_portfolio_id = 25639033 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25639033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573954, 0.03070413069196656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639033_04-08-2025_14_21_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639055, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25639429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3434152, 'mtr_portfolio_id': 25639429, 'created_at': datetime.datetime(2025, 8, 4, 14, 33), 'result': '0.030554129115213123', 'result_long': None, 'result_double': None}] Qualite : 0.030554129115213123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25639429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639429_04-08-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25639429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639429_04-08-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25639430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639441, 'pht': 3726}}" where mtr_portfolio_id = 25639429 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25639429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573955, 0.030554129115213123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639429_04-08-2025_14_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25639430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639439, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639441, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25639623 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3434194, 'mtr_portfolio_id': 25639623, 'created_at': datetime.datetime(2025, 8, 4, 14, 47), 'result': '0.08073807902156382', 'result_long': None, 'result_double': None}] Qualite : 0.08073807902156382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25639623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639623_04-08-2025_14_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25639623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639623_04-08-2025_14_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639646, 'pht': 3726}}" where mtr_portfolio_id = 25639623 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25639623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573956, 0.08073807902156382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639623_04-08-2025_14_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639646, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25639888 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3434287, 'mtr_portfolio_id': 25639888, 'created_at': datetime.datetime(2025, 8, 4, 16, 25, 58), 'result': '0.08677193086211935', 'result_long': None, 'result_double': None}] Qualite : 0.08677193086211935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25639888 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639888_04-08-2025_16_25_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25639888 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639888_04-08-2025_16_25_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639915, 'pht': 3726}}" where mtr_portfolio_id = 25639888 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25639888 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573957, 0.08677193086211935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25639888_04-08-2025_16_25_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25639904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25639905, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25639906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25639907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25639908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25639909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25639910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25639911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25639912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25639913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25639914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25639915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25640848 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3434578, 'mtr_portfolio_id': 25640848, 'created_at': datetime.datetime(2025, 8, 4, 16, 3), 'result': '0.04104678386786433', 'result_long': None, 'result_double': None}] Qualite : 0.04104678386786433 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25640848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25640848_04-08-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25640848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25640848_04-08-2025_16_03_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25640849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25640850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25640851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25640852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25640853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25640854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25640855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25640856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25640857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25640858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25640859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25640860, 'pht': 3726}}" where mtr_portfolio_id = 25640848 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25640848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573958, 0.04104678386786433, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25640848_04-08-2025_16_03_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25640849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25640850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25640851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25640852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25640853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25640854, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25640855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25640856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25640857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25640858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25640859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25640860, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25641106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3434656, 'mtr_portfolio_id': 25641106, 'created_at': datetime.datetime(2025, 8, 4, 16, 18, 58), 'result': '0.039771584218669796', 'result_long': None, 'result_double': None}] Qualite : 0.039771584218669796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25641106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641106_04-08-2025_16_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25641106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641106_04-08-2025_16_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25641175, 'pht': 3726}}" where mtr_portfolio_id = 25641106 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25641106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573959, 0.039771584218669796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641106_04-08-2025_16_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25641175, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25641532 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3434776, 'mtr_portfolio_id': 25641532, 'created_at': datetime.datetime(2025, 8, 4, 17, 46, 1), 'result': '0.04311517764378336', 'result_long': None, 'result_double': None}] Qualite : 0.04311517764378336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25641532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641532_04-08-2025_17_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25641532 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641532_04-08-2025_17_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25641562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641569, 'pht': 3726}}" where mtr_portfolio_id = 25641532 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25641532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573960, 0.04311517764378336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641532_04-08-2025_17_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25641562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641569, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25641959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3434914, 'mtr_portfolio_id': 25641959, 'created_at': datetime.datetime(2025, 8, 4, 16, 50, 30), 'result': '0.028608476345594318', 'result_long': None, 'result_double': None}] Qualite : 0.028608476345594318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25641959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641959_04-08-2025_16_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25641959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641959_04-08-2025_16_50_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25641981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641992, 'pht': 3726}}" where mtr_portfolio_id = 25641959 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25641959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573961, 0.028608476345594318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25641959_04-08-2025_16_50_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25641981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25641982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25641983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25641984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25641985, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25641986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25641987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25641988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25641989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25641990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25641991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25641992, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25642597 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25642597 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 25642597 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25642597 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25642597 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25642597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25642597_04-08-2025_17_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25642597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25642597_04-08-2025_17_04_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25642601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25642602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25642603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25642604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25642605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25642606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25642607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25642608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25642609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25642610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25642611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25642612, 'pht': 3726}}" where mtr_portfolio_id = 25642597 and dashboard_run_id = 2070691 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25642797 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3435183, 'mtr_portfolio_id': 25642797, 'created_at': datetime.datetime(2025, 8, 4, 17, 16, 59), 'result': '0.0555831347668337', 'result_long': None, 'result_double': None}] Qualite : 0.0555831347668337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25642797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25642797_04-08-2025_17_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25642797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25642797_04-08-2025_17_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25642816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25642817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25642818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25642819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25642820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25642821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25642822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25642823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25642824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25642825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25642826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25642827, 'pht': 3726}}" where mtr_portfolio_id = 25642797 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25642797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573963, 0.0555831347668337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25642797_04-08-2025_17_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25642816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25642817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25642818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25642819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25642820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25642821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25642822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25642823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25642824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25642825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25642826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25642827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25643206 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3435291, 'mtr_portfolio_id': 25643206, 'created_at': datetime.datetime(2025, 8, 4, 18, 2, 59), 'result': '0.048897836367251965', 'result_long': None, 'result_double': None}] Qualite : 0.048897836367251965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25643206 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25643206_04-08-2025_18_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25643206 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25643206_04-08-2025_18_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25643241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25643242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25643243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25643244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25643245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25643246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25643247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25643248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25643249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25643250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25643251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25643252, 'pht': 3726}}" where mtr_portfolio_id = 25643206 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25643206 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573964, 0.048897836367251965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25643206_04-08-2025_18_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25643241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25643242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25643243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25643244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25643245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25643246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25643247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25643248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25643249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25643250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25643251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25643252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25644407 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3435749, 'mtr_portfolio_id': 25644407, 'created_at': datetime.datetime(2025, 8, 4, 18, 17), 'result': '0.05938662517163282', 'result_long': None, 'result_double': None}] Qualite : 0.05938662517163282 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25644407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25644407_04-08-2025_18_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25644407 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25644407_04-08-2025_18_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25644505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25644506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25644507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25644508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25644509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25644510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25644511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25644512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25644513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25644514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25644515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25644516, 'pht': 3726}}" where mtr_portfolio_id = 25644407 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25644407 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573965, 0.05938662517163282, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25644407_04-08-2025_18_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25644505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25644506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25644507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25644508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25644509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25644510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25644511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25644512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25644513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25644514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25644515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25644516, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25644820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3435853, 'mtr_portfolio_id': 25644820, 'created_at': datetime.datetime(2025, 8, 4, 18, 32, 59), 'result': '0.03394024305837034', 'result_long': None, 'result_double': None}] Qualite : 0.03394024305837034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25644820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25644820_04-08-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25644820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25644820_04-08-2025_18_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25644854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25644855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25644856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25644857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25644858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25644859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25644860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25644861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25644862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25644863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25644864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25644865, 'pht': 3726}}" where mtr_portfolio_id = 25644820 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25644820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573966, 0.03394024305837034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25644820_04-08-2025_18_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25644854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25644855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25644856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25644857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25644858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25644859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25644860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25644861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25644862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25644863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25644864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25644865, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25645214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3435949, 'mtr_portfolio_id': 25645214, 'created_at': datetime.datetime(2025, 8, 4, 18, 46, 58), 'result': '0.10474727337663416', 'result_long': None, 'result_double': None}] Qualite : 0.10474727337663416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25645214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25645214_04-08-2025_18_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25645214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25645214_04-08-2025_18_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25645250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25645251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25645252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25645253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25645254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25645255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25645256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25645257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25645258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25645259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25645260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25645261, 'pht': 3726}}" where mtr_portfolio_id = 25645214 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25645214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573967, 0.10474727337663416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25645214_04-08-2025_18_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25645250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25645251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25645252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25645253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25645254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25645255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25645256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25645257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25645258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25645259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25645260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25645261, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25645634 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3436105, 'mtr_portfolio_id': 25645634, 'created_at': datetime.datetime(2025, 8, 4, 19, 2, 58), 'result': '0.01161932050816592', 'result_long': None, 'result_double': None}] Qualite : 0.01161932050816592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25645634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25645634_04-08-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25645634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25645634_04-08-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25645649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25645650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25645651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25645652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25645653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25645654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25645655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25645656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25645657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25645658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25645659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25645660, 'pht': 3726}}" where mtr_portfolio_id = 25645634 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25645634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573968, 0.01161932050816592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25645634_04-08-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25645649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25645650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25645651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25645652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25645653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25645654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25645655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25645656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25645657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25645658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25645659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25645660, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25646118 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3436373, 'mtr_portfolio_id': 25646118, 'created_at': datetime.datetime(2025, 8, 4, 19, 18, 58), 'result': '0.05051556666714217', 'result_long': None, 'result_double': None}] Qualite : 0.05051556666714217 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25646118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25646118_04-08-2025_19_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25646118 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25646118_04-08-2025_19_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25646183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25646184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25646185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25646186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25646187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25646188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25646189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25646190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25646191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25646192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25646193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25646194, 'pht': 3726}}" where mtr_portfolio_id = 25646118 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25646118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573969, 0.05051556666714217, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25646118_04-08-2025_19_18_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25646183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25646184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25646185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25646186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25646187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25646188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25646189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25646190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25646191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25646192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25646193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25646194, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25646740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3436608, 'mtr_portfolio_id': 25646740, 'created_at': datetime.datetime(2025, 8, 4, 19, 32, 58), 'result': '0.021234893144795566', 'result_long': None, 'result_double': None}] Qualite : 0.021234893144795566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25646740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25646740_04-08-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25646740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25646740_04-08-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25646776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25646777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25646778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25646779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25646780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25646781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25646782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25646783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25646784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25646785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25646786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25646787, 'pht': 3726}}" where mtr_portfolio_id = 25646740 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25646740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573970, 0.021234893144795566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25646740_04-08-2025_19_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25646776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25646777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25646778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25646779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25646780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25646781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25646782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25646783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25646784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25646785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25646786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25646787, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25647184 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3436820, 'mtr_portfolio_id': 25647184, 'created_at': datetime.datetime(2025, 8, 4, 19, 49), 'result': '0.03258184563123621', 'result_long': None, 'result_double': None}] Qualite : 0.03258184563123621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25647184 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25647184_04-08-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25647184 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25647184_04-08-2025_19_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25647216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25647217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25647218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25647219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25647220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25647221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25647222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25647223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25647224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25647225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25647226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25647227, 'pht': 3726}}" where mtr_portfolio_id = 25647184 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25647184 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573971, 0.03258184563123621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25647184_04-08-2025_19_49_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25647216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25647217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25647218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25647219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25647220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25647221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25647222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25647223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25647224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25647225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25647226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25647227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25647742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3437100, 'mtr_portfolio_id': 25647742, 'created_at': datetime.datetime(2025, 8, 4, 20, 4, 58), 'result': '0.0658279851977908', 'result_long': None, 'result_double': None}] Qualite : 0.0658279851977908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25647742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25647742_04-08-2025_20_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25647742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25647742_04-08-2025_20_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25647775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25647776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25647777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25647778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25647779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25647780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25647781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25647782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25647783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25647784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25647785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25647786, 'pht': 3726}}" where mtr_portfolio_id = 25647742 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25647742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573972, 0.0658279851977908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25647742_04-08-2025_20_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25647775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25647776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25647777, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25647778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25647779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25647780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25647781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25647782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25647783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25647784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25647785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25647786, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25648223 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3437308, 'mtr_portfolio_id': 25648223, 'created_at': datetime.datetime(2025, 8, 4, 20, 18, 56), 'result': '0.023566259202298916', 'result_long': None, 'result_double': None}] Qualite : 0.023566259202298916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25648223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25648223_04-08-2025_20_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25648223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25648223_04-08-2025_20_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25648287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25648288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25648289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25648290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25648291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25648292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25648293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25648294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25648295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25648296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25648297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25648298, 'pht': 3726}}" where mtr_portfolio_id = 25648223 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25648223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573973, 0.023566259202298916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25648223_04-08-2025_20_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25648287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25648288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25648289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25648290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25648291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25648292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25648293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25648294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25648295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25648296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25648297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25648298, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25648831 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3437542, 'mtr_portfolio_id': 25648831, 'created_at': datetime.datetime(2025, 8, 4, 20, 32, 59), 'result': '0.04329845948454555', 'result_long': None, 'result_double': None}] Qualite : 0.04329845948454555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25648831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25648831_04-08-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25648831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25648831_04-08-2025_20_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25648851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25648852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25648853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25648854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25648855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25648856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25648857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25648858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25648859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25648860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25648861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25648862, 'pht': 3726}}" where mtr_portfolio_id = 25648831 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25648831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573974, 0.04329845948454555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25648831_04-08-2025_20_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25648851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25648852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25648853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25648854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25648855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25648856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25648857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25648858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25648859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25648860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25648861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25648862, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25649228 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3437727, 'mtr_portfolio_id': 25649228, 'created_at': datetime.datetime(2025, 8, 4, 21, 2, 56), 'result': '0.05201793414420284', 'result_long': None, 'result_double': None}] Qualite : 0.05201793414420284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25649228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25649228_04-08-2025_21_02_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25649228 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25649228_04-08-2025_21_02_56.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25649262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25649264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25649265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25649266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25649267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25649268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25649269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25649270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25649271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25649272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25649273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25649274, 'pht': 3726}}" where mtr_portfolio_id = 25649228 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25649228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573975, 0.05201793414420284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25649228_04-08-2025_21_02_56.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25649262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25649264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25649265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25649266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25649267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25649268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25649269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25649270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25649271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25649272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25649273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25649274, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25650123 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3438153, 'mtr_portfolio_id': 25650123, 'created_at': datetime.datetime(2025, 8, 4, 21, 16, 58), 'result': '0.04041246183040168', 'result_long': None, 'result_double': None}] Qualite : 0.04041246183040168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25650123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650123_04-08-2025_21_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25650123 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650123_04-08-2025_21_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650143, 'pht': 3726}}" where mtr_portfolio_id = 25650123 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25650123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573976, 0.04041246183040168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650123_04-08-2025_21_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650143, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25650451 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3438250, 'mtr_portfolio_id': 25650451, 'created_at': datetime.datetime(2025, 8, 4, 21, 32, 59), 'result': '0.06204417684902083', 'result_long': None, 'result_double': None}] Qualite : 0.06204417684902083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25650451 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650451_04-08-2025_21_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25650451 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650451_04-08-2025_21_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650474, 'pht': 3726}}" where mtr_portfolio_id = 25650451 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25650451 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573977, 0.06204417684902083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650451_04-08-2025_21_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650467, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650474, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25650756 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3438371, 'mtr_portfolio_id': 25650756, 'created_at': datetime.datetime(2025, 8, 4, 21, 46, 29), 'result': '0.037981283307560364', 'result_long': None, 'result_double': None}] Qualite : 0.037981283307560364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25650756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650756_04-08-2025_21_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25650756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650756_04-08-2025_21_46_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650798, 'pht': 3726}}" where mtr_portfolio_id = 25650756 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25650756 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573978, 0.037981283307560364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25650756_04-08-2025_21_46_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25650787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25650788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25650789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25650790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25650791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25650792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25650793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25650794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25650795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25650796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25650797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25650798, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25651110 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3438508, 'mtr_portfolio_id': 25651110, 'created_at': datetime.datetime(2025, 8, 4, 22, 3, 1), 'result': '0.11130202671725391', 'result_long': None, 'result_double': None}] Qualite : 0.11130202671725391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25651110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25651110_04-08-2025_22_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25651110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25651110_04-08-2025_22_03_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25651117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25651118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25651119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25651120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25651121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25651122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25651123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25651124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25651125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25651126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25651127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25651128, 'pht': 3726}}" where mtr_portfolio_id = 25651110 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25651110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573979, 0.11130202671725391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25651110_04-08-2025_22_03_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25651117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25651118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25651119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25651120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25651121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25651122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25651123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25651124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25651125, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25651126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25651127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25651128, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25651569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3438778, 'mtr_portfolio_id': 25651569, 'created_at': datetime.datetime(2025, 8, 4, 22, 18, 57), 'result': '0.038721357892211136', 'result_long': None, 'result_double': None}] Qualite : 0.038721357892211136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25651569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25651569_04-08-2025_22_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25651569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25651569_04-08-2025_22_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25651611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25651612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25651613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25651614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25651615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25651616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25651617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25651618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25651619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25651620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25651621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25651622, 'pht': 3726}}" where mtr_portfolio_id = 25651569 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25651569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573980, 0.038721357892211136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25651569_04-08-2025_22_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25651611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25651612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25651613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25651614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25651615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25651616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25651617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25651618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25651619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25651620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25651621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25651622, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25652328 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3438985, 'mtr_portfolio_id': 25652328, 'created_at': datetime.datetime(2025, 8, 4, 22, 32, 58), 'result': '0.07097094219039476', 'result_long': None, 'result_double': None}] Qualite : 0.07097094219039476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25652328 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25652328_04-08-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25652328 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25652328_04-08-2025_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25652347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25652348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25652349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25652350, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25652351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25652352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25652353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25652354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25652355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25652356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25652357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25652358, 'pht': 3726}}" where mtr_portfolio_id = 25652328 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25652328 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573981, 0.07097094219039476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25652328_04-08-2025_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25652347, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25652348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25652349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25652350, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25652351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25652352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25652353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25652354, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25652355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25652356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25652357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25652358, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25652913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3439242, 'mtr_portfolio_id': 25652913, 'created_at': datetime.datetime(2025, 8, 4, 22, 48, 59), 'result': '0.03147916584590307', 'result_long': None, 'result_double': None}] Qualite : 0.03147916584590307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25652913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25652913_04-08-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25652913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25652913_04-08-2025_22_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25652932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25652933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25652934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25652935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25652936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25652937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25652938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25652939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25652940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25652941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25652942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25652943, 'pht': 3726}}" where mtr_portfolio_id = 25652913 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25652913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573982, 0.03147916584590307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25652913_04-08-2025_22_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25652932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25652933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25652934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25652935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25652936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25652937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25652938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25652939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25652940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25652941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25652942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25652943, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25653594 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3439454, 'mtr_portfolio_id': 25653594, 'created_at': datetime.datetime(2025, 8, 4, 23, 2, 58), 'result': '0.03483846849080771', 'result_long': None, 'result_double': None}] Qualite : 0.03483846849080771 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25653594 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25653594_04-08-2025_23_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25653594 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25653594_04-08-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25653606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25653607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25653608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25653609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25653610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25653611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25653612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25653613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25653614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25653615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25653616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25653617, 'pht': 3726}}" where mtr_portfolio_id = 25653594 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25653594 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573983, 0.03483846849080771, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25653594_04-08-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25653606, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25653607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25653608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25653609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25653610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25653611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25653612, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25653613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25653614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25653615, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25653616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25653617, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25654217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3439674, 'mtr_portfolio_id': 25654217, 'created_at': datetime.datetime(2025, 8, 4, 23, 16, 57), 'result': '0.06638806552426792', 'result_long': None, 'result_double': None}] Qualite : 0.06638806552426792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25654217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25654217_04-08-2025_23_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25654217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25654217_04-08-2025_23_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25654368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25654369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25654370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25654371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25654372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25654373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25654374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25654375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25654376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25654377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25654378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25654379, 'pht': 3726}}" where mtr_portfolio_id = 25654217 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25654217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573984, 0.06638806552426792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25654217_04-08-2025_23_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25654368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25654369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25654370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25654371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25654372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25654373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25654374, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25654375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25654376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25654377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25654378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25654379, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25654952 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3439883, 'mtr_portfolio_id': 25654952, 'created_at': datetime.datetime(2025, 8, 4, 23, 39), 'result': '0.06828472290369342', 'result_long': None, 'result_double': None}] Qualite : 0.06828472290369342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25654952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25654952_04-08-2025_23_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25654952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25654952_04-08-2025_23_39_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25654986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25654987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25654988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25654989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25654990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25654991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25654992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25654993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25654994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25654995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25654996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25654997, 'pht': 3726}}" where mtr_portfolio_id = 25654952 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25654952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573985, 0.06828472290369342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25654952_04-08-2025_23_39_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25654986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25654987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25654988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25654989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25654990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25654991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25654992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25654993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25654994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25654995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25654996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25654997, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25656072 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3440205, 'mtr_portfolio_id': 25656072, 'created_at': datetime.datetime(2025, 8, 4, 23, 48, 59), 'result': '0.04225274834012902', 'result_long': None, 'result_double': None}] Qualite : 0.04225274834012902 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25656072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656072_04-08-2025_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25656072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656072_04-08-2025_23_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25656096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656097, 'pht': 3726}}" where mtr_portfolio_id = 25656072 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25656072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573986, 0.04225274834012902, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656072_04-08-2025_23_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25656096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656097, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25656432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3440359, 'mtr_portfolio_id': 25656432, 'created_at': datetime.datetime(2025, 8, 5, 3, 0, 59), 'result': '0.05448204176220783', 'result_long': None, 'result_double': None}] Qualite : 0.05448204176220783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25656432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656432_05-08-2025_03_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25656432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656432_05-08-2025_03_00_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25656465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656476, 'pht': 3726}}" where mtr_portfolio_id = 25656432 and dashboard_run_id = 2070691 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25656432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13573987, 0.05448204176220783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25656432_05-08-2025_03_00_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25656465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25656466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25656467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25656468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25656469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25656470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25656471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25656472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25656473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25656474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25656475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25656476, '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 (25626685,25626882,25627175,25627892,25628013,25628303,25629056,25629211,25629456,25629837,25630398,25630863,25631422,25632607,25633178,25633267,25633910,25634253,25634599,25635026,25635624,25636062,25636503,25636886,25638616,25638768,25639033,25639429,25639623,25639888,25640848,25641106,25641532,25641959,25642597,25642797,25643206,25644407,25644820,25645214,25645634,25646118,25646740,25647184,25647742,25648223,25648831,25649228,25650123,25650451,25650756,25651110,25651569,25652328,25652913,25653594,25654217,25654952,25656072,25656432) result : ((1375079294,), (1375079309,), (1375079310,), (1375079311,), (1375079318,), (1375079319,), (1375079320,), (1375079321,), (1375079329,), (1375079330,), (1375079352,), (1375079353,), (1375079364,), (1375079366,), (1375079380,), (1375079381,), (1375079389,), (1375079390,), (1375079391,), (1375079392,), (1375079393,), (1375079401,), (1375079403,), (1375079405,), (1375079406,), (1375079408,), (1375079411,), (1375079417,), (1375079419,), (1375079424,), (1375079425,), (1375079426,), (1375079427,), (1375079436,), (1375079437,), (1375079446,), (1375079447,), (1375079448,), (1375079449,), (1375079458,), (1375079460,), (1375079461,), (1375079462,), (1375079472,), (1375079470,), (1375079471,), (1375079480,), (1375079485,), (1375079487,), (1375079488,), (1375079489,), (1375079495,), (1375079496,), (1375079502,), (1375079510,), (1375079521,), (1375079522,), (1375079523,), (1375079524,), (1375079525,), (1375079527,), (1375079528,), (1375079529,), (1375079530,), (1375079531,), (1375079533,), (1375079538,), (1375079540,), (1375079541,), (1375079542,), (1375079543,), (1375079544,), (1375079566,), (1375079567,), (1375079568,), (1375079603,), (1375079614,), (1375079600,), (1375079601,), (1375079602,), (1375079604,), (1375079605,), (1375079606,), (1375079607,), (1375079608,), (1375079609,), (1375079618,), (1375079619,), (1375079620,), (1375079621,), (1375079629,), (1375079630,), (1375079631,), (1375079632,), (1375079633,), (1375079640,), (1375079641,), (1375079642,), (1375079643,), (1375079650,), (1375079651,), (1375079652,), (1375079653,), (1375079654,), (1375079657,), (1375079658,), (1375079659,), (1375079660,), (1375081088,), (1375081082,), (1375081084,), (1375081085,), (1375081086,), (1375081087,), (1375081098,), (1375081101,), (1375081102,), (1375081114,), (1375081116,), (1375081126,), (1375081128,), (1375081130,), (1375081131,), (1375081145,), (1375081148,), (1375081150,), (1375081153,), (1375081156,), (1375081160,), (1375081174,), (1375081176,), (1375081202,), (1375081226,), (1375081230,), (1375081231,), (1375081234,), (1375081246,), (1375081248,), (1375081249,), (1375081264,), (1375081267,), (1375081268,), (1375081269,), (1375081271,), (1375081277,), (1375081278,), (1375081279,), (1375081280,), (1375081282,), (1375081323,), (1375081325,), (1375081330,), (1375081341,), (1375081342,), (1375081343,), (1375081344,), (1375081345,), (1375081357,), (1375081359,), (1375081360,), (1375081361,), (1375081366,), (1375081368,), (1375081390,), (1375081419,), (1375081380,), (1375081381,), (1375081382,), (1375081384,), (1375081388,), (1375081400,), (1375081401,), (1375081403,), (1375081406,), (1375081408,), (1375081411,), (1375081417,), (1375081422,), (1375081424,), (1375081426,), (1375081430,), (1375081432,), (1375081436,), (1375081459,), (1375081461,), (1375081464,), (1375081467,), (1375081471,), (1375081474,), (1375081481,), (1375081482,), (1375081484,), (1375081486,), (1375081490,), (1375081494,), (1375081498,), (1375081501,), (1375081511,), (1375081512,), (1375081528,), (1375081529,), (1375081547,), (1375081552,), (1375081557,), (1375081559,), (1375081572,), (1375081574,), (1375081576,), (1375081603,), (1375081605,), (1375081606,), (1375081620,), (1375081621,), (1375081623,), (1375081626,), (1375081628,), (1375081649,), (1375081650,), (1375081651,), (1375081653,), (1375081657,), (1375081671,), (1375081672,), (1375081673,), (1375081675,), (1375081679,), (1375081696,), (1375081697,), (1375081698,), (1375081700,), (1375081727,), (1375081728,), (1375081762,), (1375081752,), (1375081754,), (1375081756,), (1375081759,), (1375081780,), (1375081781,), (1375081813,), (1375081816,), (1375081846,), (1375081847,), (1375081848,), (1375081850,), (1375081876,), (1375081877,), (1375081878,), (1375081898,), (1375081899,), (1375081900,), (1375081902,), (1375081926,), (1375081927,), (1375081928,), (1375081952,), (1375081953,), (1375081954,), (1375081986,), (1375081988,), (1375081990,), (1375082014,), (1375082016,), (1375082045,), (1375084121,), (1375084087,), (1375084116,), (1375084119,), (1375084160,), (1375084190,), (1375084193,), (1375084194,), (1375084197,), (1375084220,), (1375084222,), (1375084225,), (1375084229,), (1375084257,), (1375084258,), (1375084259,), (1375084287,), (1375084289,), (1375084319,), (1375084321,), (1375084322,), (1375084324,), (1375084355,), (1375084358,), (1375084360,), (1375084363,), (1375084383,), (1375084385,), (1375084386,), (1375084411,), (1375084414,), (1375084416,), (1375084452,), (1375084455,), (1375084456,), (1375084458,), (1375084462,), (1375084501,), (1375084496,), (1375084498,), (1375084525,), (1375084526,), (1375084528,), (1375084530,), (1375084533,), (1375084554,), (1375084557,), (1375084559,), (1375084562,), (1375084564,), (1375084569,), (1375084584,), (1375084587,), (1375084589,), (1375084592,), (1375084595,), (1375084614,), (1375084617,), (1375084648,), (1375084653,), (1375084655,), (1375084658,), (1375084661,), (1375084664,), (1375084687,), (1375084688,), (1375084690,), (1375084692,), (1375084695,), (1375084718,), (1375084720,), (1375084722,), (1375084725,), (1375084751,), (1375084783,), (1375084785,), (1375084786,), (1375084788,), (1375084791,), (1375084827,), (1375084830,), (1375084832,), (1375084835,), (1375084870,), (1375084873,), (1375084874,), (1375084876,), (1375084896,), (1375084899,), (1375084901,), (1375084904,), (1375084930,), (1375084932,), (1375084955,), (1375084959,), (1375084961,), (1375084993,), (1375084990,), (1375084992,), (1375085018,), (1375085020,), (1375085023,), (1375085026,), (1375085029,), (1375085057,), (1375085059,), (1375085088,), (1375085090,), (1375085113,), (1375085116,), (1375085154,), (1375085179,), (1375085181,), (1375085183,), (1375085187,), (1375085216,), (1375085217,), (1375085219,), (1375085222,), (1375085225,), (1375085227,), (1375085247,), (1375085251,), (1375085256,), (1375085259,), (1375085263,), (1375085266,), (1375085276,), (1375085277,), (1375085279,), (1375085281,), (1375085289,), (1375085294,), (1375085299,), (1375085303,), (1375085307,), (1375085312,), (1375085321,), (1375085324,), (1375085327,), (1375085330,), (1375085351,), (1375085354,), (1375085357,), (1375085516,), (1375085540,), (1375085564,), (1375085587,), (1375085612,), (1375086038,), (1375086041,), (1375086045,), (1375086049,), (1375086053,), (1375086057,), (1375086102,), (1375086098,), (1375086450,), (1375086475,), (1375086498,), (1375086912,), (1375086940,), (1375086961,), (1375087002,), (1375087189,), (1375087191,), (1375087194,), (1375087197,), (1375087201,), (1375087204,), (1375087223,), (1375087226,), (1375087228,), (1375087230,), (1375087258,), (1375087260,), (1375087337,), (1375087351,), (1375087361,), (1375087406,), (1375087434,), (1375087462,), (1375087464,), (1375087488,), (1375087490,), (1375087503,), (1375087529,), (1375087531,), (1375087533,), (1375087535,), (1375087538,), (1375087555,), (1375087558,), (1375087583,), (1375087688,), (1375087738,), (1375087741,), (1375087743,), (1375087801,), (1375087809,), (1375087815,), (1375088009,), (1375088019,), (1375088153,), (1375088155,), (1375088157,), (1375088205,), (1375088207,), (1375088211,), (1375088213,), (1375088216,), (1375088219,), (1375088274,), (1375088301,), (1375088330,), (1375088355,), (1375088597,), (1375088600,), (1375088683,), (1375088684,), (1375088685,), (1375088704,), (1375088705,), (1375088728,), (1375088729,), (1375088753,), (1375088755,), (1375088780,), (1375088781,), (1375088844,), (1375088843,), (1375088926,), (1375089003,), (1375089038,), (1375089039,), (1375089095,), (1375089194,), (1375089222,), (1375089223,), (1375089259,), (1375089288,), (1375089289,), (1375089312,), (1375089315,), (1375089317,), (1375089425,), (1375089763,), (1375089764,), (1375089765,), (1375089964,), (1375089966,), (1375089968,), (1375089999,), (1375090001,), (1375090002,), (1375090280,), (1375090259,), (1375090390,), (1375090392,), (1375090393,), (1375090437,), (1375090466,), (1375090469,), (1375090471,), (1375090532,), (1375090558,), (1375090614,), (1375090618,), (1375090621,), (1375090625,), (1375090629,), (1375090632,), (1375090644,), (1375090646,), (1375090678,), (1375090679,), (1375090707,), (1375090708,), (1375090709,), (1375090711,), (1375090737,), (1375090739,), (1375090741,), (1375090744,), (1375090748,), (1375090751,), (1375090767,), (1375090768,), (1375090769,), (1375090771,), (1375090804,), (1375090836,), (1375090861,), (1375090890,), (1375090916,), (1375091143,), (1375091881,), (1375091893,), (1375091955,), (1375091959,), (1375091962,), (1375091966,), (1375091985,), (1375091988,), (1375091990,), (1375091991,), (1375091994,), (1375091997,), (1375093488,), (1375093485,), (1375093487,), (1375093680,), (1375093687,), (1375093689,), (1375093692,), (1375093694,), (1375093712,), (1375093714,), (1375093715,), (1375093890,), (1375093915,), (1375093939,), (1375094168,), (1375094187,), (1375094210,), (1375094235,), (1375094237,), (1375094239,), (1375094336,), (1375094338,), (1375094339,), (1375094348,), (1375094408,), (1375094410,), (1375094411,), (1375094446,), (1375094448,), (1375094451,), (1375094454,), (1375094459,), (1375094460,), (1375094479,), (1375094481,), (1375094484,), (1375094487,), (1375094573,), (1375094579,), (1375094592,), (1375094594,), (1375094803,), (1375094805,), (1375094806,), (1375094915,), (1375095788,), (1375095786,), (1375095812,), (1375095814,), (1375095815,), (1375095834,), (1375095836,), (1375095837,), (1375095839,), (1375096249,), (1375096297,), (1375096344,), (1375096373,), (1375096480,), (1375096516,), (1375096562,), (1375096906,), (1375096788,), (1375096794,), (1375096817,), (1375096847,), (1375097072,), (1375097263,), (1375097289,), (1375097749,), (1375097775,), (1375097779,), (1375097824,), (1375097942,), (1375097960,), (1375098002,), (1375098013,), (1375098080,), (1375098085,), (1375098087,), (1375098090,), (1375098103,), (1375098355,), (1375098359,), (1375098361,), (1375098489,), (1375098515,), (1375098869,), (1375098894,), (1375099473,), (1375099822,), (1375099848,), (1375099846,), (1375099924,), (1375099937,), (1375100191,), (1375100193,), (1375100210,), (1375100329,), (1375100331,), (1375100333,), (1375100335,), (1375100339,), (1375100362,), (1375100364,), (1375100377,), (1375100402,), (1375100427,), (1375100470,), (1375100471,), (1375100472,), (1375100498,), (1375100541,), (1375100542,), (1375100543,), (1375100545,), (1375100548,), (1375100550,), (1375100561,), (1375100563,), (1375100565,), (1375100567,), (1375100569,), (1375100571,), (1375100572,), (1375100574,), (1375100577,), (1375100580,), (1375100583,), (1375100593,), (1375100594,), (1375100595,), (1375100628,), (1375100630,), (1375100633,), (1375100635,), (1375100638,), (1375100641,), (1375100666,), (1375100667,), (1375100668,), (1375100670,), (1375100673,), (1375100686,), (1375100687,), (1375100699,), (1375100704,), (1375100706,), (1375100722,), (1375100723,), (1375100724,), (1375100727,), (1375100753,), (1375100755,), (1375100756,), (1375100758,), (1375100760,), (1375100763,), (1375100804,), (1375100789,), (1375100793,), (1375100795,), (1375100798,), (1375100801,), (1375100823,), (1375100838,), (1375100839,), (1375100841,), (1375100855,), (1375100857,), (1375100858,), (1375100860,), (1375100863,), (1375100865,), (1375100873,), (1375100875,), (1375100876,), (1375100879,), (1375100882,), (1375100884,), (1375100901,), (1375100903,), (1375100904,), (1375100906,), (1375100909,), (1375100928,), (1375100931,), (1375100940,), (1375100962,), (1375100964,), (1375100965,), (1375100966,), (1375100968,), (1375101024,), (1375101026,), (1375101027,), (1375101029,), (1375101031,), (1375101034,), (1375101052,), (1375101054,), (1375101055,), (1375101074,), (1375101077,), (1375101079,), (1375101138,), (1375101144,), (1375101149,), (1375101151,), (1375101153,), (1375101155,), (1375101163,), (1375101165,), (1375101168,), (1375101174,), (1375101178,), (1375101181,), (1375101201,), (1375101202,), (1375101205,), (1375101209,), (1375101226,), (1375101230,), (1375101258,), (1375101260,), (1375101261,), (1375101262,), (1375101264,), (1375101300,), (1375101296,), (1375101299,), (1375101318,), (1375101321,), (1375101322,), (1375101324,), (1375101342,), (1375101344,), (1375101345,), (1375101347,), (1375101350,), (1375101354,), (1375101372,), (1375101374,), (1375101375,), (1375101377,), (1375101396,), (1375101397,), (1375101399,), (1375101401,), (1375101437,), (1375101439,), (1375101442,), (1375101445,), (1375101449,), (1375101453,), (1375101465,), (1375101467,), (1375101468,), (1375101470,), (1375101490,), (1375101495,), (1375101498,), (1375101501,), (1375101528,), (1375101529,), (1375101531,), (1375101554,), (1375101556,), (1375101558,), (1375101561,), (1375101585,), (1375101612,), (1375101616,), (1375101648,), (1375101651,), (1375101653,), (1375101712,), (1375101717,), (1375101729,), (1375101945,), (1375101894,), (1375101919,), (1375102281,), (1375102329,), (1375102374,), (1375102418,), (1375103387,), (1375103845,), (1375104054,), (1375104077,), (1375104208,), (1375104210,), (1375104211,), (1375104281,), (1375104285,), (1375104303,), (1375104486,), (1375104511,), (1375104799,), (1375104824,), (1375104845,), (1375104987,), (1375105219,), (1375105240,), (1375105242,), (1375105245,), (1375105248,), (1375105265,), (1375105267,), (1375105269,), (1375105272,), (1375105276,), (1375105352,), (1375105351,), (1375105420,), (1375105782,), (1375105783,), (1375105784,), (1375105811,), (1375105812,), (1375105813,), (1375105815,), (1375106012,), (1375106035,), (1375106060,), (1375106085,), (1375106211,), (1375106236,), (1375106271,), (1375106272,), (1375106305,), (1375106308,), (1375106310,), (1375106313,), (1375106317,), (1375106338,), (1375106339,), (1375106341,), (1375106344,), (1375106348,), (1375106371,), (1375106380,), (1375106384,), (1375106386,), (1375106563,), (1375106551,), (1375106554,), (1375106555,), (1375106557,), (1375106559,), (1375106600,), (1375106613,), (1375106616,), (1375106621,), (1375106726,), (1375106728,), (1375106763,), (1375106770,), (1375106774,), (1375106788,), (1375106886,), (1375106889,), (1375106899,), (1375106940,), (1375106944,), (1375106946,), (1375106948,), (1375106951,), (1375106979,), (1375106981,), (1375106983,), (1375106986,), (1375107055,), (1375107062,), (1375107064,), (1375107089,), (1375107092,), (1375107094,), (1375107095,), (1375107116,), (1375107117,), (1375107172,), (1375107179,), (1375107192,), (1375107194,), (1375107326,), (1375107327,), (1375107337,), (1375107340,), (1375107484,), (1375107516,), (1375107552,), (1375107598,), (1375107645,), (1375107677,), (1375107943,), (1375107949,), (1375107953,), (1375107960,), (1375107964,), (1375107970,), (1375107975,), (1375107977,), (1375107979,), (1375107980,), (1375107989,), (1375107991,), (1375107994,), (1375108034,), (1375108022,), (1375108027,), (1375108029,), (1375108031,), (1375108051,), (1375108053,), (1375108054,), (1375108056,), (1375108065,), (1375108096,), (1375108107,), (1375108110,), (1375108112,), (1375108140,), (1375108168,), (1375108170,), (1375108171,), (1375108176,), (1375108193,), (1375108219,), (1375108312,), (1375108342,), (1375108364,), (1375108386,), (1375108402,), (1375108458,), (1375108466,), (1375108467,), (1375108469,), (1375108473,), (1375108475,), (1375108488,), (1375108490,), (1375108491,), (1375108493,), (1375108518,), (1375108520,), (1375108521,), (1375108542,), (1375108545,), (1375108547,), (1375108568,), (1375108569,), (1375108571,), (1375108573,), (1375108577,), (1375108580,), (1375108597,), (1375108598,), (1375108600,), (1375108601,), (1375108850,), (1375108872,), (1375109871,), (1375109775,), (1375109777,), (1375109781,), (1375109819,), (1375110179,), (1375110203,), (1375110225,), (1375110247,), (1375110424,), (1375110426,), (1375110428,), (1375110430,), (1375110700,), (1375110704,), (1375110710,), (1375110840,), (1375110843,), (1375110845,), (1375110846,), (1375110851,), (1375110885,), (1375110886,), (1375110887,), (1375110889,), (1375110912,), (1375110935,), (1375111030,), (1375111031,), (1375111032,), (1375111033,), (1375111038,), (1375111063,), (1375111067,), (1375111068,), (1375111075,), (1375111081,), (1375111085,), (1375111113,), (1375111116,), (1375111117,), (1375111119,), (1375111121,), (1375111160,), (1375111161,), (1375111163,), (1375111165,), (1375111168,), (1375111172,), (1375111182,), (1375117404,), (1375117440,), (1375117443,), (1375117460,), (1375117462,), (1375117511,), (1375117767,), (1375118002,), (1375118006,), (1375118010,), (1375118070,), (1375118072,), (1375118074,), (1375118087,), (1375118122,), (1375118277,), (1375118253,), (1375118271,), (1375118403,), (1375118406,), (1375118408,), (1375118411,), (1375118421,), (1375118437,), (1375118460,), (1375118462,), (1375118464,), (1375118466,), (1375118476,), (1375118480,), (1375118556,), (1375118558,), (1375118623,), (1375118692,), (1375118719,), (1375118721,), (1375118743,), (1375118791,), (1375118794,), (1375118820,), (1375118846,), (1375118882,), (1375118885,), (1375119348,), (1375119353,), (1375119380,), (1375119446,), (1375119693,), (1375119665,), (1375120101,), (1375120516,), (1375120585,), (1375120653,), (1375120702,), (1375120908,), (1375121697,), (1375122274,), (1375122314,), (1375122315,), (1375123231,), (1375123234,), (1375123255,), (1375123257,), (1375123280,), (1375123282,), (1375123284,), (1375123286,), (1375123290,), (1375123311,), (1375123314,), (1375123316,), (1375123318,), (1375123347,), (1375123368,), (1375123377,), (1375123395,), (1375123416,), (1375123420,), (1375123421,), (1375123454,), (1375123458,), (1375123465,), (1375123467,), (1375123444,), (1375123445,), (1375123447,), (1375123451,), (1375123473,), (1375123475,), (1375123478,), (1375123485,), (1375123489,), (1375123494,), (1375123515,), (1375123533,), (1375123535,), (1375123538,), (1375123543,), (1375123568,), (1375123570,), (1375123591,), (1375123596,), (1375123600,), (1375123628,), (1375123629,), (1375123630,), (1375123632,), (1375123655,), (1375123657,), (1375123659,), (1375123662,), (1375123682,), (1375123693,), (1375123696,), (1375123740,), (1375123742,), (1375123744,), (1375123765,), (1375123768,), (1375123801,), (1375123833,), (1375123835,), (1375123836,), (1375124039,), (1375124064,), (1375124210,), (1375124211,), (1375124231,), (1375124234,), (1375124267,), (1375124259,), (1375124261,), (1375124264,), (1375124290,), (1375124338,), (1375124340,), (1375124342,), (1375124346,), (1375124351,), (1375124364,), (1375129630,), (1375129623,), (1375129625,), (1375129671,), (1375129673,), (1375129674,), (1375129675,), (1375129677,), (1375129697,), (1375129699,), (1375129701,), (1375129703,), (1375129706,), (1375129726,), (1375129727,), (1375129729,), (1375129732,), (1375129736,), (1375129740,), (1375129749,), (1375129752,), (1375129763,), (1375129766,), (1375129767,), (1375129769,), (1375129805,), (1375129807,), (1375129808,), (1375129810,), (1375129814,), (1375129816,), (1375129908,), (1375129934,), (1375129958,), (1375129982,), (1375130007,), (1375130032,), (1375130203,), (1375130210,), (1375130213,), (1375130216,), (1375130243,), (1375130247,), (1375130249,), (1375130251,), (1375130256,), (1375130332,), (1375130357,), (1375130381,), (1375130384,), (1375130485,), (1375130511,), (1375130537,), (1375130562,), (1375130587,), (1375131268,), (1375131315,), (1375131349,), (1375131376,), (1375131401,), (1375131489,), (1375131516,), (1375131548,), (1375131868,), (1375131699,), (1375131767,), (1375131790,), (1375131816,), (1375131842,), (1375132284,), (1375132339,), (1375132384,), (1375132411,), (1375132437,), (1375132771,), (1375132773,), (1375132776,), (1375132779,), (1375132783,), (1375132786,), (1375132990,), (1375132993,), (1375133009,), (1375133042,), (1375133047,), (1375133048,), (1375133101,), (1375133127,), (1375133136,), (1375133142,), (1375133145,), (1375133146,), (1375133160,), (1375133161,), (1375133164,), (1375133165,), (1375133169,), (1375133170,), (1375133175,), (1375133176,), (1375133179,), (1375133180,), (1375133182,), (1375133184,), (1375133196,), (1375133198,), (1375133200,), (1375133202,), (1375133216,), (1375133218,), (1375133220,), (1375133223,), (1375133236,), (1375133242,), (1375133276,), (1375133277,), (1375133278,), (1375133299,), (1375133300,), (1375133301,), (1375133302,), (1375133304,), (1375133325,), (1375133326,), (1375133328,), (1375133331,), (1375133335,), (1375133340,), (1375133384,), (1375133386,), (1375133389,), (1375133394,), (1375133403,), (1375133406,), (1375133419,), (1375133421,), (1375133422,), (1375133424,), (1375133445,), (1375133446,), (1375133448,), (1375133452,), (1375133456,), (1375133458,), (1375133478,), (1375133481,), (1375133484,), (1375133488,), (1375133491,), (1375133493,), (1375133505,), (1375133509,), (1375133513,), (1375133515,), (1375133518,), (1375133520,), (1375133531,), (1375133535,), (1375133544,), (1375133548,), (1375133554,), (1375133557,), (1375133584,), (1375133595,), (1375133598,), (1375133572,), (1375133574,), (1375133576,), (1375133579,), (1375133582,), (1375133603,), (1375133606,), (1375133607,), (1375133684,), (1375133687,), (1375133689,), (1375133692,), (1375133695,), (1375133697,), (1375133716,), (1375133719,), (1375133721,), (1375133725,), (1375133728,), (1375133742,), (1375133744,), (1375133745,), (1375133746,), (1375133748,), (1375133787,), (1375133789,), (1375133811,), (1375133813,), (1375133814,), (1375133816,), (1375133820,), (1375133843,), (1375133853,), (1375133859,), (1375133869,), (1375133873,), (1375133876,), (1375133902,), (1375133904,), (1375133907,), (1375133909,), (1375133913,), (1375133916,), (1375133926,), (1375133929,), (1375133936,), (1375133943,), (1375133947,), (1375133950,), (1375133960,), (1375133961,), (1375133965,), (1375133966,), (1375133970,), (1375133971,), (1375133976,), (1375133977,), (1375133980,), (1375133981,), (1375133983,), (1375133984,), (1375133993,), (1375133995,), (1375133996,), (1375133999,), (1375134002,), (1375134006,), (1375134015,), (1375134030,), (1375134033,), (1375134035,), (1375134036,), (1375134039,), (1375134044,), (1375134059,), (1375134061,), (1375134063,), (1375134065,), (1375134090,), (1375134092,), (1375134093,), (1375134096,), (1375134118,), (1375134122,), (1375134123,), (1375134126,), (1375134128,), (1375134133,), (1375134173,), (1375134179,), (1375134182,), (1375134183,), (1375134184,), (1375134186,), (1375134187,), (1375134157,), (1375134159,), (1375134162,), (1375134166,), (1375134169,), (1375134193,), (1375134196,), (1375134200,), (1375134212,), (1375134214,), (1375134216,), (1375134217,), (1375134235,), (1375134332,), (1375134414,), (1375134418,), (1375134421,), (1375134424,), (1375134428,), (1375134433,), (1375134440,), (1375134442,), (1375134459,), (1375135458,), (1375135496,), (1375135745,), (1375135746,), (1375135750,), (1375135768,), (1375135923,), (1375135924,), (1375135925,), (1375135932,), (1375136038,), (1375136039,), (1375136040,), (1375136180,), (1375136181,), (1375136182,), (1375136184,), (1375136273,), (1375136298,), (1375136320,), (1375136622,), (1375136628,), (1375136632,), (1375136635,), (1375136638,), (1375136894,), (1375136922,), (1375136956,), (1375137072,), (1375137099,), (1375137123,), (1375137150,), (1375137177,), (1375137185,), (1375137358,), (1375137382,), (1375136813,), (1375136842,), (1375136867,), (1375137191,), (1375137192,), (1375137194,), (1375137196,), (1375137213,), (1375137241,), (1375137431,), (1375137452,), (1375137472,), (1375137499,), (1375137529,), (1375137841,), (1375137865,), (1375137888,), (1375138050,), (1375138074,), (1375138098,), (1375138108,), (1375138111,), (1375138117,), (1375138203,), (1375138214,), (1375138220,), (1375138222,), (1375138225,), (1375138229,), (1375138250,), (1375138252,), (1375138254,), (1375138257,), (1375138280,), (1375138282,), (1375138284,), (1375138287,), (1375138292,), (1375138316,), (1375138317,), (1375138318,), (1375138320,), (1375138322,), (1375138352,), (1375138353,), (1375138354,), (1375138356,), (1375138421,), (1375138423,), (1375138424,), (1375138426,), (1375138447,), (1375138449,), (1375138471,), (1375138473,), (1375138475,), (1375138490,), (1375138497,), (1375138499,), (1375138503,), (1375138525,), (1375138528,), (1375138567,), (1375138564,), (1375138565,), (1375138595,), (1375138596,), (1375138598,), (1375138620,), (1375138622,), (1375138623,), (1375138625,), (1375138627,), (1375138630,), (1375138643,), (1375138645,), (1375138646,), (1375138657,), (1375138664,), (1375138686,), (1375138688,), (1375138689,), (1375138738,), (1375138740,), (1375138741,), (1375138743,), (1375138747,), (1375138749,), (1375138768,), (1375138771,), (1375138772,), (1375138774,), (1375138778,), (1375138780,), (1375138793,), (1375138794,), (1375138796,), (1375138800,), (1375138804,), (1375138807,), (1375138816,), (1375138819,), (1375138821,), (1375138823,), (1375138846,), (1375138849,), (1375138853,), (1375138859,), (1375138864,), (1375138868,), (1375138885,), (1375138889,), (1375138894,), (1375138896,), (1375138900,), (1375138902,), (1375138934,), (1375138938,), (1375138950,), (1375138955,), (1375138960,), (1375138962,), (1375138969,), (1375138971,), (1375138973,), (1375138975,), (1375138995,), (1375141509,), (1375141496,), (1375141540,), (1375141544,), (1375141547,), (1375141548,), (1375141581,), (1375141583,), (1375141586,), (1375141590,), (1375141609,), (1375141612,), (1375141615,), (1375141809,), (1375141831,), (1375141856,), (1375141878,), (1375142204,), (1375142227,), (1375142256,), (1375142281,), (1375142309,), (1375142335,), (1375142377,), (1375142378,), (1375142379,), (1375142401,), (1375142426,), (1375142655,), (1375142661,), (1375142662,), (1375142791,), (1375142793,), (1375142795,), (1375142798,), (1375142801,), (1375142831,), (1375142832,), (1375142833,), (1375142835,), (1375142840,), (1375142940,), (1375142942,), (1375143103,), (1375143104,), (1375143117,), (1375143148,), (1375143171,), (1375143202,), (1375143203,), (1375143204,), (1375143206,), (1375143230,), (1375143231,), (1375143232,), (1375143246,), (1375143272,), (1375143274,), (1375143275,), (1375143277,), (1375143492,), (1375143427,), (1375143453,), (1375143932,), (1375143934,), (1375143952,), (1375143955,), (1375144028,), (1375144029,), (1375144030,), (1375144031,), (1375144037,), (1375144061,), (1375144063,), (1375144064,), (1375144066,), (1375144321,), (1375144348,), (1375144372,), (1375144398,), (1375144428,), (1375144475,), (1375144477,), (1375144478,), (1375144480,), (1375144495,), (1375144608,), (1375144610,), (1375144641,), (1375144644,), (1375144647,), (1375144674,), (1375144677,), (1375144679,), (1375144706,), (1375144708,), (1375144710,), (1375144712,), (1375144716,), (1375144721,), (1375144742,), (1375144744,), (1375144746,), (1375144749,), (1375144816,), (1375144818,), (1375144820,), (1375144823,), (1375144852,), (1375144853,), (1375144854,), (1375144891,), (1375144893,), (1375144951,), (1375144947,), (1375144948,), (1375144949,), (1375144986,), (1375144989,), (1375144991,), (1375144994,), (1375144996,), (1375145042,), (1375145044,), (1375145045,), (1375145047,), (1375145050,), (1375145069,), (1375145073,), (1375145076,), (1375145079,), (1375145108,), (1375145110,), (1375145113,), (1375145118,), (1375145122,), (1375145125,), (1375145150,), (1375145152,), (1375145156,), (1375145160,), (1375145165,), (1375145181,), (1375145183,), (1375145186,), (1375145198,), (1375145236,), (1375145238,), (1375145240,), (1375145243,), (1375145275,), (1375145277,), (1375145279,), (1375145280,), (1375145283,), (1375145313,), (1375145314,), (1375145343,), (1375145344,), (1375145345,), (1375145465,), (1375145466,), (1375145467,), (1375145469,), (1375145474,), (1375145489,), (1375145490,), (1375145491,), (1375145493,), (1375145555,), (1375145557,), (1375145559,), (1375145698,), (1375145699,), (1375145700,), (1375145724,), (1375145742,), (1375145749,), (1375145882,), (1375145819,), (1375145843,), (1375145872,), (1375145904,), (1375145905,), (1375145906,), (1375145908,), (1375145912,), (1375145970,), (1375145980,), (1375145981,), (1375145982,), (1375145984,), (1375145988,), (1375146003,), (1375146004,), (1375146005,), (1375146007,), (1375146040,), (1375146041,), (1375146042,), (1375146063,), (1375146064,), (1375146065,), (1375146067,), (1375146072,), (1375146074,), (1375146092,), (1375146093,), (1375146094,), (1375146096,), (1375146097,), (1375146102,), (1375146169,), (1375146175,), (1375146180,), (1375146185,), (1375146190,), (1375146192,), (1375146199,), (1375146206,), (1375146233,), (1375146260,), (1375146701,), (1375146724,), (1375146740,), (1375146741,), (1375146748,), (1375146764,), (1375146856,), (1375146858,), (1375146862,), (1375146863,), (1375146866,), (1375146867,), (1375146870,), (1375146871,), (1375146875,), (1375146876,), (1375146880,), (1375146881,), (1375146892,), (1375146893,), (1375146894,), (1375146896,), (1375146901,), (1375146905,), (1375146915,), (1375146918,), (1375146920,), (1375146924,), (1375146925,), (1375146926,), (1375146928,), (1375146932,), (1375146935,), (1375146973,), (1375146976,), (1375146977,), (1375147571,), (1375147584,), (1375147629,), (1375147653,), (1375147674,), (1375147719,), (1375147726,), (1375147744,), (1375147801,), (1375147829,), (1375147857,), (1375147705,), (1375147708,), (1375147711,), (1375147935,), (1375147961,), (1375148401,), (1375148426,), (1375148453,), (1375148798,), (1375148823,), (1375148871,), (1375148922,), (1375148971,), (1375149026,), (1375149276,), (1375149299,), (1375149326,), (1375149352,), (1375149398,), (1375149454,), (1375149571,), (1375149573,), (1375149587,), (1375149619,), (1375149637,), (1375149641,), (1375149646,), (1375149650,), (1375149653,), (1375149656,), (1375149665,), (1375149666,), (1375149667,), (1375149669,), (1375149691,), (1375149692,), (1375149693,), (1375149716,), (1375149717,), (1375149723,), (1375149743,), (1375149874,), (1375149875,), (1375149876,), (1375149878,), (1375149883,), (1375149946,), (1375149955,), (1375149959,), (1375149965,), (1375150003,), (1375150005,), (1375150007,), (1375150085,), (1375150088,), (1375150096,), (1375150171,), (1375150175,), (1375150177,), (1375150195,), (1375150199,), (1375150202,), (1375150206,), (1375150209,), (1375150232,), (1375150233,), (1375150236,), (1375150239,), (1375150243,), (1375150246,), (1375150256,), (1375150260,), (1375150281,), (1375150269,), (1375150271,), (1375150272,), (1375150274,), (1375150278,), (1375150307,), (1375150310,), (1375150314,), (1375150318,), (1375150322,), (1375150330,), (1375150363,), (1375150365,), (1375150367,), (1375150368,), (1375150372,), (1375150397,), (1375150399,), (1375150401,), (1375150404,), (1375150436,), (1375150440,), (1375150441,), (1375150444,), (1375150447,), (1375150469,), (1375150471,), (1375150473,), (1375150475,), (1375150511,), (1375150513,), (1375150515,), (1375150518,), (1375150523,), (1375150527,), (1375150558,), (1375150562,), (1375150567,), (1375150572,), (1375150575,), (1375150578,), (1375150583,), (1375150584,), (1375150588,), (1375150591,), (1375150593,), (1375150609,), (1375150610,), (1375150615,), (1375150616,), (1375150619,), (1375150620,), (1375150624,), (1375150625,), (1375150626,), (1375150627,), (1375150636,), (1375150638,), (1375150640,), (1375150642,), (1375150646,), (1375150649,), (1375150667,), (1375150669,), (1375150671,), (1375150673,), (1375150693,), (1375150696,), (1375150699,), (1375150762,), (1375150763,), (1375150764,), (1375150766,), (1375150769,), (1375150772,), (1375150787,), (1375150788,), (1375150789,), (1375150791,), (1375150825,), (1375150828,), (1375150829,), (1375150831,), (1375150834,), (1375150836,), (1375150917,), (1375150864,), (1375150866,), (1375150867,), (1375150869,), (1375150886,), (1375150949,), (1375150951,), (1375150952,), (1375150954,), (1375150974,), (1375150976,), (1375150977,), (1375150979,), (1375150981,), (1375150999,), (1375151001,), (1375151003,), (1375151030,), (1375151031,), (1375151032,), (1375151065,), (1375151066,), (1375151067,), (1375151070,), (1375151076,), (1375151108,), (1375151110,), (1375151112,), (1375151114,), (1375151120,), (1375151146,), (1375151147,), (1375151148,), (1375151149,), (1375151211,), (1375151222,), (1375151361,), (1375151362,), (1375151363,), (1375151365,), (1375151369,), (1375151373,), (1375151388,), (1375151424,), (1375151527,), (1375151552,), (1375151574,), (1375151694,), (1375151696,), (1375151698,), (1375151701,), (1375151796,), (1375151797,), (1375151799,), (1375151803,), (1375151807,), (1375151811,), (1375151833,), (1375151838,), (1375151859,), (1375151846,), (1375151853,), (1375151855,), (1375151882,), (1375151884,), (1375151918,), (1375151919,), (1375151920,), (1375151921,), (1375152043,), (1375152046,), (1375152051,), (1375152053,), (1375152056,), (1375152059,), (1375152087,), (1375152089,), (1375152090,), (1375152092,), (1375152119,), (1375152121,), (1375152123,), (1375152169,), (1375152172,), (1375152188,), (1375152191,), (1375152210,), (1375152236,), (1375152238,), (1375152240,), (1375152251,), (1375152279,), (1375152304,), (1375152569,), (1375152596,), (1375152791,), (1375152792,), (1375152793,), (1375152795,), (1375153449,), (1375153523,), (1375153577,), (1375153628,), (1375153676,), (1375153703,), (1375154090,), (1375154150,), (1375154281,), (1375154324,), (1375154350,), (1375154377,), (1375154410,), (1375154436,), (1375154677,), (1375154704,), (1375154728,), (1375154830,), (1375153970,), (1375153996,), (1375154040,), (1375154067,), (1375154600,), (1375154625,), (1375154652,), (1375154934,), (1375154937,), (1375154941,), (1375154945,), (1375154949,), (1375155048,), (1375155079,), (1375155103,), (1375155128,), (1375155159,), (1375155181,), (1375155279,), (1375155311,), (1375155335,), (1375155359,), (1375155377,), (1375155387,), (1375155399,), (1375155402,), (1375155405,), (1375155414,), (1375155417,), (1375155425,), (1375155429,), (1375155434,), (1375155438,), (1375155441,), (1375155444,), (1375155460,), (1375155462,), (1375155463,), (1375155474,), (1375155479,), (1375155505,), (1375155526,), (1375155528,), (1375155530,), (1375155554,), (1375155555,), (1375155556,), (1375155558,), (1375155559,), (1375155594,), (1375155596,), (1375155598,), (1375155601,), (1375155723,), (1375155727,), (1375155732,), (1375155750,), (1375155793,), (1375155796,), (1375155799,), (1375155803,), (1375155831,), (1375155833,), (1375155834,), (1375155835,), (1375155838,), (1375155850,), (1375155852,), (1375155854,), (1375155857,), (1375155861,), (1375155880,), (1375155881,), (1375155883,), (1375155887,), (1375155890,), (1375155893,), (1375155904,), (1375155908,), (1375155934,), (1375155923,), (1375155925,), (1375155926,), (1375155928,), (1375155930,), (1375155961,), (1375155975,), (1375155998,), (1375156005,), (1375156008,), (1375156105,), (1375156130,), (1375156155,), (1375156179,), (1375156283,), (1375156284,), (1375156285,), (1375156287,), (1375156291,), (1375156294,), (1375156392,), (1375156393,), (1375156394,), (1375156396,), (1375156398,), (1375156421,), (1375156423,), (1375156426,), (1375156432,), (1375156454,), (1375156456,), (1375156457,), (1375156459,), (1375156530,), (1375156531,), (1375156532,), (1375156534,), (1375156536,), (1375156540,), (1375156565,), (1375156566,), (1375156567,), (1375156569,), (1375156594,), (1375156595,), (1375156597,), (1375156601,), (1375156603,), (1375156607,), (1375156616,), (1375156619,), (1375156621,), (1375156622,), (1375156625,), (1375156627,), (1375156630,), (1375156634,), (1375156636,), (1375156640,), (1375156651,), (1375156654,), (1375156657,), (1375156663,), (1375156666,), (1375156682,), (1375156684,), (1375156687,), (1375156693,), (1375156699,), (1375156702,), (1375156750,), (1375156751,), (1375156752,), (1375156753,), (1375156758,), (1375156782,), (1375156784,), (1375156785,), (1375156788,), (1375156795,), (1375156797,), (1375156845,), (1375156816,), (1375156833,), (1375156841,), (1375156842,), (1375156898,), (1375156900,), (1375156901,), (1375156903,), (1375156928,), (1375156950,), (1375156952,), (1375157097,), (1375157101,), (1375157102,), (1375157105,), (1375157110,), (1375157188,), (1375157189,), (1375157190,), (1375157192,), (1375157225,), (1375157227,), (1375157335,), (1375159069,), (1375159044,), (1375159422,), (1375159425,), (1375160370,), (1375160473,), (1375160474,), (1375160475,), (1375160483,), (1375160520,), (1375160541,), (1375160642,), (1375160643,), (1375160644,), (1375160646,), (1375160690,), (1375160693,), (1375160694,), (1375160697,), (1375160701,), (1375160776,), (1375160811,), (1375160871,), (1375160873,), (1375160876,), (1375160934,), (1375160936,), (1375160937,), (1375160939,), (1375160942,), (1375160945,), (1375160963,), (1375160967,), (1375160970,), (1375160974,), (1375160979,), (1375161004,), (1375161006,), (1375161009,), (1375161012,), (1375161016,), (1375161018,), (1375161025,), (1375161029,), (1375161034,), (1375161049,), (1375161046,), (1375161047,), (1375161075,), (1375161077,), (1375161079,), (1375161082,), (1375161124,), (1375161125,), (1375161126,), (1375161157,), (1375161160,), (1375161162,), (1375161164,), (1375161188,), (1375161189,), (1375161191,), (1375161366,), (1375161391,), (1375161420,), (1375161444,), (1375161472,), (1375161565,), (1375161572,), (1375161574,), (1375161577,), (1375161631,), (1375161632,), (1375161654,), (1375161657,), (1375161681,), (1375161682,), (1375161683,), (1375161685,), (1375161867,), (1375161894,), (1375161921,), (1375161948,), (1375162101,), (1375162103,), (1375162105,), (1375162137,), (1375162140,), (1375162142,), (1375162145,), (1375162149,), (1375162154,), (1375162228,), (1375162229,), (1375162230,), (1375162232,), (1375162237,), (1375162273,), (1375162275,), (1375162276,), (1375162278,), (1375162320,), (1375162308,), (1375162311,), (1375162312,), (1375162315,), (1375162355,), (1375162356,), (1375162357,), (1375162400,), (1375162402,), (1375162404,), (1375162407,), (1375162409,), (1375162414,), (1375162428,), (1375162430,), (1375162433,), (1375162436,), (1375162439,), (1375162442,), (1375162457,), (1375162462,), (1375162467,), (1375162475,), (1375162478,), (1375162479,), (1375162480,), (1375162516,), (1375162518,), (1375162519,), (1375162548,), (1375162549,), (1375162551,), (1375162554,), (1375162560,), (1375162562,), (1375162577,), (1375162578,), (1375162579,), (1375162581,), (1375162616,), (1375162618,), (1375162619,), (1375162621,), (1375162653,), (1375162654,), (1375162655,), (1375162657,), (1375162661,), (1375162663,), (1375162697,), (1375162699,), (1375162701,), (1375162713,), (1375162818,), (1375162819,), (1375162820,), (1375162975,), (1375162978,), (1375163083,), (1375163107,), (1375163194,), (1375163192,), (1375163225,), (1375163228,), (1375163231,), (1375163274,), (1375163276,), (1375163278,), (1375163309,), (1375163316,), (1375163350,), (1375163352,), (1375163384,), (1375163386,), (1375163388,), (1375163413,), (1375163414,), (1375163415,), (1375163417,), (1375163419,), (1375163448,), (1375163450,), (1375163452,), (1375163455,), (1375163458,), (1375163465,), (1375163514,), (1375163515,), (1375163516,), (1375163518,), (1375163522,), (1375163545,), (1375163547,), (1375163567,), (1375163569,), (1375163570,), (1375163613,), (1375163615,), (1375163616,), (1375163772,), (1375163796,), (1375163823,), (1375163848,), (1375163873,), (1375164014,), (1375164015,), (1375164016,), (1375164428,), (1375164464,), (1375164493,), (1375164520,), (1375164728,), (1375164651,), (1375164677,), (1375164702,), (1375165067,), (1375165090,), (1375165114,), (1375165471,), (1375165496,), (1375165519,), (1375165542,), (1375165562,), (1375165586,), (1375165611,), (1375165637,), (1375165669,), (1375165721,), (1375166155,), (1375166196,), (1375166633,), (1375166635,), (1375166636,), (1375166806,), (1375166830,), (1375166856,), (1375166864,), (1375166900,), (1375166925,), (1375167295,), (1375167339,), (1375167391,), (1375167896,), (1375167913,), (1375167914,), (1375168033,), (1375168059,), (1375168082,), (1375168109,), (1375168136,), (1375168229,), (1375168232,), (1375168250,), (1375168274,), (1375168375,), (1375168392,), (1375168416,), (1375168441,), (1375168466,), (1375168467,), (1375168468,), (1375168484,), (1375168486,), (1375168488,), (1375168491,), (1375168496,), (1375168512,), (1375168514,), (1375168555,), (1375168544,), (1375168545,), (1375168546,), (1375168549,), (1375168552,), (1375168566,), (1375168567,), (1375168568,), (1375168569,), (1375168600,), (1375168601,), (1375168603,), (1375168604,), (1375168627,), (1375168628,), (1375168629,), (1375168788,), (1375168802,), (1375168803,), (1375168805,), (1375168818,), (1375168820,), (1375168821,), (1375168823,), (1375168826,), (1375168852,), (1375168853,), (1375168869,), (1375168871,), (1375168877,), (1375168882,), (1375168885,), (1375168900,), (1375168902,), (1375168904,), (1375168906,), (1375168980,), (1375169004,), (1375169028,), (1375169102,), (1375169154,), (1375169179,), (1375169374,), (1375169401,), (1375169424,), (1375169449,), (1375169473,), (1375169595,), (1375169619,), (1375169644,), (1375169676,), (1375169703,), (1375169861,), (1375169862,), (1375169863,), (1375169865,), (1375169977,), (1375169978,), (1375169979,), (1375169981,), (1375169983,), (1375170013,), (1375170014,), (1375170015,), (1375170017,), (1375170021,), (1375170049,), (1375170424,), (1375170450,), (1375170463,), (1375170468,), (1375170480,), (1375170502,), (1375170528,), (1375170338,), (1375170369,), (1375170396,), (1375170571,), (1375170591,), (1375170600,), (1375170603,), (1375170616,), (1375170710,), (1375170726,), (1375170727,), (1375170729,), (1375170749,), (1375170750,), (1375170751,), (1375170753,), (1375170777,), (1375170778,), (1375170795,), (1375170798,), (1375170800,), (1375170803,), (1375170821,), (1375170823,), (1375170825,), (1375170827,), (1375170829,), (1375170832,), (1375170846,), (1375170847,), (1375170848,), (1375170850,), (1375170853,), (1375170925,), (1375170949,), (1375170973,), (1375170998,), (1375171025,), (1375171264,), (1375171278,), (1375171290,), (1375171298,), (1375171314,), (1375171325,), (1375171344,), (1375171346,), (1375171349,), (1375171354,), (1375171358,), (1375171371,), (1375171372,), (1375171373,), (1375171398,), (1375171400,), (1375171401,), (1375171402,), (1375171404,), (1375171419,), (1375171422,), (1375171424,), (1375171427,), (1375171429,), (1375171432,), (1375171442,), (1375171444,), (1375171447,), (1375171451,), (1375171453,), (1375171456,), (1375171464,), (1375171467,), (1375171469,), (1375171484,), (1375171474,), (1375171475,), (1375171477,), (1375171479,), (1375171482,), (1375171506,), (1375171509,), (1375171511,), (1375171514,), (1375171518,), (1375171522,), (1375171881,), (1375171917,), (1375171925,), (1375171986,), (1375172321,), (1375172345,), (1375172370,), (1375172386,), (1375172388,), (1375172514,), (1375172515,), (1375172516,), (1375172518,), (1375172521,), (1375172524,), (1375172539,), (1375172540,), (1375172541,), (1375172543,), (1375172547,), (1375172734,), (1375172735,), (1375172780,), (1375172788,), (1375172841,), (1375172866,), (1375172892,), (1375173081,), (1375173082,), (1375173083,), (1375173085,), (1375173107,), (1375173108,), (1375173109,), (1375173111,), (1375173113,), (1375173129,), (1375173130,), (1375173507,), (1375173574,), (1375173600,), (1375173650,), (1375173658,), (1375173745,), (1375173746,), (1375173747,), (1375173749,), (1375173753,), (1375173755,), (1375174415,), (1375174463,), (1375174510,), (1375174558,), (1375174603,), (1375174631,), (1375174703,), (1375174719,), (1375175047,), (1375174842,), (1375174939,), (1375174982,), (1375175016,), (1375175513,), (1375175536,), (1375175614,), (1375175652,), (1375176361,), (1375176363,), (1375176589,), (1375176603,), (1375176605,), (1375176607,), (1375176627,), (1375176628,), (1375176629,), (1375176647,), (1375176649,), (1375176650,), (1375176652,), (1375176655,), (1375176657,), (1375176913,), (1375176939,), (1375176962,), (1375176989,), (1375177015,), (1375177166,), (1375177192,), (1375177221,), (1375177247,), (1375177274,), (1375177285,), (1375177320,), (1375177321,), (1375177326,), (1375177340,), (1375177369,), (1375177370,), (1375177372,), (1375177861,), (1375177887,), (1375177914,), (1375177939,), (1375178261,), (1375178264,), (1375178265,), (1375178267,), (1375178269,), (1375178452,), (1375178478,), (1375178487,), (1375178950,), (1375178863,), (1375178895,), (1375178924,), (1375179089,), (1375179112,), (1375179136,), (1375179162,), (1375179441,), (1375179516,), (1375179586,), (1375179662,), (1375179710,), (1375179905,), (1375179907,), (1375179910,), (1375179912,), (1375179931,), (1375179941,), (1375179950,), (1375179953,), (1375179967,), (1375179968,), (1375179969,), (1375179992,), (1375179993,), (1375180007,), (1375180008,), (1375180009,), (1375180011,), (1375180015,), (1375180400,), (1375180477,), (1375180548,), (1375181094,), (1375181122,), (1375181165,), (1375181188,), (1375181212,), (1375181341,), (1375181351,), (1375181360,), (1375181453,), (1375181454,), (1375181455,), (1375181456,), (1375181774,), (1375181775,), (1375181776,), (1375181797,), (1375181869,), (1375181904,), (1375181952,), (1375181953,), (1375181955,), (1375181958,), (1375181960,), (1375181964,), (1375181979,), (1375183215,), (1375183205,), (1375183207,), (1375183211,), (1375183422,), (1375183447,), (1375183470,), (1375184107,), (1375184201,), (1375184319,), (1375184397,), (1375184640,), (1375184645,), (1375184662,), (1375184685,), (1375185002,), (1375185026,), (1375185029,), (1375185050,), (1375185257,), (1375185255,), (1375185256,), (1375185293,), (1375185313,), (1375185314,), (1375185343,), (1375185344,), (1375185360,), (1375185362,), (1375185380,), (1375185391,), (1375185392,), (1375185393,), (1375185410,), (1375185411,), (1375185412,), (1375185415,), (1375185418,), (1375185437,), (1375185438,), (1375185439,), (1375185446,), (1375185447,), (1375185448,), (1375185450,), (1375185452,), (1375185459,), (1375185460,), (1375185461,), (1375185463,), (1375185509,), (1375185511,), (1375185512,), (1375186241,), (1375186271,), (1375186299,), (1375186378,), (1375186691,), (1375186709,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04082025': {'nb_upload': 35, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25630398]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738] map_info['map_portfolio_photo'] : {25630398: [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738]} final : True mtd_id 4302 list_pids : [1375088844, 1375088781, 1375088780, 1375088755, 1375088753, 1375088729, 1375088728, 1375088705, 1375088704, 1375088685, 1375088684, 1375088683, 1375088600, 1375088597, 1375088355, 1375088330, 1375088301, 1375088274, 1375088219, 1375088216, 1375088213, 1375088211, 1375088207, 1375088205, 1375088157, 1375088155, 1375088153, 1375088019, 1375088009, 1375087815, 1375087809, 1375087801, 1375087743, 1375087741, 1375087738] Looping around the photos to save general results len do output : 1 /25630398Didn'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, '3443386') ('4302', '25630398', '1375088844', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088781', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088780', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088755', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088753', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088729', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088728', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088705', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088704', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088685', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088684', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088683', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088600', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088597', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088355', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088330', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088301', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088274', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088219', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088216', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088213', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088211', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088207', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088205', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088157', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088155', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088153', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088019', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375088009', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087815', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087809', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087801', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087743', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087741', None, None, None, None, None, '3443386') ('4302', None, None, None, None, None, None, None, '3443386') ('4302', '25630398', '1375087738', None, None, None, None, None, '3443386') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '25630398', 'None', None, None, None, None, '3443386'), ('4302', '25630398', '1375088844', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088781', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088780', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088755', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088753', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088729', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088728', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088705', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088704', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088685', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088684', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088683', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088600', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088597', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088355', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088330', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088301', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088274', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088219', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088216', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088213', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088211', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088207', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088205', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088157', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088155', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088153', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088019', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375088009', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087815', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087809', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087801', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087743', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087741', None, None, None, None, None, '3443386'), ('4302', '25630398', '1375087738', None, None, None, None, None, '3443386')] time used for this insertion : 0.020259857177734375 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.197096824645996 time spend to save output : 0.020612239837646484 total time spend for step 5 : 6.217709064483643 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 (3443386) 3.08user 2.05system 0:17.91elapsed 28%CPU (0avgtext+0avgdata 167704maxresident)k 608inputs+24664outputs (1major+77821minor)pagefaults 0swaps