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 : 481589 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 (3842854) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3842854) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501928 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3842854'] with mtr_portfolio_ids : ['27501928'] and first list_photo_ids : [] new path : /proc/481589/ Name: python3 Umask: 0002 State: R (running) Tgid: 481589 Ngid: 0 Pid: 481589 PPid: 481586 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 481589 NSpid: 481589 NSpgid: 481294 NSsid: 481294 VmPeak: 1106868 kB VmSize: 1106868 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98368 kB VmRSS: 98368 kB RssAnon: 59848 kB RssFile: 38520 kB RssShmem: 0 kB VmData: 865620 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 620 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: 44 nonvoluntary_ctxt_switches: 118 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '481589', 'Ngid': '0', 'Pid': '481589', 'PPid': '481586', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '481589', 'NSpid': '481589', 'NSpgid': '481294', 'NSsid': '481294', 'VmPeak': '1106868 kB', 'VmSize': '1106868 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98368 kB', 'VmRSS': '98368 kB', 'RssAnon': '59848 kB', 'RssFile': '38520 kB', 'RssShmem': '0 kB', 'VmData': '865620 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '620 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': '44', 'nonvoluntary_ctxt_switches': '118'} ('datou_batch_current', '481589', '1106868', '0', '1106868', '865620', '98368', b'', 'marlene', '3842854') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27501928) 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 (3842854 ) ) 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 (27501928) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1387685670, 'portfolio_id': 27501928}, {'photo_id': 1387685364, 'portfolio_id': 27501928}, {'photo_id': 1387685342, 'portfolio_id': 27501928}, {'photo_id': 1387685341, 'portfolio_id': 27501928}, {'photo_id': 1387685340, 'portfolio_id': 27501928}, {'photo_id': 1387685339, 'portfolio_id': 27501928}, {'photo_id': 1387685337, 'portfolio_id': 27501928}, {'photo_id': 1387685334, 'portfolio_id': 27501928}, {'photo_id': 1387685331, 'portfolio_id': 27501928}, {'photo_id': 1387685326, 'portfolio_id': 27501928}, {'photo_id': 1387685323, 'portfolio_id': 27501928}, {'photo_id': 1387685321, 'portfolio_id': 27501928}, {'photo_id': 1387685312, 'portfolio_id': 27501928}, {'photo_id': 1387685302, 'portfolio_id': 27501928}, {'photo_id': 1387685298, 'portfolio_id': 27501928}, {'photo_id': 1387685293, 'portfolio_id': 27501928}, {'photo_id': 1387685291, 'portfolio_id': 27501928}, {'photo_id': 1387685288, 'portfolio_id': 27501928}, {'photo_id': 1387685272, 'portfolio_id': 27501928}, {'photo_id': 1387685270, 'portfolio_id': 27501928}, {'photo_id': 1387685269, 'portfolio_id': 27501928}, {'photo_id': 1387685268, 'portfolio_id': 27501928}, {'photo_id': 1387685258, 'portfolio_id': 27501928}, {'photo_id': 1387685255, 'portfolio_id': 27501928}, {'photo_id': 1387685253, 'portfolio_id': 27501928}, {'photo_id': 1387685252, 'portfolio_id': 27501928}, {'photo_id': 1387685251, 'portfolio_id': 27501928}, {'photo_id': 1387685214, 'portfolio_id': 27501928}, {'photo_id': 1387685212, 'portfolio_id': 27501928}, {'photo_id': 1387685210, 'portfolio_id': 27501928}, {'photo_id': 1387685208, 'portfolio_id': 27501928}, {'photo_id': 1387685105, 'portfolio_id': 27501928}, {'photo_id': 1387685100, 'portfolio_id': 27501928}, {'photo_id': 1387685099, 'portfolio_id': 27501928}, {'photo_id': 1387685080, 'portfolio_id': 27501928}, {'photo_id': 1387685079, 'portfolio_id': 27501928}, {'photo_id': 1387685071, 'portfolio_id': 27501928}, {'photo_id': 1387685054, 'portfolio_id': 27501928}, {'photo_id': 1387685053, 'portfolio_id': 27501928}, {'photo_id': 1387685052, 'portfolio_id': 27501928}, {'photo_id': 1387684631, 'portfolio_id': 27501928}, {'photo_id': 1387684629, 'portfolio_id': 27501928}, {'photo_id': 1387684627, 'portfolio_id': 27501928}, {'photo_id': 1387684352, 'portfolio_id': 27501928}, {'photo_id': 1387684351, 'portfolio_id': 27501928}] map_portfolio_id_photo_id: {27501928: [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351]} ##### 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.05209541320800781 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Oct 4 06:05:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27501928) 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 : 27501928 get user id for portfolio 27501928 get sub ptf for main ptf 27501928, type 3726 and hashtags ['Carton_brun', 'flou', 'metal', 'Carton_gris', 'plastique', 'kraft', 'cartonnette', 'autre_refus', 'papier', 'environnement', 'mal_croppe', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27501928 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','flou','metal','Carton_gris','plastique','kraft','cartonnette','autre_refus','papier','environnement','mal_croppe','Teint_Dans_La_Masse')) 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`=27501928 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','flou','metal','Carton_gris','plastique','kraft','cartonnette','autre_refus','papier','environnement','mal_croppe','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 27501928, 'sub_port_id': 27501941, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584508, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'environnement': {'main_port_id': 27501928, 'sub_port_id': 27501942, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584509, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'autre_refus': {'main_port_id': 27501928, 'sub_port_id': 27501943, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584510, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'mal_croppe': {'main_port_id': 27501928, 'sub_port_id': 27501944, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584511, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 27501928, 'sub_port_id': 27501945, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584512, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'metal': {'main_port_id': 27501928, 'sub_port_id': 27501946, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584513, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'flou': {'main_port_id': 27501928, 'sub_port_id': 27501947, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584514, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'Carton_brun': {'main_port_id': 27501928, 'sub_port_id': 27501948, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584515, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'kraft': {'main_port_id': 27501928, 'sub_port_id': 27501949, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584516, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'papier': {'main_port_id': 27501928, 'sub_port_id': 27501950, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584517, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'cartonnette': {'main_port_id': 27501928, 'sub_port_id': 27501951, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584518, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}, 'plastique': {'main_port_id': 27501928, 'sub_port_id': 27501952, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584519, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27501941 , 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=27501928 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 (27501941) result : ((1387685531,), (1387685532,), (1387686368,), (1387686519,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501942 , 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=27501928 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 (27501942) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501943 , 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=27501928 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 (27501943) result : ((1387685530,), (1387685568,), (1387685796,), (1387686518,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501944 , 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=27501928 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 (27501944) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501945 , 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=27501928 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 (27501945) result : ((1387685527,), (1387685566,), (1387685567,), (1387685629,), (1387685630,), (1387686365,), (1387686515,), (1387686516,), (1387686517,), (1387686594,), (1387686595,), (1387686596,), (1387686597,), (1387686598,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501946 , 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=27501928 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 (27501946) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501947 , 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=27501928 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 (27501947) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501948 , 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=27501928 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 (27501948) result : ((1387685797,), (1387685798,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501949 , 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=27501928 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 (27501949) result : ((1387685572,), (1387685800,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501950 , 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=27501928 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 (27501950) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501951 , 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=27501928 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 (27501951) result : ((1387685327,), (1387685328,), (1387685533,), (1387685569,), (1387685631,), (1387685632,), (1387685633,), (1387685634,), (1387686369,), (1387686521,), (1387686600,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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 27501952 , 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=27501928 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 (27501952) result : ((1387685571,), (1387686523,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27501928) result : ((1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,)) 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 (1387685100) 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`=27501928 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','flou','metal','Carton_gris','plastique','kraft','cartonnette','autre_refus','papier','environnement','mal_croppe','Teint_Dans_La_Masse')) 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`=27501928 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','flou','metal','Carton_gris','plastique','kraft','cartonnette','autre_refus','papier','environnement','mal_croppe','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 27501928, 'sub_port_id': 27501953, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584532, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'environnement': {'main_port_id': 27501928, 'sub_port_id': 27501954, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584533, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'autre_refus': {'main_port_id': 27501928, 'sub_port_id': 27501955, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584534, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'mal_croppe': {'main_port_id': 27501928, 'sub_port_id': 27501956, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584535, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 27501928, 'sub_port_id': 27501957, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584536, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'metal': {'main_port_id': 27501928, 'sub_port_id': 27501970, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584537, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'flou': {'main_port_id': 27501928, 'sub_port_id': 27501971, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584538, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'Carton_brun': {'main_port_id': 27501928, 'sub_port_id': 27501972, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584539, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'kraft': {'main_port_id': 27501928, 'sub_port_id': 27501973, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584540, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'papier': {'main_port_id': 27501928, 'sub_port_id': 27501974, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584541, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'cartonnette': {'main_port_id': 27501928, 'sub_port_id': 27501975, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584542, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 17, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}, 'plastique': {'main_port_id': 27501928, 'sub_port_id': 27501976, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18584543, 'last_updated_at': datetime.datetime(2025, 10, 3, 20, 34, 59), 'last_updated_at_desc': datetime.datetime(2025, 10, 3, 20, 34, 59), 'last_updated_at_asc': datetime.datetime(2025, 10, 3, 20, 17, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501953,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501941 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501954,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501942 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501955,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501943 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501956,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501944 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501957,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501945 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501970,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501946 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501971,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501947 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501972,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501948 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501973,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501949 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501974,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501950 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501975,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501951 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27501976,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27501952 lien utilise dans velours : https://marlene.fotonower.com/velours/27501953,27501954,27501955,27501956,27501957,27501970,27501971,27501972,27501973,27501974,27501975,27501976?tags=Carton_gris,environnement,autre_refus,mal_croppe,Teint_Dans_La_Masse,metal,flou,Carton_brun,kraft,papier,cartonnette,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27501928]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351] map_info['map_portfolio_photo'] : {27501928: [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351]} final : False mtd_id 4302 list_pids : [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351] Looping around the photos to save general results len do output : 1 /27501928. 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, '3842854') ('4302', '27501928', '1387685670', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685364', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685342', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685341', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685340', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685339', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685337', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685334', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685331', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685326', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685323', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685321', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685312', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685302', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685298', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685293', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685291', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685288', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685272', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685270', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685269', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685268', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685258', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685255', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685253', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685252', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685251', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685214', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685212', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685210', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685208', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685105', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685100', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685099', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685080', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685079', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685071', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685054', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685053', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685052', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684631', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684629', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684627', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684352', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684351', None, None, None, None, None, '3842854') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '27501928', "{'Carton_gris': 27501941, 'environnement': 27501942, 'autre_refus': 27501943, 'mal_croppe': 27501944, 'Teint_Dans_La_Masse': 27501945, 'metal': 27501946, 'flou': 27501947, 'Carton_brun': 27501948, 'kraft': 27501949, 'papier': 27501950, 'cartonnette': 27501951, 'plastique': 27501952}", None, None, None, None, '3842854'), ('4302', '27501928', '1387685670', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685364', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685342', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685341', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685340', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685339', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685337', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685334', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685331', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685326', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685323', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685321', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685312', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685302', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685298', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685293', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685291', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685288', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685272', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685270', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685269', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685268', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685258', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685255', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685253', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685252', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685251', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685214', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685212', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685210', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685208', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685105', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685100', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685099', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685080', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685079', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685071', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685054', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685053', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685052', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684631', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684629', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684627', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684352', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684351', None, None, None, None, None, '3842854')] time used for this insertion : 0.040093421936035156 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6171631813049316 time spend to save output : 0.040529727935791016 total time spend for step 1 : 1.6576929092407227 step2:final Sat Oct 4 06:05: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 (27501928) 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 27501928 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1387684352,1387684351,1387684631,1387684629,1387684627,1387685054,1387685053,1387685052,1387685080,1387685079,1387685071,1387685105,1387685100,1387685099,1387685214,1387685212,1387685210,1387685208,1387685258,1387685255,1387685253,1387685252,1387685251,1387685272,1387685270,1387685269,1387685268,1387685342,1387685302,1387685298,1387685341,1387685293,1387685340,1387685291,1387685339,1387685288,1387685337,1387685334,1387685331,1387685326,1387685323,1387685321,1387685312,1387685364,1387685670); 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([27501928]) Inside saveOutput : final : False verbose : True original output for save of step final : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} new output for save of step final : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351] map_info['map_portfolio_photo'] : {27501928: [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351]} final : False mtd_id 4302 list_pids : [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351] Looping around the photos to save general results len do output : 45 /1387685670.Didn't retrieve data . /1387685364.Didn't retrieve data . /1387685342.Didn't retrieve data . /1387685341.Didn't retrieve data . /1387685340.Didn't retrieve data . /1387685339.Didn't retrieve data . /1387685337.Didn't retrieve data . /1387685334.Didn't retrieve data . /1387685331.Didn't retrieve data . /1387685326.Didn't retrieve data . /1387685323.Didn't retrieve data . /1387685321.Didn't retrieve data . /1387685312.Didn't retrieve data . /1387685302.Didn't retrieve data . /1387685298.Didn't retrieve data . /1387685293.Didn't retrieve data . /1387685291.Didn't retrieve data . /1387685288.Didn't retrieve data . /1387685272.Didn't retrieve data . /1387685270.Didn't retrieve data . /1387685269.Didn't retrieve data . /1387685268.Didn't retrieve data . /1387685258.Didn't retrieve data . /1387685255.Didn't retrieve data . /1387685253.Didn't retrieve data . /1387685252.Didn't retrieve data . /1387685251.Didn't retrieve data . /1387685214.Didn't retrieve data . /1387685212.Didn't retrieve data . /1387685210.Didn't retrieve data . /1387685208.Didn't retrieve data . /1387685105.Didn't retrieve data . /1387685100.Didn't retrieve data . /1387685099.Didn't retrieve data . /1387685080.Didn't retrieve data . /1387685079.Didn't retrieve data . /1387685071.Didn't retrieve data . /1387685054.Didn't retrieve data . /1387685053.Didn't retrieve data . /1387685052.Didn't retrieve data . /1387684631.Didn't retrieve data . /1387684629.Didn't retrieve data . /1387684627.Didn't retrieve data . /1387684352.Didn't retrieve data . /1387684351.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, '3842854') ('4302', '27501928', '1387685670', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685364', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685342', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685341', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685340', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685339', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685337', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685334', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685331', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685326', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685323', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685321', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685312', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685302', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685298', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685293', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685291', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685288', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685272', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685270', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685269', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685268', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685258', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685255', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685253', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685252', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685251', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685214', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685212', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685210', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685208', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685105', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685100', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685099', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685080', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685079', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685071', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685054', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685053', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685052', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684631', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684629', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684627', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684352', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684351', None, None, None, None, None, '3842854') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 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', '27501928', '1387685670', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685364', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685342', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685341', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685340', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685339', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685337', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685334', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685331', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685326', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685323', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685321', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685312', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685302', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685298', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685293', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685291', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685288', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685272', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685270', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685269', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685268', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685258', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685255', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685253', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685252', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685251', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685214', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685212', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685210', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685208', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685105', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685100', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685099', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685080', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685079', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685071', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685054', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685053', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387685052', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387684631', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387684629', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387684627', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387684352', '0.03369259326249422', None, None, None, None, '3842854'), ('4302', '27501928', '1387684351', '0.03369259326249422', None, None, None, None, '3842854')] time used for this insertion : 0.03867745399475098 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2533743381500244 time spend to save output : 0.04048514366149902 total time spend for step 2 : 0.29385948181152344 step3:velours_tree Sat Oct 4 06:05: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 complete output_args for input 0 : {27501928: [{'Carton_gris': 27501941, 'environnement': 27501942, 'autre_refus': 27501943, 'mal_croppe': 27501944, 'Teint_Dans_La_Masse': 27501945, 'metal': 27501946, 'flou': 27501947, 'Carton_brun': 27501948, 'kraft': 27501949, 'papier': 27501950, 'cartonnette': 27501951, 'plastique': 27501952}]} input_args_next_step : {27501928: ()} output_args : {27501928: [{'Carton_gris': 27501941, 'environnement': 27501942, 'autre_refus': 27501943, 'mal_croppe': 27501944, 'Teint_Dans_La_Masse': 27501945, 'metal': 27501946, 'flou': 27501947, 'Carton_brun': 27501948, 'kraft': 27501949, 'papier': 27501950, 'cartonnette': 27501951, 'plastique': 27501952}]} args : 27501928 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 27501941, 'environnement': 27501942, 'autre_refus': 27501943, 'mal_croppe': 27501944, 'Teint_Dans_La_Masse': 27501945, 'metal': 27501946, 'flou': 27501947, 'Carton_brun': 27501948, 'kraft': 27501949, 'papier': 27501950, 'cartonnette': 27501951, 'plastique': 27501952},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27501928) 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([27501928]) 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.29045963287353516 time spend to save output : 4.363059997558594e-05 total time spend for step 3 : 0.29050326347351074 step4:send_mail_cod Sat Oct 4 06:05: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 : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} input_args_next_step : {1387685670: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685670 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685364 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685342 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685341 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685340 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685339 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685337 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685334 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685331 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685326 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685323 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685321 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685312 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685302 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685298 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685293 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685291 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685288 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685272 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685270 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685269 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685268 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685258 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685255 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685253 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685252 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685251 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685214 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685212 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685210 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685208 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685105 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685100 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685099 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685080 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685079 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685071 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685054 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685053 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387685052 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387684631 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387684629 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387684627 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387684352 depend.output_id : 0 input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ()} output_args : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',)} args : 1387684351 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 : {27501928: [{'Carton_gris': 27501941, 'environnement': 27501942, 'autre_refus': 27501943, 'mal_croppe': 27501944, 'Teint_Dans_La_Masse': 27501945, 'metal': 27501946, 'flou': 27501947, 'Carton_brun': 27501948, 'kraft': 27501949, 'papier': 27501950, 'cartonnette': 27501951, 'plastique': 27501952}]} input_args_next_step : {1387685670: ('0.03369259326249422',), 1387685364: ('0.03369259326249422',), 1387685342: ('0.03369259326249422',), 1387685341: ('0.03369259326249422',), 1387685340: ('0.03369259326249422',), 1387685339: ('0.03369259326249422',), 1387685337: ('0.03369259326249422',), 1387685334: ('0.03369259326249422',), 1387685331: ('0.03369259326249422',), 1387685326: ('0.03369259326249422',), 1387685323: ('0.03369259326249422',), 1387685321: ('0.03369259326249422',), 1387685312: ('0.03369259326249422',), 1387685302: ('0.03369259326249422',), 1387685298: ('0.03369259326249422',), 1387685293: ('0.03369259326249422',), 1387685291: ('0.03369259326249422',), 1387685288: ('0.03369259326249422',), 1387685272: ('0.03369259326249422',), 1387685270: ('0.03369259326249422',), 1387685269: ('0.03369259326249422',), 1387685268: ('0.03369259326249422',), 1387685258: ('0.03369259326249422',), 1387685255: ('0.03369259326249422',), 1387685253: ('0.03369259326249422',), 1387685252: ('0.03369259326249422',), 1387685251: ('0.03369259326249422',), 1387685214: ('0.03369259326249422',), 1387685212: ('0.03369259326249422',), 1387685210: ('0.03369259326249422',), 1387685208: ('0.03369259326249422',), 1387685105: ('0.03369259326249422',), 1387685100: ('0.03369259326249422',), 1387685099: ('0.03369259326249422',), 1387685080: ('0.03369259326249422',), 1387685079: ('0.03369259326249422',), 1387685071: ('0.03369259326249422',), 1387685054: ('0.03369259326249422',), 1387685053: ('0.03369259326249422',), 1387685052: ('0.03369259326249422',), 1387684631: ('0.03369259326249422',), 1387684629: ('0.03369259326249422',), 1387684627: ('0.03369259326249422',), 1387684352: ('0.03369259326249422',), 1387684351: ('0.03369259326249422',), 27501928: ()} output_args : {27501928: [{'Carton_gris': 27501941, 'environnement': 27501942, 'autre_refus': 27501943, 'mal_croppe': 27501944, 'Teint_Dans_La_Masse': 27501945, 'metal': 27501946, 'flou': 27501947, 'Carton_brun': 27501948, 'kraft': 27501949, 'papier': 27501950, 'cartonnette': 27501951, 'plastique': 27501952}]} args : 27501928 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 :46, first value : ('0.03369259326249422',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27501928) 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_view ph WHERE photo_id IN (1387685670,1387685364,1387685342,1387685341,1387685340,1387685339,1387685337,1387685334,1387685331,1387685326,1387685323,1387685321,1387685312,1387685302,1387685298,1387685293,1387685291,1387685288,1387685272,1387685270,1387685269,1387685268,1387685258,1387685255,1387685253,1387685252,1387685251,1387685214,1387685212,1387685210,1387685208,1387685105,1387685100,1387685099,1387685080,1387685079,1387685071,1387685054,1387685053,1387685052,1387684631,1387684629,1387684627,1387684352,1387684351) Found this number of photos: 45 ##### Call download_photos : nb_thread : 5 begin to download photo : 1387684351 begin to download photo : 1387685080 begin to download photo : 1387685253 begin to download photo : 1387685298 begin to download photo : 1387685340 download finish for photo 1387684351 begin to download photo : 1387684352 download finish for photo 1387685340 begin to download photo : 1387685341 download finish for photo 1387685298 begin to download photo : 1387685302 download finish for photo 1387685253 begin to download photo : 1387685255 download finish for photo 1387685080 begin to download photo : 1387685099 download finish for photo 1387684352 begin to download photo : 1387684627 download finish for photo 1387685302 begin to download photo : 1387685312 download finish for photo 1387685341 begin to download photo : 1387685342 download finish for photo 1387685255 begin to download photo : 1387685258 download finish for photo 1387685099 begin to download photo : 1387685100 download finish for photo 1387685312 begin to download photo : 1387685321 download finish for photo 1387685342 begin to download photo : 1387685364 download finish for photo 1387684627 begin to download photo : 1387684629 download finish for photo 1387685100 begin to download photo : 1387685105 download finish for photo 1387685258 begin to download photo : 1387685268 download finish for photo 1387685105 begin to download photo : 1387685208 download finish for photo 1387684629 begin to download photo : 1387684631 download finish for photo 1387685321 begin to download photo : 1387685323 download finish for photo 1387685364 begin to download photo : 1387685670 download finish for photo 1387685268 begin to download photo : 1387685269 download finish for photo 1387685208 begin to download photo : 1387685210 download finish for photo 1387685323 begin to download photo : 1387685326 download finish for photo 1387685670 download finish for photo 1387684631 begin to download photo : 1387685052 download finish for photo 1387685269 begin to download photo : 1387685270 download finish for photo 1387685210 begin to download photo : 1387685212 download finish for photo 1387685326 begin to download photo : 1387685331 download finish for photo 1387685270 begin to download photo : 1387685272 download finish for photo 1387685212 begin to download photo : 1387685214 download finish for photo 1387685331 begin to download photo : 1387685334 download finish for photo 1387685272 begin to download photo : 1387685288 download finish for photo 1387685214 begin to download photo : 1387685251 download finish for photo 1387685334 begin to download photo : 1387685337 download finish for photo 1387685288 begin to download photo : 1387685291 download finish for photo 1387685052 begin to download photo : 1387685053 download finish for photo 1387685251 begin to download photo : 1387685252 download finish for photo 1387685337 begin to download photo : 1387685339 download finish for photo 1387685291 begin to download photo : 1387685293 download finish for photo 1387685053 begin to download photo : 1387685054 download finish for photo 1387685252 download finish for photo 1387685339 download finish for photo 1387685293 download finish for photo 1387685054 begin to download photo : 1387685071 download finish for photo 1387685071 begin to download photo : 1387685079 download finish for photo 1387685079 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 45 ; length of list_pids : 45 ; length of list_args : 45 results_Auto_P27501928_04-10-2025_06_05_32.pdf 27501943 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501943 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387685530: '1759516024_706231_1387685272_0fdf3d025e0413fc0b5fc1b459dd8f57_rle_crop_3985986221_0.png', 1387685568: '1759516145_709104_1387685323_8d0cababad4f151bcd6927313984939a_rle_crop_3985986462_0.png', 1387685796: '1759516504_719086_1387685269_da33f6d16c4ade3023aa46f2bbb990b3_rle_crop_3985987498_0.png', 1387686518: '1759518065_761485_1387684627_db459f71362b60f278fefcf93ddb5163_rle_crop_3985990421_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/6592dfa04c9b9ef8588abfe38102e85a_40140259.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/d41a283b479e12efb7d88b25c563db33_66575174.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/5c25f2f5fa6b9e0b1c65a1a76604e5c7_12341294.png change filename to text .imagette275019431759550732/ imagette275019431759550732/1759516504_719086_1387685269_da33f6d16c4ade3023aa46f2bbb990b3_rle_crop_3985987498_0.png.png imagette275019431759550732/1759518065_761485_1387684627_db459f71362b60f278fefcf93ddb5163_rle_crop_3985990421_0.png.png imagette275019431759550732/1759516024_706231_1387685272_0fdf3d025e0413fc0b5fc1b459dd8f57_rle_crop_3985986221_0.png.png imagette275019431759550732/1759516145_709104_1387685323_8d0cababad4f151bcd6927313984939a_rle_crop_3985986462_0.png.png imagette275019441759550732/ imagette275019461759550732/ imagette275019471759550732/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/6acdd55f643bfbf3de05ed75c8d527a6_45959407.png imagette275019431759550732 27501944 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501944 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275019441759550732 27501946 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501946 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275019461759550732 27501947 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501947 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette275019471759550732 27501949 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501949 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387685572: '1759516145_709104_1387685326_b5ca43ebf46216db6cb9f4397dc46dc6_rle_crop_3985986447_0.png', 1387685800: '1759516504_719086_1387685270_dfeeb772d13f76a5b6c9e405b6072390_rle_crop_3985987489_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/20c15d3c8ef7c4600eca145e96084a5e_51881026.png change filename to text .imagette275019491759550732/ imagette275019491759550732/1759516504_719086_1387685270_dfeeb772d13f76a5b6c9e405b6072390_rle_crop_3985987489_0.png.png imagette275019491759550732/1759516145_709104_1387685326_b5ca43ebf46216db6cb9f4397dc46dc6_rle_crop_3985986447_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/32a71400634db68478a9712340d533b5_36950326.png imagette275019491759550732 27501951 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501951 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387685327: '1759515906_703319_1387685214_bd76c65f6873d16d1fa3806e9f515aa8_rle_crop_3985985880_0.png', 1387685328: '1759515906_703319_1387685099_8224cc5a5f39afd876719557c65d24f5_rle_crop_3985985895_0.png', 1387685533: '1759516024_706231_1387685253_3f1c3881d8e9d8034d7eb4e8420c1f4e_rle_crop_3985986239_0.png', 1387685569: '1759516145_709104_1387685326_b5ca43ebf46216db6cb9f4397dc46dc6_rle_crop_3985986446_0.png', 1387685631: '1759516264_711961_1387685339_3b676ecba962984015ff21a3979c2920_rle_crop_3985986980_0.png', 1387685632: '1759516264_711961_1387685334_8298312f6c9db4aed7176c252b03ee6b_rle_crop_3985987006_0.png', 1387685633: '1759516264_711961_1387685334_8298312f6c9db4aed7176c252b03ee6b_rle_crop_3985987009_0.png', 1387685634: '1759516264_711961_1387685291_f35849d264400d508700f3d8ce78c588_rle_crop_3985987030_0.png', 1387686369: '1759517826_754258_1387685212_890b3193db07361c8588ba224a98483a_rle_crop_3985990243_0.png', 1387686521: '1759518065_761485_1387684627_db459f71362b60f278fefcf93ddb5163_rle_crop_3985990424_0.png', 1387686600: '1759518304_767954_1387684351_055189f14c0cbce31bdcf12d633e4fef_rle_crop_3985990857_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/5fc444eb8ea15c3765db8c809c7021dd_27839287.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/450ec9cd0823a7cfd636dbd52aaa4dc6_91008893.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/4997adae79bcca979511bf9bf6643b7d_72818826.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/947691af014c2c6181b4dcec1d1f5864_33008959.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/78d777f716c39e1cb44494f491befa35_41363550.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/751687d1456943a99c6f15c3042bd828_98670933.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/30b8aa8ce44135cf1c0b2792ddab55b4_47926822.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/78d777f716c39e1cb44494f491befa35_64519521.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/9d724e4ea97d750f0dbad9061faaffb6_45929969.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/6cefb8e58aa87bb86ac53978c6d04578_91810155.png change filename to text .imagette275019511759550733/ imagette275019511759550733/1759518304_767954_1387684351_055189f14c0cbce31bdcf12d633e4fef_rle_crop_3985990857_0.png.png imagette275019511759550733/1759516024_706231_1387685253_3f1c3881d8e9d8034d7eb4e8420c1f4e_rle_crop_3985986239_0.png.png imagette275019511759550733/1759516145_709104_1387685326_b5ca43ebf46216db6cb9f4397dc46dc6_rle_crop_3985986446_0.png.png imagette275019511759550733/1759515906_703319_1387685099_8224cc5a5f39afd876719557c65d24f5_rle_crop_3985985895_0.png.png imagette275019511759550733/1759518065_761485_1387684627_db459f71362b60f278fefcf93ddb5163_rle_crop_3985990424_0.png.png imagette275019511759550733/1759517826_754258_1387685212_890b3193db07361c8588ba224a98483a_rle_crop_3985990243_0.png.png imagette275019511759550733/1759516264_711961_1387685334_8298312f6c9db4aed7176c252b03ee6b_rle_crop_3985987009_0.png.png imagette275019511759550733/1759515906_703319_1387685214_bd76c65f6873d16d1fa3806e9f515aa8_rle_crop_3985985880_0.png.png imagette275019511759550733/1759516264_711961_1387685334_8298312f6c9db4aed7176c252b03ee6b_rle_crop_3985987006_0.png.png imagette275019511759550733/1759516264_711961_1387685339_3b676ecba962984015ff21a3979c2920_rle_crop_3985986980_0.png.png imagette275019511759550733/1759516264_711961_1387685291_f35849d264400d508700f3d8ce78c588_rle_crop_3985987030_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/d187adf22961b95f3796c8f8238f881f_28615269.png imagette275019511759550733 27501952 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501952 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387685571: '1759516145_709104_1387685323_8d0cababad4f151bcd6927313984939a_rle_crop_3985986456_0.png', 1387686523: '1759518065_761485_1387685054_9252ba86b09a23f0c0b46d94cde1c526_rle_crop_3985990395_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/f4b972c506f715686ea41974edfba0dc_16612369.png change filename to text .imagette275019521759550734/ imagette275019521759550734/1759518065_761485_1387685054_9252ba86b09a23f0c0b46d94cde1c526_rle_crop_3985990395_0.png.png imagette275019521759550734/1759516145_709104_1387685323_8d0cababad4f151bcd6927313984939a_rle_crop_3985986456_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/df8007ce745902c80541d4a24ab4cd5f_5906944.png imagette275019521759550734 27501941 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501941 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387685531: '1759516024_706231_1387685272_0fdf3d025e0413fc0b5fc1b459dd8f57_rle_crop_3985986218_0.png', 1387685532: '1759516024_706231_1387685253_3f1c3881d8e9d8034d7eb4e8420c1f4e_rle_crop_3985986240_0.png', 1387686368: '1759517826_754258_1387685208_878a1e9f656d282c139d5eba7752aa90_rle_crop_3985990272_0.png', 1387686519: '1759518065_761485_1387685054_9252ba86b09a23f0c0b46d94cde1c526_rle_crop_3985990398_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/c0961a5094b8c98f143a79b6938c3637_17732461.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/feb76fd22799e54637dbfb9be77f7b6b_1606892.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/be3a3201ce2faab6391a9e5c1cfa973a_813625.png change filename to text .imagette275019411759550734/ imagette275019411759550734/1759518065_761485_1387685054_9252ba86b09a23f0c0b46d94cde1c526_rle_crop_3985990398_0.png.png imagette275019411759550734/1759516024_706231_1387685272_0fdf3d025e0413fc0b5fc1b459dd8f57_rle_crop_3985986218_0.png.png imagette275019411759550734/1759517826_754258_1387685208_878a1e9f656d282c139d5eba7752aa90_rle_crop_3985990272_0.png.png imagette275019411759550734/1759516024_706231_1387685253_3f1c3881d8e9d8034d7eb4e8420c1f4e_rle_crop_3985986240_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/8779a01f723eaa6d657353fb3b223190_81062596.png imagette275019411759550734 27501945 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501945 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387685527: '1759516024_706231_1387685251_518f1f6a9fcfa8cd069c0c2e2b9bac72_rle_crop_3985986266_0.png', 1387685566: '1759516145_709104_1387685364_07a120acd1ab7721b66994d5fbcffc56_rle_crop_3985986426_0.png', 1387685567: '1759516145_709104_1387685331_f7624d344dbbc18391abb56febe1c9bd_rle_crop_3985986437_0.png', 1387685629: '1759516264_711961_1387685339_3b676ecba962984015ff21a3979c2920_rle_crop_3985986986_0.png', 1387685630: '1759516264_711961_1387685291_f35849d264400d508700f3d8ce78c588_rle_crop_3985987036_0.png', 1387686365: '1759517826_754258_1387685208_878a1e9f656d282c139d5eba7752aa90_rle_crop_3985990270_0.png', 1387686515: '1759518065_761485_1387685054_9252ba86b09a23f0c0b46d94cde1c526_rle_crop_3985990400_0.png', 1387686516: '1759518065_761485_1387684629_ade76f0702310130263a1aded3faa10f_rle_crop_3985990412_0.png', 1387686517: '1759518065_761485_1387684627_db459f71362b60f278fefcf93ddb5163_rle_crop_3985990431_0.png', 1387686594: '1759518304_767954_1387684352_5d7e9e20101100cc93f829a4c14563b3_rle_crop_3985990836_0.png', 1387686595: '1759518304_767954_1387684352_5d7e9e20101100cc93f829a4c14563b3_rle_crop_3985990835_0.png', 1387686596: '1759518304_767954_1387684352_5d7e9e20101100cc93f829a4c14563b3_rle_crop_3985990842_0.png', 1387686597: '1759518304_767954_1387684352_5d7e9e20101100cc93f829a4c14563b3_rle_crop_3985990841_0.png', 1387686598: '1759518304_767954_1387684351_055189f14c0cbce31bdcf12d633e4fef_rle_crop_3985990860_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/f7300f93008585bef915d6b49ee129e4_77053359.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/bffa6a420b0ca7a4caca92d68e177ea8_58911786.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/a9aaaf9a8d1b1cbded5abc676125c8d8_17128409.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/4c4b77f13564348610eee5530236c1f4_37657376.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/4c4b77f13564348610eee5530236c1f4_11129599.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/66bcda3253d9a7ad98855b2be2e0949c_61226835.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/0164015a4b5757e598d14c0a05195b0a_42459524.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/f5ef49d51aa782ae05890c84691922bf_13606728.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/f560929eee46edce78daf43aebd1adf4_15787222.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/83544e053622df450ae27d6a4876c2b9_44019449.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/52a3b41e50bd0e3b163faf4f42ddce56_43342834.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/1a50d7e2d779eca77905431db8d09323_77908856.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/3ff6b61b349d285ccee368edcfcbcbd7_28702459.png change filename to text .imagette275019451759550734/ imagette275019451759550734/1759518304_767954_1387684352_5d7e9e20101100cc93f829a4c14563b3_rle_crop_3985990836_0.png.png imagette275019451759550734/1759518304_767954_1387684352_5d7e9e20101100cc93f829a4c14563b3_rle_crop_3985990841_0.png.png imagette275019451759550734/1759518065_761485_1387685054_9252ba86b09a23f0c0b46d94cde1c526_rle_crop_3985990400_0.png.png imagette275019451759550734/1759518304_767954_1387684352_5d7e9e20101100cc93f829a4c14563b3_rle_crop_3985990842_0.png.png imagette275019451759550734/1759518065_761485_1387684629_ade76f0702310130263a1aded3faa10f_rle_crop_3985990412_0.png.png imagette275019451759550734/1759518304_767954_1387684351_055189f14c0cbce31bdcf12d633e4fef_rle_crop_3985990860_0.png.png imagette275019451759550734/1759516264_711961_1387685339_3b676ecba962984015ff21a3979c2920_rle_crop_3985986986_0.png.png imagette275019451759550734/1759516145_709104_1387685331_f7624d344dbbc18391abb56febe1c9bd_rle_crop_3985986437_0.png.png imagette275019451759550734/1759517826_754258_1387685208_878a1e9f656d282c139d5eba7752aa90_rle_crop_3985990270_0.png.png imagette275019451759550734/1759516145_709104_1387685364_07a120acd1ab7721b66994d5fbcffc56_rle_crop_3985986426_0.png.png imagette275019451759550734/1759518065_761485_1387684627_db459f71362b60f278fefcf93ddb5163_rle_crop_3985990431_0.png.png imagette275019451759550734/1759518304_767954_1387684352_5d7e9e20101100cc93f829a4c14563b3_rle_crop_3985990835_0.png.png imagette275019451759550734/1759516024_706231_1387685251_518f1f6a9fcfa8cd069c0c2e2b9bac72_rle_crop_3985986266_0.png.png imagette275019451759550734/1759516264_711961_1387685291_f35849d264400d508700f3d8ce78c588_rle_crop_3985987036_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/0e0ee7f833cf4873aa0871d755e111cf_51120080.png imagette275019451759550734 27501948 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501948 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387685797: '1759516504_719086_1387685268_bf3c077751a3033f2b5de7dd602e26d7_rle_crop_3985987512_0.png', 1387685798: '1759516504_719086_1387685268_bf3c077751a3033f2b5de7dd602e26d7_rle_crop_3985987515_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/ae9ddaeec19a1858dca8211cca97ef64_64550994.png change filename to text .imagette275019481759550736/ imagette275019481759550736/1759516504_719086_1387685268_bf3c077751a3033f2b5de7dd602e26d7_rle_crop_3985987515_0.png.png imagette275019481759550736/1759516504_719086_1387685268_bf3c077751a3033f2b5de7dd602e26d7_rle_crop_3985987512_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/06243638d9e0f6488f35ef09854491df_42243317.png imagette275019481759550736 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27501928 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27501953,27501954,27501955,27501956,27501957,27501970,27501971,27501972,27501973,27501974,27501975,27501976?tags=Carton_gris,environnement,autre_refus,mal_croppe,Teint_Dans_La_Masse,metal,flou,Carton_brun,kraft,papier,cartonnette,plastique your option no_mail is active, we will not send the real mail to your client args[1387685670] : ('0.03369259326249422',) no score found for photo 1387685670 We are sending mail with results at report@fotonower.com args[1387685364] : ('0.03369259326249422',) no score found for photo 1387685364 We are sending mail with results at report@fotonower.com args[1387685342] : ('0.03369259326249422',) no score found for photo 1387685342 We are sending mail with results at report@fotonower.com args[1387685341] : ('0.03369259326249422',) no score found for photo 1387685341 We are sending mail with results at report@fotonower.com args[1387685340] : ('0.03369259326249422',) no score found for photo 1387685340 We are sending mail with results at report@fotonower.com args[1387685339] : ('0.03369259326249422',) no score found for photo 1387685339 We are sending mail with results at report@fotonower.com args[1387685337] : ('0.03369259326249422',) no score found for photo 1387685337 We are sending mail with results at report@fotonower.com args[1387685334] : ('0.03369259326249422',) no score found for photo 1387685334 We are sending mail with results at report@fotonower.com args[1387685331] : ('0.03369259326249422',) no score found for photo 1387685331 We are sending mail with results at report@fotonower.com args[1387685326] : ('0.03369259326249422',) no score found for photo 1387685326 We are sending mail with results at report@fotonower.com args[1387685323] : ('0.03369259326249422',) no score found for photo 1387685323 We are sending mail with results at report@fotonower.com args[1387685321] : ('0.03369259326249422',) no score found for photo 1387685321 We are sending mail with results at report@fotonower.com args[1387685312] : ('0.03369259326249422',) no score found for photo 1387685312 We are sending mail with results at report@fotonower.com args[1387685302] : ('0.03369259326249422',) no score found for photo 1387685302 We are sending mail with results at report@fotonower.com args[1387685298] : ('0.03369259326249422',) no score found for photo 1387685298 We are sending mail with results at report@fotonower.com args[1387685293] : ('0.03369259326249422',) no score found for photo 1387685293 We are sending mail with results at report@fotonower.com args[1387685291] : ('0.03369259326249422',) no score found for photo 1387685291 We are sending mail with results at report@fotonower.com args[1387685288] : ('0.03369259326249422',) no score found for photo 1387685288 We are sending mail with results at report@fotonower.com args[1387685272] : ('0.03369259326249422',) no score found for photo 1387685272 We are sending mail with results at report@fotonower.com args[1387685270] : ('0.03369259326249422',) no score found for photo 1387685270 We are sending mail with results at report@fotonower.com args[1387685269] : ('0.03369259326249422',) no score found for photo 1387685269 We are sending mail with results at report@fotonower.com args[1387685268] : ('0.03369259326249422',) no score found for photo 1387685268 We are sending mail with results at report@fotonower.com args[1387685258] : ('0.03369259326249422',) no score found for photo 1387685258 We are sending mail with results at report@fotonower.com args[1387685255] : ('0.03369259326249422',) no score found for photo 1387685255 We are sending mail with results at report@fotonower.com args[1387685253] : ('0.03369259326249422',) no score found for photo 1387685253 We are sending mail with results at report@fotonower.com args[1387685252] : ('0.03369259326249422',) no score found for photo 1387685252 We are sending mail with results at report@fotonower.com args[1387685251] : ('0.03369259326249422',) no score found for photo 1387685251 We are sending mail with results at report@fotonower.com args[1387685214] : ('0.03369259326249422',) no score found for photo 1387685214 We are sending mail with results at report@fotonower.com args[1387685212] : ('0.03369259326249422',) no score found for photo 1387685212 We are sending mail with results at report@fotonower.com args[1387685210] : ('0.03369259326249422',) no score found for photo 1387685210 We are sending mail with results at report@fotonower.com args[1387685208] : ('0.03369259326249422',) no score found for photo 1387685208 We are sending mail with results at report@fotonower.com args[1387685105] : ('0.03369259326249422',) no score found for photo 1387685105 We are sending mail with results at report@fotonower.com args[1387685100] : ('0.03369259326249422',) no score found for photo 1387685100 We are sending mail with results at report@fotonower.com args[1387685099] : ('0.03369259326249422',) no score found for photo 1387685099 We are sending mail with results at report@fotonower.com args[1387685080] : ('0.03369259326249422',) no score found for photo 1387685080 We are sending mail with results at report@fotonower.com args[1387685079] : ('0.03369259326249422',) no score found for photo 1387685079 We are sending mail with results at report@fotonower.com args[1387685071] : ('0.03369259326249422',) no score found for photo 1387685071 We are sending mail with results at report@fotonower.com args[1387685054] : ('0.03369259326249422',) no score found for photo 1387685054 We are sending mail with results at report@fotonower.com args[1387685053] : ('0.03369259326249422',) no score found for photo 1387685053 We are sending mail with results at report@fotonower.com args[1387685052] : ('0.03369259326249422',) no score found for photo 1387685052 We are sending mail with results at report@fotonower.com args[1387684631] : ('0.03369259326249422',) no score found for photo 1387684631 We are sending mail with results at report@fotonower.com args[1387684629] : ('0.03369259326249422',) no score found for photo 1387684629 We are sending mail with results at report@fotonower.com args[1387684627] : ('0.03369259326249422',) no score found for photo 1387684627 We are sending mail with results at report@fotonower.com args[1387684352] : ('0.03369259326249422',) no score found for photo 1387684352 We are sending mail with results at report@fotonower.com args[1387684351] : ('0.03369259326249422',) no score found for photo 1387684351 We are sending mail with results at report@fotonower.com refus_total : 0.03369259326249422 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501928 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_P27501928_04-10-2025_06_05_32.pdf results_Auto_P27501928_04-10-2025_06_05_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501928_04-10-2025_06_05_32.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','27501928','results_Auto_P27501928_04-10-2025_06_05_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501928_04-10-2025_06_05_32.pdf','pdf','','0.41','0.03369259326249422') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27501928]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351] map_info['map_portfolio_photo'] : {27501928: [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351]} final : False mtd_id 4302 list_pids : [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351] 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, '3842854') ('4302', '27501928', '1387685670', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685364', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685342', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685341', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685340', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685339', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685337', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685334', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685331', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685326', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685323', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685321', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685312', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685302', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685298', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685293', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685291', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685288', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685272', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685270', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685269', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685268', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685258', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685255', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685253', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685252', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685251', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685214', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685212', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685210', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685208', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685105', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685100', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685099', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685080', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685079', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685071', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685054', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685053', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685052', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684631', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684629', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684627', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684352', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684351', None, None, None, None, None, '3842854') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '27501928', '1387685670', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685364', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685342', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685341', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685340', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685339', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685337', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685334', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685331', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685326', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685323', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685321', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685312', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685302', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685298', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685293', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685291', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685288', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685272', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685270', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685269', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685268', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685258', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685255', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685253', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685252', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685251', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685214', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685212', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685210', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685208', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685105', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685100', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685099', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685080', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685079', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685071', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685054', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685053', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685052', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684631', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684629', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684627', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684352', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684351', None, None, None, None, None, '3842854')] time used for this insertion : 0.03919076919555664 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.220743894577026 time spend to save output : 0.03965258598327637 total time spend for step 4 : 9.260396480560303 step5:split_time_score Sat Oct 4 06:05:39 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 : ['27501928'] 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 : [('27501928',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27501928) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1387685340: {'path': 'temp/1759550730_481589_1387685340_0bea0cf4bbc40bd3534d3dfcbdbe8d32.jpg', 'extension': 'jpg'}, 1387685341: {'path': 'temp/1759550730_481589_1387685341_d872d1d1ef388ca25dee003f57d36561.jpg', 'extension': 'jpg'}, 1387685342: {'path': 'temp/1759550730_481589_1387685342_cd2e991b02c403d0d64dc71b6b523927.jpg', 'extension': 'jpg'}, 1387685364: {'path': 'temp/1759550730_481589_1387685364_07a120acd1ab7721b66994d5fbcffc56.jpg', 'extension': 'jpg'}, 1387685670: {'path': 'temp/1759550730_481589_1387685670_79aa65fd466dbdb1a7d1736269d58918.jpg', 'extension': 'jpg'}, 1387685080: {'path': 'temp/1759550730_481589_1387685080_37047e177c34a309796a07d700478016.jpg', 'extension': 'jpg'}, 1387685099: {'path': 'temp/1759550730_481589_1387685099_8224cc5a5f39afd876719557c65d24f5.jpg', 'extension': 'jpg'}, 1387685100: {'path': 'temp/1759550730_481589_1387685100_7afcc0fb825b8518688f021b5c625851.jpg', 'extension': 'jpg'}, 1387685105: {'path': 'temp/1759550730_481589_1387685105_2a249712fbd4a6ce19df00ece8ff0d25.jpg', 'extension': 'jpg'}, 1387685208: {'path': 'temp/1759550730_481589_1387685208_878a1e9f656d282c139d5eba7752aa90.jpg', 'extension': 'jpg'}, 1387685210: {'path': 'temp/1759550730_481589_1387685210_60f415add00933f431035eb19a0161f4.jpg', 'extension': 'jpg'}, 1387685212: {'path': 'temp/1759550730_481589_1387685212_890b3193db07361c8588ba224a98483a.jpg', 'extension': 'jpg'}, 1387685214: {'path': 'temp/1759550730_481589_1387685214_bd76c65f6873d16d1fa3806e9f515aa8.jpg', 'extension': 'jpg'}, 1387685251: {'path': 'temp/1759550730_481589_1387685251_518f1f6a9fcfa8cd069c0c2e2b9bac72.jpg', 'extension': 'jpg'}, 1387685252: {'path': 'temp/1759550730_481589_1387685252_eeed4996ebd4d15481fcfa4498b605ae.jpg', 'extension': 'jpg'}, 1387685298: {'path': 'temp/1759550730_481589_1387685298_1030cedf59ca73ce241adff543cc99ad.jpg', 'extension': 'jpg'}, 1387685302: {'path': 'temp/1759550730_481589_1387685302_963b1a7fd67bb26bd8502859484ca39a.jpg', 'extension': 'jpg'}, 1387685312: {'path': 'temp/1759550730_481589_1387685312_b5ce95fe5c733830bcc94091d755dac2.jpg', 'extension': 'jpg'}, 1387685321: {'path': 'temp/1759550730_481589_1387685321_8b748e4d9fe6d8a161f5651b66032dda.jpg', 'extension': 'jpg'}, 1387685323: {'path': 'temp/1759550730_481589_1387685323_8d0cababad4f151bcd6927313984939a.jpg', 'extension': 'jpg'}, 1387685326: {'path': 'temp/1759550730_481589_1387685326_b5ca43ebf46216db6cb9f4397dc46dc6.jpg', 'extension': 'jpg'}, 1387685331: {'path': 'temp/1759550730_481589_1387685331_f7624d344dbbc18391abb56febe1c9bd.jpg', 'extension': 'jpg'}, 1387685334: {'path': 'temp/1759550730_481589_1387685334_8298312f6c9db4aed7176c252b03ee6b.jpg', 'extension': 'jpg'}, 1387685337: {'path': 'temp/1759550730_481589_1387685337_b21df3ba05e5d445fce0ad24bc8c6c2e.jpg', 'extension': 'jpg'}, 1387685339: {'path': 'temp/1759550730_481589_1387685339_3b676ecba962984015ff21a3979c2920.jpg', 'extension': 'jpg'}, 1387685253: {'path': 'temp/1759550730_481589_1387685253_3f1c3881d8e9d8034d7eb4e8420c1f4e.jpg', 'extension': 'jpg'}, 1387685255: {'path': 'temp/1759550730_481589_1387685255_9f7b8ea8a2cbd21499b4c5844359e741.jpg', 'extension': 'jpg'}, 1387685258: {'path': 'temp/1759550730_481589_1387685258_8f7c84d45a6bd694476b3349597c2532.jpg', 'extension': 'jpg'}, 1387685268: {'path': 'temp/1759550730_481589_1387685268_bf3c077751a3033f2b5de7dd602e26d7.jpg', 'extension': 'jpg'}, 1387685269: {'path': 'temp/1759550730_481589_1387685269_da33f6d16c4ade3023aa46f2bbb990b3.jpg', 'extension': 'jpg'}, 1387685270: {'path': 'temp/1759550730_481589_1387685270_dfeeb772d13f76a5b6c9e405b6072390.jpg', 'extension': 'jpg'}, 1387685272: {'path': 'temp/1759550730_481589_1387685272_0fdf3d025e0413fc0b5fc1b459dd8f57.jpg', 'extension': 'jpg'}, 1387685288: {'path': 'temp/1759550730_481589_1387685288_e88dd7ee4b3dbc28124e0fe395806f58.jpg', 'extension': 'jpg'}, 1387685291: {'path': 'temp/1759550730_481589_1387685291_f35849d264400d508700f3d8ce78c588.jpg', 'extension': 'jpg'}, 1387685293: {'path': 'temp/1759550730_481589_1387685293_98aef9eb503691c73221e76a19440856.jpg', 'extension': 'jpg'}, 1387684351: {'path': 'temp/1759550730_481589_1387684351_055189f14c0cbce31bdcf12d633e4fef.jpg', 'extension': 'jpg'}, 1387684352: {'path': 'temp/1759550730_481589_1387684352_5d7e9e20101100cc93f829a4c14563b3.jpg', 'extension': 'jpg'}, 1387684627: {'path': 'temp/1759550730_481589_1387684627_db459f71362b60f278fefcf93ddb5163.jpg', 'extension': 'jpg'}, 1387684629: {'path': 'temp/1759550730_481589_1387684629_ade76f0702310130263a1aded3faa10f.jpg', 'extension': 'jpg'}, 1387684631: {'path': 'temp/1759550730_481589_1387684631_9b9a23d954c8db9690a828fefc5afd8d.jpg', 'extension': 'jpg'}, 1387685052: {'path': 'temp/1759550730_481589_1387685052_b141a1b5d561bdce6a09f98fe19a723b.jpg', 'extension': 'jpg'}, 1387685053: {'path': 'temp/1759550730_481589_1387685053_f6f261fc59dc5e0775e2f9adeabedc92.jpg', 'extension': 'jpg'}, 1387685054: {'path': 'temp/1759550730_481589_1387685054_9252ba86b09a23f0c0b46d94cde1c526.jpg', 'extension': 'jpg'}, 1387685071: {'path': 'temp/1759550730_481589_1387685071_7d0cd05c2f0832df95a30d6f364c0dc8.jpg', 'extension': 'jpg'}, 1387685079: {'path': 'temp/1759550730_481589_1387685079_4947ff173594c700e4294fa453c51523.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 = 27501928; (('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27501928 group by h (('20', 45),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27501928 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 (27501928) 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 (27501928) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03102025 27501928 Nombre de photos uploadées : 45 / 23040 (0%) 03102025 27501928 Nombre de photos taguées (types de déchets): 0 / 45 (0%) 03102025 27501928 Nombre de photos taguées (volume) : 0 / 45 (0%) [{'photo_id': 1387684352, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/5d7e9e20101100cc93f829a4c14563b3.jpg', 'username': None, 'uploaded_at': 1759515367, 'text': 'image_03102025_20_15_13_010135m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1387684351, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/055189f14c0cbce31bdcf12d633e4fef.jpg', 'username': None, 'uploaded_at': 1759515367, 'text': 'image_03102025_20_15_34_010134m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1387684631, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/9b9a23d954c8db9690a828fefc5afd8d.jpg', 'username': None, 'uploaded_at': 1759515432, 'text': 'image_03102025_20_15_54_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1387684629, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/3/ade76f0702310130263a1aded3faa10f.jpg', 'username': None, 'uploaded_at': 1759515432, 'text': 'image_03102025_20_16_23_010135m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017199516296386719 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27501928, '2025-10-03' ) 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-10-03' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2385431,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.645700216293335 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= 2385431 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27462418, 'dashboard_result_id': 16018512, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27462418_04-10-2025_05_34_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27462421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27462422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27462423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27462424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27462425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27462426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27462427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27462428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27462429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27462430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27462431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27462432, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27462676, 'dashboard_result_id': 16018513, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27462676_04-10-2025_05_35_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27462762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27462763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27462764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27462765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27462766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27462767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27462768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27462769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27462770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27462771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27462772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27462773, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27463016, 'dashboard_result_id': 16018514, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463016_04-10-2025_05_35_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27463053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27463054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27463055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27463056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27463057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27463058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27463059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27463060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27463061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27463062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27463063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27463064, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27464289, 'dashboard_result_id': 16018515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464289_04-10-2025_05_36_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27464296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464302, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27464603, 'dashboard_result_id': 16018516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464603_04-10-2025_05_36_08.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27464636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464647, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27464951, 'dashboard_result_id': 16018517, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464951_04-10-2025_05_36_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27464961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464970, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27465533, 'dashboard_result_id': 16018518, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27465533_04-10-2025_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27465546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27465547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27465548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27465549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27465550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27465551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27465552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27465553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27465554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27465555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27465556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27465557, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27465946, 'dashboard_result_id': 16018519, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27465946_04-10-2025_05_38_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27466004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27466005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27466006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27466007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27466008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27466009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27466010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27466011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27466013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27466014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27466015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27466016, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27466489, 'dashboard_result_id': 16018520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27466489_04-10-2025_05_38_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27466535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27466536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27466537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27466538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27466539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27466540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27466541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27466542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27466543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27466544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27466545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27466546, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27466980, 'dashboard_result_id': 16018521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27466980_04-10-2025_05_39_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27467024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27467025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27467026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27467027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27467028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27467029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27467030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27467031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27467032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27467034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27467035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27467036, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27467590, 'dashboard_result_id': 16018522, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27467590_04-10-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27467611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27467612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27467613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27467614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27467616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27467617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27467618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27467619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27467620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27467621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27467622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27467623, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27468047, 'dashboard_result_id': 16018523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468047_04-10-2025_05_40_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27468057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27468058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27468059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27468061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27468062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27468063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27468064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27468065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27468066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27468067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27468068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27468069, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27468479, 'dashboard_result_id': 16018524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468479_04-10-2025_05_40_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27468489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27468490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27468491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27468492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27468493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27468495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27468497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27468498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27468499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27468500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27468501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27468502, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27468969, 'dashboard_result_id': 16018525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468969_04-10-2025_05_41_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27469013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27469014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27469015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27469016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27469017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27469018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27469019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27469020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27469021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27469023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27469024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27469025, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27470361, 'dashboard_result_id': 16018526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470361_04-10-2025_05_41_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27470363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470374, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27470593, 'dashboard_result_id': 16018527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470593_04-10-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27470607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470609, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27470835, 'dashboard_result_id': 16018528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470835_04-10-2025_05_42_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27470851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470853, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27471112, 'dashboard_result_id': 16018529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471112_04-10-2025_05_43_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27471125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471148, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27471429, 'dashboard_result_id': 16018530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471429_04-10-2025_05_43_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27471436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471446, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27471962, 'dashboard_result_id': 16018531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471962_04-10-2025_05_44_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27471990, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27472372, 'dashboard_result_id': 16018532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27472372_04-10-2025_05_44_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27472396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27472397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27472398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27472399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27472400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27472401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27472402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27472404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27472405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27472406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27472407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27472408, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27472875, 'dashboard_result_id': 16018533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27472875_04-10-2025_05_45_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27472898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27472899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27472900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27472901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27472902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27472903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27472904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27472905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27472906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27472907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27472908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27472909, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27473429, 'dashboard_result_id': 16018534, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27473429_04-10-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27473486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27473487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27473488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27473489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27473490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27473491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27473493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27473494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27473495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27473496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27473497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27473498, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27474194, 'dashboard_result_id': 16018535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27474194_04-10-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27474240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27474241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27474242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27474243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27474244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27474245, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27474247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27474248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27474249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27474250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27474251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27474252, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27475041, 'dashboard_result_id': 16018536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27475041_04-10-2025_05_46_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27475052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27475053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27475054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27475055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27475056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27475057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27475058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27475059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27475061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27475062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27475063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27475064, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27475805, 'dashboard_result_id': 16018537, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27475805_04-10-2025_05_46_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27475817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27475818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27475819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27475820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27475821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27475822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27475823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27475825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27475826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27475827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27475828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27475829, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27476483, 'dashboard_result_id': 16018538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476483_04-10-2025_05_47_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27476526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27476527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27476528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27476529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27476530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27476531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27476532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27476533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27476534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27476535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27476536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27476537, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27477333, 'dashboard_result_id': 16018539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27477333_04-10-2025_05_47_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27477393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27477394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27477395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27477396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27477398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27477399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27477400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27477401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27477402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27477403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27477404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27477405, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27478030, 'dashboard_result_id': 16018540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478030_04-10-2025_05_48_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27478052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27478053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27478054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27478055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27478056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27478057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27478058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27478059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27478060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27478061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27478062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27478063, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27478808, 'dashboard_result_id': 16018541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478808_04-10-2025_05_48_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27478860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27478861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27478862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27478863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27478864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27478865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27478866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27478872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27478880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27478881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27478882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27478883, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27481050, 'dashboard_result_id': 16018542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481050_04-10-2025_05_49_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481067, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27481381, 'dashboard_result_id': 16018543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481381_04-10-2025_05_49_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481387, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481397, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27481867, 'dashboard_result_id': 16018544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481867_04-10-2025_05_50_17.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481904, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27482504, 'dashboard_result_id': 16018545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27482504_04-10-2025_05_50_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27482524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27482525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27482526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27482527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27482528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27482529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27482530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27482531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27482532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27482533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27482534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27482535, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27483111, 'dashboard_result_id': 16018546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27483111_04-10-2025_05_51_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27483135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27483136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27483137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27483138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27483139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27483140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27483141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27483142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27483143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27483144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27483145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27483146, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27483691, 'dashboard_result_id': 16018547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27483691_04-10-2025_05_51_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27483729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27483730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27483731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27483732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27483733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27483734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27483735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27483736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27483737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27483738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27483739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27483740, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27484287, 'dashboard_result_id': 16018548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27484287_04-10-2025_05_51_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27484308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27484309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27484310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27484311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27484312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27484313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27484314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27484315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27484316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27484317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27484318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27484319, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27485107, 'dashboard_result_id': 16018549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485107_04-10-2025_05_52_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27485118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27485119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27485121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27485122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27485123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27485124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27485125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27485126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27485127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27485128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27485129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27485130, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27486477, 'dashboard_result_id': 16018550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27486477_04-10-2025_05_52_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27486483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27486484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27486485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27486486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27486487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27486488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27486489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27486490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27486491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27486492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27486493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27486494, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27486687, 'dashboard_result_id': 16018551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27486687_04-10-2025_05_53_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27486705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27486706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27486707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27486708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27486709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27486710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27486711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27486712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27486713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27486714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27486715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27486716, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27489564, 'dashboard_result_id': 16018552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27489564_04-10-2025_05_53_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27489601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27489602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27489603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27489604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27489605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27489606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27489607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27489608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27489609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27489610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27489611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27489612, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27489825, 'dashboard_result_id': 16018553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27489825_04-10-2025_05_54_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27489867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27489868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27489869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27489870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27489871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27489872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27489873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27489874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27489875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27489876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27489877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27489878, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27490309, 'dashboard_result_id': 16018554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490309_04-10-2025_05_54_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27490348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27490349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27490350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27490351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27490352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27490353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27490354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27490355, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27490356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27490357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27490358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27490359, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27490848, 'dashboard_result_id': 16018555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490848_04-10-2025_05_55_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27490859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27490860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27490861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27490862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27490863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27490864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27490865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27490866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27490867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27490868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27490869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27490870, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27491438, 'dashboard_result_id': 16018556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491438_04-10-2025_05_55_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27491450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27491451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27491452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27491453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27491454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27491455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27491456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27491457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27491458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27491459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27491460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27491461, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27491930, 'dashboard_result_id': 16018557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491930_04-10-2025_05_56_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27491993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27491994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27491995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27491996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27491997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27491998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27491999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27492000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27492001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27492002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27492003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27492004, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27492533, 'dashboard_result_id': 16018558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27492533_04-10-2025_05_56_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27492600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27492601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27492602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27492603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27492604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27492605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27492606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27492607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27492608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27492609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27492611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27492612, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27493243, 'dashboard_result_id': 16018559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493243_04-10-2025_05_56_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27493261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27493262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27493263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27493264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27493265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27493266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27493267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27493268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27493269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27493270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27493271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27493272, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27493854, 'dashboard_result_id': 16018560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493854_04-10-2025_05_57_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27493906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27493907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27493908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27493909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27493910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27493911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27493912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27493913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27493915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27493916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27493917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27493918, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27494625, 'dashboard_result_id': 16018561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27494625_04-10-2025_05_57_40.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27494637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27494638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27494639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27494640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27494641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27494642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27494643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27494644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27494645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27494646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27494647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27494648, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27495146, 'dashboard_result_id': 16018562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27495146_04-10-2025_05_58_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27495178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27495179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27495180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27495181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27495182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27495183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27495184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27495185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27495186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27495187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27495188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27495189, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27495873, 'dashboard_result_id': 16018563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27495873_04-10-2025_05_58_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27495910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27495911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27495912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27495913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27495914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27495915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27495916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27495917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27495918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27495919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27495920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27495921, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27496390, 'dashboard_result_id': 16018564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27496390_04-10-2025_05_59_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27496423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27496424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27496425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27496426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27496427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27496428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27496429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27496430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27496431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27496432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27496433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27496434, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27496981, 'dashboard_result_id': 16018565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27496981_04-10-2025_06_00_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27497030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27497031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27497032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27497033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27497034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27497035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27497036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27497037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27497038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27497039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27497040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27497041, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27497878, 'dashboard_result_id': 16018566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497878_04-10-2025_06_00_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27497884, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27497885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27497886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27497887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27497888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27497889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27497890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27497891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27497892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27497893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27497894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27497895, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27498529, 'dashboard_result_id': 16018567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498529_04-10-2025_06_01_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27498536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27498537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27498538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27498539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27498540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27498541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27498542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27498543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27498544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27498545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27498546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27498547, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27498848, 'dashboard_result_id': 16018568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498848_04-10-2025_06_01_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27498882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27498883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27498884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27498885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27498886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27498887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27498888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27498889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27498890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27498891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27498892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27498893, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27499115, 'dashboard_result_id': 16018569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499115_04-10-2025_06_02_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27499155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499162, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27499507, 'dashboard_result_id': 16018570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499507_04-10-2025_06_02_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27499517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499526, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27499829, 'dashboard_result_id': 16018571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499829_04-10-2025_06_03_08.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27499879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499889, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499890, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27500341, 'dashboard_result_id': 16018572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500341_04-10-2025_06_03_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27500366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27500367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27500380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27500381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27500383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27500384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27500385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27500386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27500387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27500388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27500389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27500390, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27500820, 'dashboard_result_id': 16018573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500820_04-10-2025_06_04_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27500864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27500865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27500866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27500867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27500868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27500869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27500870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27500871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27500872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27500873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27500874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27500875, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27501189, 'dashboard_result_id': 16018574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501189_04-10-2025_06_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501212, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27501488, 'dashboard_result_id': 16018575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501488_04-10-2025_06_05_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501532, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27501928, 'dashboard_result_id': 16018576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501928_03-10-2025_20_35_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501952, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27502478, 'dashboard_result_id': 16018577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27502478_03-10-2025_21_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27502490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27502491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27502492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27502493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27502494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27502495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27502496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27502497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27502498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27502499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27502509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27502513, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27503315, 'dashboard_result_id': 16018578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503315_03-10-2025_21_19_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503347, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27503619, 'dashboard_result_id': 16018579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503619_03-10-2025_21_35_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503663, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27503955, 'dashboard_result_id': 16018580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503955_03-10-2025_21_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503980, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27504290, 'dashboard_result_id': 16018581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27504290_03-10-2025_22_03_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27504296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27504297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27504298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27504299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27504300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27504301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27504302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27504303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27504304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27504305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27504306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27504307, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27504724, 'dashboard_result_id': 16018582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27504724_03-10-2025_22_21_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27504737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27504738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27504739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27504740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27504741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27504742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27504743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27504744, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27504745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27504746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27504747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27504748, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27505224, 'dashboard_result_id': 16018583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27505224_03-10-2025_22_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27505236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27505237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27505238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27505239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27505240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27505241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27505242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27505243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27505244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27505245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27505246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27505247, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27505585, 'dashboard_result_id': 16018584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27505585_03-10-2025_22_47_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27505607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27505608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27505609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27505610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27505611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27505613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27505614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27505615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27505616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27505617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27505618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27505619, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27506043, 'dashboard_result_id': 16018585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27506043_03-10-2025_23_03_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27506062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27506063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27506064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27506065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27506066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27506067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27506068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27506070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27506071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27506072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27506073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27506074, 'pht': 3726}}"}, {'dashboat_entry_day': 2385431, 'dashboard_run_id': 2400549, 'mtr_portfolio_id': 27506537, 'dashboard_result_id': 16018586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27506537_04-10-2025_00_01_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27506558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27506559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27506560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27506561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27506562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27506563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27506564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27506565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27506566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27506568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27506569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27506570, '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 = 27462418 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842790, 'mtr_portfolio_id': 27462418, 'created_at': datetime.datetime(2025, 10, 4, 5, 34, 30), 'result': '0.06684738254694483', 'result_long': None, 'result_double': None}] Qualite : 0.06684738254694483 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27462418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27462418_04-10-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27462418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27462418_04-10-2025_05_34_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27462421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27462422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27462423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27462424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27462425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27462426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27462427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27462428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27462429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27462430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27462431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27462432, 'pht': 3726}}" where mtr_portfolio_id = 27462418 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27462418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018512, 0.06684738254694483, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27462418_04-10-2025_05_34_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27462421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27462422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27462423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27462424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27462425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27462426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27462427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27462428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27462429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27462430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27462431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27462432, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27462676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842791, 'mtr_portfolio_id': 27462676, 'created_at': datetime.datetime(2025, 10, 4, 5, 34, 58), 'result': '0.0524144774599461', 'result_long': None, 'result_double': None}] Qualite : 0.0524144774599461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27462676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27462676_04-10-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27462676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27462676_04-10-2025_05_35_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27462762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27462763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27462764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27462765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27462766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27462767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27462768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27462769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27462770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27462771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27462772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27462773, 'pht': 3726}}" where mtr_portfolio_id = 27462676 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27462676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018513, 0.0524144774599461, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27462676_04-10-2025_05_35_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27462762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27462763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27462764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27462765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27462766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27462767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27462768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27462769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27462770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27462771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27462772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27462773, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27463016 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842792, 'mtr_portfolio_id': 27463016, 'created_at': datetime.datetime(2025, 10, 4, 5, 35, 33), 'result': '0.0718688175243236', 'result_long': None, 'result_double': None}] Qualite : 0.0718688175243236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27463016 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463016_04-10-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463016 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463016_04-10-2025_05_35_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27463053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27463054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27463055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27463056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27463057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27463058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27463059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27463060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27463061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27463062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27463063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27463064, 'pht': 3726}}" where mtr_portfolio_id = 27463016 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27463016 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018514, 0.0718688175243236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463016_04-10-2025_05_35_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27463053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27463054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27463055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27463056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27463057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27463058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27463059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27463060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27463061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27463062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27463063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27463064, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27464289 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842793, 'mtr_portfolio_id': 27464289, 'created_at': datetime.datetime(2025, 10, 4, 5, 36, 2), 'result': '0.05329844582668646', 'result_long': None, 'result_double': None}] Qualite : 0.05329844582668646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27464289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464289_04-10-2025_05_36_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27464289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464289_04-10-2025_05_36_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27464296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464302, 'pht': 3726}}" where mtr_portfolio_id = 27464289 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27464289 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018515, 0.05329844582668646, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464289_04-10-2025_05_36_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27464296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464302, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27464603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842794, 'mtr_portfolio_id': 27464603, 'created_at': datetime.datetime(2025, 10, 4, 5, 36, 4), 'result': '0.0674867105546751', 'result_long': None, 'result_double': None}] Qualite : 0.0674867105546751 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27464603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464603_04-10-2025_05_36_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27464603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464603_04-10-2025_05_36_08.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27464636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464647, 'pht': 3726}}" where mtr_portfolio_id = 27464603 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27464603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018516, 0.0674867105546751, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464603_04-10-2025_05_36_08.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27464636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464647, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27464951 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842795, 'mtr_portfolio_id': 27464951, 'created_at': datetime.datetime(2025, 10, 4, 5, 36, 39), 'result': '0.07626024060775823', 'result_long': None, 'result_double': None}] Qualite : 0.07626024060775823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27464951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464951_04-10-2025_05_36_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27464951 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464951_04-10-2025_05_36_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27464961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464970, 'pht': 3726}}" where mtr_portfolio_id = 27464951 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27464951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018517, 0.07626024060775823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27464951_04-10-2025_05_36_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27464959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27464960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27464961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27464962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27464963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27464964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27464965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27464966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27464967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27464968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27464969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27464970, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27465533 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842796, 'mtr_portfolio_id': 27465533, 'created_at': datetime.datetime(2025, 10, 4, 5, 37, 30), 'result': '0.06011518696100578', 'result_long': None, 'result_double': None}] Qualite : 0.06011518696100578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27465533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27465533_04-10-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27465533 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27465533_04-10-2025_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27465546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27465547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27465548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27465549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27465550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27465551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27465552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27465553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27465554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27465555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27465556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27465557, 'pht': 3726}}" where mtr_portfolio_id = 27465533 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27465533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018518, 0.06011518696100578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27465533_04-10-2025_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27465546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27465547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27465548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27465549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27465550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27465551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27465552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27465553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27465554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27465555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27465556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27465557, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27465946 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842797, 'mtr_portfolio_id': 27465946, 'created_at': datetime.datetime(2025, 10, 4, 5, 38), 'result': '0.054110951987980424', 'result_long': None, 'result_double': None}] Qualite : 0.054110951987980424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27465946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27465946_04-10-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27465946 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27465946_04-10-2025_05_38_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27466004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27466005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27466006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27466007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27466008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27466009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27466010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27466011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27466013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27466014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27466015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27466016, 'pht': 3726}}" where mtr_portfolio_id = 27465946 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27465946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018519, 0.054110951987980424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27465946_04-10-2025_05_38_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27466004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27466005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27466006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27466007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27466008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27466009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27466010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27466011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27466013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27466014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27466015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27466016, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27466489 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842798, 'mtr_portfolio_id': 27466489, 'created_at': datetime.datetime(2025, 10, 4, 5, 38, 32), 'result': '0.05060464206616287', 'result_long': None, 'result_double': None}] Qualite : 0.05060464206616287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27466489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27466489_04-10-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27466489 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27466489_04-10-2025_05_38_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27466535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27466536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27466537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27466538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27466539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27466540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27466541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27466542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27466543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27466544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27466545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27466546, 'pht': 3726}}" where mtr_portfolio_id = 27466489 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27466489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018520, 0.05060464206616287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27466489_04-10-2025_05_38_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27466535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27466536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27466537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27466538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27466539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27466540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27466541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27466542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27466543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27466544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27466545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27466546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27466980 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842799, 'mtr_portfolio_id': 27466980, 'created_at': datetime.datetime(2025, 10, 4, 5, 39, 1), 'result': '0.04597371630206088', 'result_long': None, 'result_double': None}] Qualite : 0.04597371630206088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27466980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27466980_04-10-2025_05_39_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27466980 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27466980_04-10-2025_05_39_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27467024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27467025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27467026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27467027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27467028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27467029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27467030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27467031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27467032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27467034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27467035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27467036, 'pht': 3726}}" where mtr_portfolio_id = 27466980 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27466980 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018521, 0.04597371630206088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27466980_04-10-2025_05_39_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27467024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27467025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27467026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27467027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27467028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27467029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27467030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27467031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27467032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27467034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27467035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27467036, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27467590 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842800, 'mtr_portfolio_id': 27467590, 'created_at': datetime.datetime(2025, 10, 4, 5, 39, 35), 'result': '0.05934147208596089', 'result_long': None, 'result_double': None}] Qualite : 0.05934147208596089 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27467590 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27467590_04-10-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27467590 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27467590_04-10-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27467611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27467612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27467613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27467614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27467616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27467617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27467618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27467619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27467620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27467621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27467622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27467623, 'pht': 3726}}" where mtr_portfolio_id = 27467590 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27467590 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018522, 0.05934147208596089, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27467590_04-10-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27467611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27467612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27467613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27467614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27467616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27467617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27467618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27467619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27467620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27467621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27467622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27467623, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27468047 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842801, 'mtr_portfolio_id': 27468047, 'created_at': datetime.datetime(2025, 10, 4, 5, 40, 5), 'result': '0.03014256518099461', 'result_long': None, 'result_double': None}] Qualite : 0.03014256518099461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27468047 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468047_04-10-2025_05_40_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27468047 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468047_04-10-2025_05_40_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27468057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27468058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27468059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27468061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27468062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27468063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27468064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27468065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27468066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27468067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27468068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27468069, 'pht': 3726}}" where mtr_portfolio_id = 27468047 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27468047 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018523, 0.03014256518099461, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468047_04-10-2025_05_40_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27468057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27468058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27468059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27468061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27468062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27468063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27468064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27468065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27468066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27468067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27468068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27468069, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27468479 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842802, 'mtr_portfolio_id': 27468479, 'created_at': datetime.datetime(2025, 10, 4, 5, 40, 33), 'result': '0.039116717362708504', 'result_long': None, 'result_double': None}] Qualite : 0.039116717362708504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27468479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468479_04-10-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27468479 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468479_04-10-2025_05_40_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27468489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27468490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27468491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27468492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27468493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27468495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27468497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27468498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27468499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27468500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27468501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27468502, 'pht': 3726}}" where mtr_portfolio_id = 27468479 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27468479 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018524, 0.039116717362708504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468479_04-10-2025_05_40_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27468489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27468490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27468491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27468492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27468493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27468495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27468497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27468498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27468499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27468500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27468501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27468502, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27468969 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842803, 'mtr_portfolio_id': 27468969, 'created_at': datetime.datetime(2025, 10, 4, 5, 41, 4), 'result': '0.049435385893409255', 'result_long': None, 'result_double': None}] Qualite : 0.049435385893409255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27468969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468969_04-10-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27468969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468969_04-10-2025_05_41_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27469013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27469014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27469015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27469016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27469017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27469018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27469019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27469020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27469021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27469023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27469024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27469025, 'pht': 3726}}" where mtr_portfolio_id = 27468969 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27468969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018525, 0.049435385893409255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27468969_04-10-2025_05_41_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27469013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27469014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27469015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27469016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27469017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27469018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27469019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27469020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27469021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27469023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27469024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27469025, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27470361 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842804, 'mtr_portfolio_id': 27470361, 'created_at': datetime.datetime(2025, 10, 4, 5, 41, 28), 'result': '0.03312746662723135', 'result_long': None, 'result_double': None}] Qualite : 0.03312746662723135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27470361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470361_04-10-2025_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27470361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470361_04-10-2025_05_41_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27470363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470374, 'pht': 3726}}" where mtr_portfolio_id = 27470361 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27470361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018526, 0.03312746662723135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470361_04-10-2025_05_41_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27470363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27470593 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842805, 'mtr_portfolio_id': 27470593, 'created_at': datetime.datetime(2025, 10, 4, 5, 41, 59), 'result': '0.08628121379075822', 'result_long': None, 'result_double': None}] Qualite : 0.08628121379075822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27470593 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470593_04-10-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27470593 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470593_04-10-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27470607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470609, 'pht': 3726}}" where mtr_portfolio_id = 27470593 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27470593 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018527, 0.08628121379075822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470593_04-10-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27470607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470609, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27470835 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842806, 'mtr_portfolio_id': 27470835, 'created_at': datetime.datetime(2025, 10, 4, 5, 42, 34), 'result': '0.05837883518965677', 'result_long': None, 'result_double': None}] Qualite : 0.05837883518965677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27470835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470835_04-10-2025_05_42_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27470835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470835_04-10-2025_05_42_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27470851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470853, 'pht': 3726}}" where mtr_portfolio_id = 27470835 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27470835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018528, 0.05837883518965677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27470835_04-10-2025_05_42_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27470842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27470843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27470844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27470845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27470846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27470847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27470848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27470849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27470850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27470851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27470852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27470853, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27471112 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842807, 'mtr_portfolio_id': 27471112, 'created_at': datetime.datetime(2025, 10, 4, 5, 43), 'result': '0.04987741924955064', 'result_long': None, 'result_double': None}] Qualite : 0.04987741924955064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27471112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471112_04-10-2025_05_43_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27471112 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471112_04-10-2025_05_43_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27471125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471148, 'pht': 3726}}" where mtr_portfolio_id = 27471112 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27471112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018529, 0.04987741924955064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471112_04-10-2025_05_43_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27471125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471145, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471148, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27471429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842808, 'mtr_portfolio_id': 27471429, 'created_at': datetime.datetime(2025, 10, 4, 5, 43, 32), 'result': '0.05111872444652362', 'result_long': None, 'result_double': None}] Qualite : 0.05111872444652362 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27471429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471429_04-10-2025_05_43_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27471429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471429_04-10-2025_05_43_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27471436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471446, 'pht': 3726}}" where mtr_portfolio_id = 27471429 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27471429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018530, 0.05111872444652362, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471429_04-10-2025_05_43_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27471436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27471962 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842809, 'mtr_portfolio_id': 27471962, 'created_at': datetime.datetime(2025, 10, 4, 5, 44), 'result': '0.04116253526925244', 'result_long': None, 'result_double': None}] Qualite : 0.04116253526925244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27471962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471962_04-10-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27471962 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471962_04-10-2025_05_44_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27471990, 'pht': 3726}}" where mtr_portfolio_id = 27471962 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27471962 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018531, 0.04116253526925244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27471962_04-10-2025_05_44_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27471979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27471980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27471981, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27471982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27471983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27471984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27471985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27471986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27471987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27471988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27471989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27471990, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27472372 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842810, 'mtr_portfolio_id': 27472372, 'created_at': datetime.datetime(2025, 10, 4, 5, 44, 30), 'result': '0.05621648375290006', 'result_long': None, 'result_double': None}] Qualite : 0.05621648375290006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27472372 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27472372_04-10-2025_05_44_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27472372 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27472372_04-10-2025_05_44_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27472396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27472397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27472398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27472399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27472400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27472401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27472402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27472404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27472405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27472406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27472407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27472408, 'pht': 3726}}" where mtr_portfolio_id = 27472372 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27472372 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018532, 0.05621648375290006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27472372_04-10-2025_05_44_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27472396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27472397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27472398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27472399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27472400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27472401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27472402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27472404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27472405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27472406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27472407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27472408, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27472875 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842811, 'mtr_portfolio_id': 27472875, 'created_at': datetime.datetime(2025, 10, 4, 5, 45, 2), 'result': '0.05458227264229567', 'result_long': None, 'result_double': None}] Qualite : 0.05458227264229567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27472875 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27472875_04-10-2025_05_45_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27472875 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27472875_04-10-2025_05_45_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27472898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27472899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27472900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27472901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27472902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27472903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27472904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27472905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27472906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27472907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27472908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27472909, 'pht': 3726}}" where mtr_portfolio_id = 27472875 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27472875 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018533, 0.05458227264229567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27472875_04-10-2025_05_45_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27472898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27472899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27472900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27472901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27472902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27472903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27472904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27472905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27472906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27472907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27472908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27472909, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27473429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842812, 'mtr_portfolio_id': 27473429, 'created_at': datetime.datetime(2025, 10, 4, 5, 45, 30), 'result': '0.06343098283527461', 'result_long': None, 'result_double': None}] Qualite : 0.06343098283527461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27473429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27473429_04-10-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27473429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27473429_04-10-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27473486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27473487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27473488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27473489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27473490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27473491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27473493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27473494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27473495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27473496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27473497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27473498, 'pht': 3726}}" where mtr_portfolio_id = 27473429 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27473429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018534, 0.06343098283527461, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27473429_04-10-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27473486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27473487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27473488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27473489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27473490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27473491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27473493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27473494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27473495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27473496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27473497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27473498, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27474194 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842813, 'mtr_portfolio_id': 27474194, 'created_at': datetime.datetime(2025, 10, 4, 5, 45, 59), 'result': '0.047979813005689945', 'result_long': None, 'result_double': None}] Qualite : 0.047979813005689945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27474194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27474194_04-10-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27474194 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27474194_04-10-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27474240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27474241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27474242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27474243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27474244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27474245, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27474247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27474248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27474249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27474250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27474251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27474252, 'pht': 3726}}" where mtr_portfolio_id = 27474194 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27474194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018535, 0.047979813005689945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27474194_04-10-2025_05_46_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27474240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27474241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27474242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27474243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27474244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27474245, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27474247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27474248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27474249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27474250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27474251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27474252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27475041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842814, 'mtr_portfolio_id': 27475041, 'created_at': datetime.datetime(2025, 10, 4, 5, 46, 5), 'result': '0.04548855664827555', 'result_long': None, 'result_double': None}] Qualite : 0.04548855664827555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27475041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27475041_04-10-2025_05_46_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27475041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27475041_04-10-2025_05_46_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27475052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27475053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27475054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27475055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27475056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27475057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27475058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27475059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27475061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27475062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27475063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27475064, 'pht': 3726}}" where mtr_portfolio_id = 27475041 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27475041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018536, 0.04548855664827555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27475041_04-10-2025_05_46_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27475052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27475053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27475054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27475055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27475056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27475057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27475058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27475059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27475061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27475062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27475063, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27475064, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27475805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842815, 'mtr_portfolio_id': 27475805, 'created_at': datetime.datetime(2025, 10, 4, 5, 46, 32), 'result': '0.04369523349305416', 'result_long': None, 'result_double': None}] Qualite : 0.04369523349305416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27475805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27475805_04-10-2025_05_46_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27475805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27475805_04-10-2025_05_46_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27475817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27475818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27475819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27475820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27475821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27475822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27475823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27475825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27475826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27475827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27475828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27475829, 'pht': 3726}}" where mtr_portfolio_id = 27475805 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27475805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018537, 0.04369523349305416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27475805_04-10-2025_05_46_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27475817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27475818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27475819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27475820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27475821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27475822, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27475823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27475825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27475826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27475827, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27475828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27475829, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27476483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842816, 'mtr_portfolio_id': 27476483, 'created_at': datetime.datetime(2025, 10, 4, 5, 47, 1), 'result': '0.03077723655821032', 'result_long': None, 'result_double': None}] Qualite : 0.03077723655821032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27476483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476483_04-10-2025_05_47_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27476483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476483_04-10-2025_05_47_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27476526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27476527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27476528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27476529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27476530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27476531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27476532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27476533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27476534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27476535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27476536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27476537, 'pht': 3726}}" where mtr_portfolio_id = 27476483 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27476483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018538, 0.03077723655821032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27476483_04-10-2025_05_47_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27476526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27476527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27476528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27476529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27476530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27476531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27476532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27476533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27476534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27476535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27476536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27476537, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27477333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842817, 'mtr_portfolio_id': 27477333, 'created_at': datetime.datetime(2025, 10, 4, 5, 47, 29), 'result': '0.03472942142146142', 'result_long': None, 'result_double': None}] Qualite : 0.03472942142146142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27477333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27477333_04-10-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27477333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27477333_04-10-2025_05_47_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27477393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27477394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27477395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27477396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27477398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27477399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27477400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27477401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27477402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27477403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27477404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27477405, 'pht': 3726}}" where mtr_portfolio_id = 27477333 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27477333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018539, 0.03472942142146142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27477333_04-10-2025_05_47_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27477393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27477394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27477395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27477396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27477398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27477399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27477400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27477401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27477402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27477403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27477404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27477405, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27478030 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842818, 'mtr_portfolio_id': 27478030, 'created_at': datetime.datetime(2025, 10, 4, 5, 47, 59), 'result': '0.03426041572312534', 'result_long': None, 'result_double': None}] Qualite : 0.03426041572312534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27478030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478030_04-10-2025_05_48_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27478030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478030_04-10-2025_05_48_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27478052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27478053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27478054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27478055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27478056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27478057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27478058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27478059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27478060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27478061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27478062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27478063, 'pht': 3726}}" where mtr_portfolio_id = 27478030 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27478030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018540, 0.03426041572312534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478030_04-10-2025_05_48_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27478052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27478053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27478054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27478055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27478056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27478057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27478058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27478059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27478060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27478061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27478062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27478063, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27478808 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842819, 'mtr_portfolio_id': 27478808, 'created_at': datetime.datetime(2025, 10, 4, 5, 48, 36), 'result': '0.0353337632860633', 'result_long': None, 'result_double': None}] Qualite : 0.0353337632860633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27478808 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478808_04-10-2025_05_48_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27478808 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478808_04-10-2025_05_48_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27478860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27478861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27478862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27478863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27478864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27478865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27478866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27478872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27478880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27478881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27478882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27478883, 'pht': 3726}}" where mtr_portfolio_id = 27478808 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27478808 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018541, 0.0353337632860633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27478808_04-10-2025_05_48_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27478860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27478861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27478862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27478863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27478864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27478865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27478866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27478872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27478880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27478881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27478882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27478883, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27481050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842820, 'mtr_portfolio_id': 27481050, 'created_at': datetime.datetime(2025, 10, 4, 5, 49, 3), 'result': '0.0503872388098419', 'result_long': None, 'result_double': None}] Qualite : 0.0503872388098419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27481050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481050_04-10-2025_05_49_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27481050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481050_04-10-2025_05_49_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481067, 'pht': 3726}}" where mtr_portfolio_id = 27481050 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27481050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018542, 0.0503872388098419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481050_04-10-2025_05_49_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481067, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27481381 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842821, 'mtr_portfolio_id': 27481381, 'created_at': datetime.datetime(2025, 10, 4, 5, 49, 31), 'result': '0.03768889029941065', 'result_long': None, 'result_double': None}] Qualite : 0.03768889029941065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27481381 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481381_04-10-2025_05_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27481381 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481381_04-10-2025_05_49_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481387, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481397, 'pht': 3726}}" where mtr_portfolio_id = 27481381 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27481381 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018543, 0.03768889029941065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481381_04-10-2025_05_49_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481387, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481394, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481397, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27481867 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842822, 'mtr_portfolio_id': 27481867, 'created_at': datetime.datetime(2025, 10, 4, 5, 50, 5), 'result': '0.04923741175802686', 'result_long': None, 'result_double': None}] Qualite : 0.04923741175802686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27481867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481867_04-10-2025_05_50_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27481867 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481867_04-10-2025_05_50_17.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481904, 'pht': 3726}}" where mtr_portfolio_id = 27481867 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27481867 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018544, 0.04923741175802686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27481867_04-10-2025_05_50_17.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27481880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27481881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27481882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27481883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27481884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27481885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27481886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27481887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27481896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27481901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27481902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27481904, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27482504 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842823, 'mtr_portfolio_id': 27482504, 'created_at': datetime.datetime(2025, 10, 4, 5, 50, 30), 'result': '0.055224219020707434', 'result_long': None, 'result_double': None}] Qualite : 0.055224219020707434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27482504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27482504_04-10-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27482504 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27482504_04-10-2025_05_50_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27482524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27482525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27482526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27482527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27482528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27482529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27482530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27482531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27482532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27482533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27482534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27482535, 'pht': 3726}}" where mtr_portfolio_id = 27482504 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27482504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018545, 0.055224219020707434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27482504_04-10-2025_05_50_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27482524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27482525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27482526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27482527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27482528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27482529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27482530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27482531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27482532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27482533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27482534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27482535, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27483111 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842824, 'mtr_portfolio_id': 27483111, 'created_at': datetime.datetime(2025, 10, 4, 5, 50, 59), 'result': '0.05304064852137204', 'result_long': None, 'result_double': None}] Qualite : 0.05304064852137204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27483111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27483111_04-10-2025_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27483111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27483111_04-10-2025_05_51_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27483135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27483136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27483137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27483138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27483139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27483140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27483141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27483142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27483143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27483144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27483145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27483146, 'pht': 3726}}" where mtr_portfolio_id = 27483111 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27483111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018546, 0.05304064852137204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27483111_04-10-2025_05_51_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27483135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27483136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27483137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27483138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27483139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27483140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27483141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27483142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27483143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27483144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27483145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27483146, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27483691 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842825, 'mtr_portfolio_id': 27483691, 'created_at': datetime.datetime(2025, 10, 4, 5, 51, 6), 'result': '0.028650948847149124', 'result_long': None, 'result_double': None}] Qualite : 0.028650948847149124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27483691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27483691_04-10-2025_05_51_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27483691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27483691_04-10-2025_05_51_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27483729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27483730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27483731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27483732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27483733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27483734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27483735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27483736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27483737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27483738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27483739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27483740, 'pht': 3726}}" where mtr_portfolio_id = 27483691 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27483691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018547, 0.028650948847149124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27483691_04-10-2025_05_51_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27483729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27483730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27483731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27483732, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27483733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27483734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27483735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27483736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27483737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27483738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27483739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27483740, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27484287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842826, 'mtr_portfolio_id': 27484287, 'created_at': datetime.datetime(2025, 10, 4, 5, 51, 34), 'result': '0.05159406058719954', 'result_long': None, 'result_double': None}] Qualite : 0.05159406058719954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27484287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27484287_04-10-2025_05_51_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27484287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27484287_04-10-2025_05_51_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27484308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27484309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27484310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27484311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27484312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27484313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27484314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27484315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27484316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27484317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27484318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27484319, 'pht': 3726}}" where mtr_portfolio_id = 27484287 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27484287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018548, 0.05159406058719954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27484287_04-10-2025_05_51_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27484308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27484309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27484310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27484311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27484312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27484313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27484314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27484315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27484316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27484317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27484318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27484319, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27485107 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842827, 'mtr_portfolio_id': 27485107, 'created_at': datetime.datetime(2025, 10, 4, 5, 52, 1), 'result': '0.052274291027025244', 'result_long': None, 'result_double': None}] Qualite : 0.052274291027025244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27485107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485107_04-10-2025_05_52_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27485107 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485107_04-10-2025_05_52_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27485118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27485119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27485121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27485122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27485123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27485124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27485125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27485126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27485127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27485128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27485129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27485130, 'pht': 3726}}" where mtr_portfolio_id = 27485107 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27485107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018549, 0.052274291027025244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27485107_04-10-2025_05_52_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27485118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27485119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27485121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27485122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27485123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27485124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27485125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27485126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27485127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27485128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27485129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27485130, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27486477 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842828, 'mtr_portfolio_id': 27486477, 'created_at': datetime.datetime(2025, 10, 4, 5, 52, 35), 'result': '0.04670997001391435', 'result_long': None, 'result_double': None}] Qualite : 0.04670997001391435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27486477 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27486477_04-10-2025_05_52_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27486477 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27486477_04-10-2025_05_52_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27486483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27486484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27486485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27486486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27486487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27486488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27486489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27486490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27486491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27486492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27486493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27486494, 'pht': 3726}}" where mtr_portfolio_id = 27486477 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27486477 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018550, 0.04670997001391435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27486477_04-10-2025_05_52_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27486483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27486484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27486485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27486486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27486487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27486488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27486489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27486490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27486491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27486492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27486493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27486494, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27486687 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842829, 'mtr_portfolio_id': 27486687, 'created_at': datetime.datetime(2025, 10, 4, 5, 53, 2), 'result': '0.032622619435027124', 'result_long': None, 'result_double': None}] Qualite : 0.032622619435027124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27486687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27486687_04-10-2025_05_53_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27486687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27486687_04-10-2025_05_53_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27486705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27486706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27486707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27486708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27486709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27486710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27486711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27486712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27486713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27486714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27486715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27486716, 'pht': 3726}}" where mtr_portfolio_id = 27486687 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27486687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018551, 0.032622619435027124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27486687_04-10-2025_05_53_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27486705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27486706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27486707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27486708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27486709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27486710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27486711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27486712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27486713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27486714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27486715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27486716, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27489564 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842830, 'mtr_portfolio_id': 27489564, 'created_at': datetime.datetime(2025, 10, 4, 5, 53, 33), 'result': '0.04047240700472798', 'result_long': None, 'result_double': None}] Qualite : 0.04047240700472798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27489564 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27489564_04-10-2025_05_53_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27489564 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27489564_04-10-2025_05_53_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27489601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27489602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27489603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27489604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27489605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27489606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27489607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27489608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27489609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27489610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27489611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27489612, 'pht': 3726}}" where mtr_portfolio_id = 27489564 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27489564 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018552, 0.04047240700472798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27489564_04-10-2025_05_53_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27489601, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27489602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27489603, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27489604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27489605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27489606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27489607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27489608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27489609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27489610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27489611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27489612, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27489825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842831, 'mtr_portfolio_id': 27489825, 'created_at': datetime.datetime(2025, 10, 4, 5, 54, 2), 'result': '0.052579057061449816', 'result_long': None, 'result_double': None}] Qualite : 0.052579057061449816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27489825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27489825_04-10-2025_05_54_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27489825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27489825_04-10-2025_05_54_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27489867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27489868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27489869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27489870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27489871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27489872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27489873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27489874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27489875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27489876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27489877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27489878, 'pht': 3726}}" where mtr_portfolio_id = 27489825 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27489825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018553, 0.052579057061449816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27489825_04-10-2025_05_54_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27489867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27489868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27489869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27489870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27489871, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27489872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27489873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27489874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27489875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27489876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27489877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27489878, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27490309 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842832, 'mtr_portfolio_id': 27490309, 'created_at': datetime.datetime(2025, 10, 4, 5, 54, 31), 'result': '0.06799859296997762', 'result_long': None, 'result_double': None}] Qualite : 0.06799859296997762 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27490309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490309_04-10-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27490309 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490309_04-10-2025_05_54_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27490348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27490349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27490350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27490351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27490352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27490353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27490354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27490355, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27490356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27490357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27490358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27490359, 'pht': 3726}}" where mtr_portfolio_id = 27490309 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27490309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018554, 0.06799859296997762, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490309_04-10-2025_05_54_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27490348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27490349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27490350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27490351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27490352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27490353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27490354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27490355, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27490356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27490357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27490358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27490359, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27490848 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842833, 'mtr_portfolio_id': 27490848, 'created_at': datetime.datetime(2025, 10, 4, 5, 55, 3), 'result': '0.03179275415641062', 'result_long': None, 'result_double': None}] Qualite : 0.03179275415641062 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27490848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490848_04-10-2025_05_55_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27490848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490848_04-10-2025_05_55_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27490859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27490860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27490861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27490862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27490863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27490864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27490865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27490866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27490867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27490868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27490869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27490870, 'pht': 3726}}" where mtr_portfolio_id = 27490848 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27490848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018555, 0.03179275415641062, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27490848_04-10-2025_05_55_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27490859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27490860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27490861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27490862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27490863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27490864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27490865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27490866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27490867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27490868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27490869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27490870, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27491438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842834, 'mtr_portfolio_id': 27491438, 'created_at': datetime.datetime(2025, 10, 4, 5, 55, 30), 'result': '0.04383938505034369', 'result_long': None, 'result_double': None}] Qualite : 0.04383938505034369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27491438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491438_04-10-2025_05_55_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27491438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491438_04-10-2025_05_55_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27491450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27491451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27491452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27491453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27491454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27491455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27491456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27491457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27491458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27491459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27491460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27491461, 'pht': 3726}}" where mtr_portfolio_id = 27491438 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27491438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018556, 0.04383938505034369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491438_04-10-2025_05_55_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27491450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27491451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27491452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27491453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27491454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27491455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27491456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27491457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27491458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27491459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27491460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27491461, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27491930 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842835, 'mtr_portfolio_id': 27491930, 'created_at': datetime.datetime(2025, 10, 4, 5, 56, 2), 'result': '0.06045354900437405', 'result_long': None, 'result_double': None}] Qualite : 0.06045354900437405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27491930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491930_04-10-2025_05_56_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27491930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491930_04-10-2025_05_56_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27491993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27491994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27491995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27491996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27491997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27491998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27491999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27492000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27492001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27492002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27492003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27492004, 'pht': 3726}}" where mtr_portfolio_id = 27491930 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27491930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018557, 0.06045354900437405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27491930_04-10-2025_05_56_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27491993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27491994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27491995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27491996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27491997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27491998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27491999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27492000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27492001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27492002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27492003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27492004, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27492533 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842836, 'mtr_portfolio_id': 27492533, 'created_at': datetime.datetime(2025, 10, 4, 5, 56, 6), 'result': '0.029398847908637636', 'result_long': None, 'result_double': None}] Qualite : 0.029398847908637636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27492533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27492533_04-10-2025_05_56_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27492533 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27492533_04-10-2025_05_56_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27492600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27492601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27492602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27492603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27492604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27492605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27492606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27492607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27492608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27492609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27492611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27492612, 'pht': 3726}}" where mtr_portfolio_id = 27492533 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27492533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018558, 0.029398847908637636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27492533_04-10-2025_05_56_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27492600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27492601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27492602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27492603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27492604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27492605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27492606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27492607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27492608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27492609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27492611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27492612, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27493243 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842837, 'mtr_portfolio_id': 27493243, 'created_at': datetime.datetime(2025, 10, 4, 5, 56, 34), 'result': '0.05536199428985295', 'result_long': None, 'result_double': None}] Qualite : 0.05536199428985295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27493243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493243_04-10-2025_05_56_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27493243 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493243_04-10-2025_05_56_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27493261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27493262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27493263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27493264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27493265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27493266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27493267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27493268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27493269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27493270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27493271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27493272, 'pht': 3726}}" where mtr_portfolio_id = 27493243 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27493243 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018559, 0.05536199428985295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493243_04-10-2025_05_56_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27493261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27493262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27493263, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27493264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27493265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27493266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27493267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27493268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27493269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27493270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27493271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27493272, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27493854 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842838, 'mtr_portfolio_id': 27493854, 'created_at': datetime.datetime(2025, 10, 4, 5, 57), 'result': '0.05235277873493699', 'result_long': None, 'result_double': None}] Qualite : 0.05235277873493699 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27493854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493854_04-10-2025_05_57_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27493854 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493854_04-10-2025_05_57_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27493906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27493907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27493908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27493909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27493910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27493911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27493912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27493913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27493915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27493916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27493917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27493918, 'pht': 3726}}" where mtr_portfolio_id = 27493854 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27493854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018560, 0.05235277873493699, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27493854_04-10-2025_05_57_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27493906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27493907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27493908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27493909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27493910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27493911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27493912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27493913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27493915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27493916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27493917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27493918, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27494625 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842839, 'mtr_portfolio_id': 27494625, 'created_at': datetime.datetime(2025, 10, 4, 5, 57, 35), 'result': '0.042875369278124735', 'result_long': None, 'result_double': None}] Qualite : 0.042875369278124735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27494625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27494625_04-10-2025_05_57_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27494625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27494625_04-10-2025_05_57_40.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27494637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27494638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27494639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27494640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27494641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27494642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27494643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27494644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27494645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27494646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27494647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27494648, 'pht': 3726}}" where mtr_portfolio_id = 27494625 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27494625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018561, 0.042875369278124735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27494625_04-10-2025_05_57_40.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27494637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27494638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27494639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27494640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27494641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27494642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27494643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27494644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27494645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27494646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27494647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27494648, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27495146 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842840, 'mtr_portfolio_id': 27495146, 'created_at': datetime.datetime(2025, 10, 4, 5, 58), 'result': '0.057879998775008046', 'result_long': None, 'result_double': None}] Qualite : 0.057879998775008046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27495146 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27495146_04-10-2025_05_58_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27495146 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27495146_04-10-2025_05_58_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27495178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27495179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27495180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27495181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27495182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27495183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27495184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27495185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27495186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27495187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27495188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27495189, 'pht': 3726}}" where mtr_portfolio_id = 27495146 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27495146 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018562, 0.057879998775008046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27495146_04-10-2025_05_58_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27495178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27495179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27495180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27495181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27495182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27495183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27495184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27495185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27495186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27495187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27495188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27495189, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27495873 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842841, 'mtr_portfolio_id': 27495873, 'created_at': datetime.datetime(2025, 10, 4, 5, 58, 31), 'result': '0.06128229693134151', 'result_long': None, 'result_double': None}] Qualite : 0.06128229693134151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27495873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27495873_04-10-2025_05_58_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27495873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27495873_04-10-2025_05_58_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27495910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27495911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27495912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27495913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27495914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27495915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27495916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27495917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27495918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27495919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27495920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27495921, 'pht': 3726}}" where mtr_portfolio_id = 27495873 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27495873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018563, 0.06128229693134151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27495873_04-10-2025_05_58_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27495910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27495911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27495912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27495913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27495914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27495915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27495916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27495917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27495918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27495919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27495920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27495921, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27496390 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842842, 'mtr_portfolio_id': 27496390, 'created_at': datetime.datetime(2025, 10, 4, 5, 59, 34), 'result': '0.04516683177734328', 'result_long': None, 'result_double': None}] Qualite : 0.04516683177734328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27496390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27496390_04-10-2025_05_59_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27496390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27496390_04-10-2025_05_59_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27496423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27496424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27496425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27496426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27496427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27496428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27496429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27496430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27496431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27496432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27496433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27496434, 'pht': 3726}}" where mtr_portfolio_id = 27496390 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27496390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018564, 0.04516683177734328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27496390_04-10-2025_05_59_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27496423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27496424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27496425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27496426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27496427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27496428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27496429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27496430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27496431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27496432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27496433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27496434, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27496981 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842843, 'mtr_portfolio_id': 27496981, 'created_at': datetime.datetime(2025, 10, 4, 6, 0, 4), 'result': '0.06962911505805013', 'result_long': None, 'result_double': None}] Qualite : 0.06962911505805013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27496981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27496981_04-10-2025_06_00_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27496981 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27496981_04-10-2025_06_00_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27497030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27497031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27497032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27497033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27497034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27497035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27497036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27497037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27497038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27497039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27497040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27497041, 'pht': 3726}}" where mtr_portfolio_id = 27496981 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27496981 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018565, 0.06962911505805013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27496981_04-10-2025_06_00_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27497030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27497031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27497032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27497033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27497034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27497035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27497036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27497037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27497038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27497039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27497040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27497041, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27497878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842844, 'mtr_portfolio_id': 27497878, 'created_at': datetime.datetime(2025, 10, 4, 6, 0, 29), 'result': '0.07274781318155459', 'result_long': None, 'result_double': None}] Qualite : 0.07274781318155459 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27497878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497878_04-10-2025_06_00_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27497878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497878_04-10-2025_06_00_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27497884, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27497885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27497886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27497887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27497888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27497889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27497890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27497891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27497892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27497893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27497894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27497895, 'pht': 3726}}" where mtr_portfolio_id = 27497878 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27497878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018566, 0.07274781318155459, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27497878_04-10-2025_06_00_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27497884, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27497885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27497886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27497887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27497888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27497889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27497890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27497891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27497892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27497893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27497894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27497895, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27498529 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842845, 'mtr_portfolio_id': 27498529, 'created_at': datetime.datetime(2025, 10, 4, 6, 1, 3), 'result': '0.042180031924291525', 'result_long': None, 'result_double': None}] Qualite : 0.042180031924291525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27498529 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498529_04-10-2025_06_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27498529 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498529_04-10-2025_06_01_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27498536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27498537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27498538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27498539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27498540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27498541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27498542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27498543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27498544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27498545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27498546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27498547, 'pht': 3726}}" where mtr_portfolio_id = 27498529 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27498529 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018567, 0.042180031924291525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498529_04-10-2025_06_01_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27498536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27498537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27498538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27498539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27498540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27498541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27498542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27498543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27498544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27498545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27498546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27498547, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27498848 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842846, 'mtr_portfolio_id': 27498848, 'created_at': datetime.datetime(2025, 10, 4, 6, 1, 6), 'result': '0.04684244030699916', 'result_long': None, 'result_double': None}] Qualite : 0.04684244030699916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27498848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498848_04-10-2025_06_01_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27498848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498848_04-10-2025_06_01_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27498882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27498883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27498884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27498885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27498886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27498887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27498888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27498889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27498890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27498891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27498892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27498893, 'pht': 3726}}" where mtr_portfolio_id = 27498848 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27498848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018568, 0.04684244030699916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27498848_04-10-2025_06_01_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27498882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27498883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27498884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27498885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27498886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27498887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27498888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27498889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27498890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27498891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27498892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27498893, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27499115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842847, 'mtr_portfolio_id': 27499115, 'created_at': datetime.datetime(2025, 10, 4, 6, 2, 3), 'result': '0.0464809835705118', 'result_long': None, 'result_double': None}] Qualite : 0.0464809835705118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27499115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499115_04-10-2025_06_02_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27499115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499115_04-10-2025_06_02_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27499155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499162, 'pht': 3726}}" where mtr_portfolio_id = 27499115 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27499115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018569, 0.0464809835705118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499115_04-10-2025_06_02_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27499155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499156, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499159, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499162, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27499507 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842848, 'mtr_portfolio_id': 27499507, 'created_at': datetime.datetime(2025, 10, 4, 6, 2, 39), 'result': '0.03786139146268318', 'result_long': None, 'result_double': None}] Qualite : 0.03786139146268318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27499507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499507_04-10-2025_06_02_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27499507 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499507_04-10-2025_06_02_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27499517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499526, 'pht': 3726}}" where mtr_portfolio_id = 27499507 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27499507 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018570, 0.03786139146268318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499507_04-10-2025_06_02_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27499517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499526, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27499829 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842849, 'mtr_portfolio_id': 27499829, 'created_at': datetime.datetime(2025, 10, 4, 6, 3, 3), 'result': '0.03242619591871101', 'result_long': None, 'result_double': None}] Qualite : 0.03242619591871101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27499829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499829_04-10-2025_06_03_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27499829 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499829_04-10-2025_06_03_08.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27499879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499889, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499890, 'pht': 3726}}" where mtr_portfolio_id = 27499829 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27499829 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018571, 0.03242619591871101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27499829_04-10-2025_06_03_08.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27499879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27499880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27499881, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27499882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27499883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27499884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27499885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27499886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27499887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27499888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27499889, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27499890, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27500341 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842850, 'mtr_portfolio_id': 27500341, 'created_at': datetime.datetime(2025, 10, 4, 6, 3, 33), 'result': '0.06339234179919147', 'result_long': None, 'result_double': None}] Qualite : 0.06339234179919147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27500341 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500341_04-10-2025_06_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500341 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500341_04-10-2025_06_03_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27500366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27500367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27500380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27500381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27500383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27500384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27500385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27500386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27500387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27500388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27500389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27500390, 'pht': 3726}}" where mtr_portfolio_id = 27500341 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27500341 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018572, 0.06339234179919147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500341_04-10-2025_06_03_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27500366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27500367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27500380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27500381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27500383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27500384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27500385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27500386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27500387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27500388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27500389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27500390, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27500820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842851, 'mtr_portfolio_id': 27500820, 'created_at': datetime.datetime(2025, 10, 4, 6, 4, 2), 'result': '0.03667634510445172', 'result_long': None, 'result_double': None}] Qualite : 0.03667634510445172 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27500820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500820_04-10-2025_06_04_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27500820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500820_04-10-2025_06_04_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27500864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27500865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27500866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27500867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27500868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27500869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27500870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27500871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27500872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27500873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27500874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27500875, 'pht': 3726}}" where mtr_portfolio_id = 27500820 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27500820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018573, 0.03667634510445172, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27500820_04-10-2025_06_04_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27500864, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27500865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27500866, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27500867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27500868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27500869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27500870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27500871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27500872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27500873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27500874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27500875, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27501189 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842852, 'mtr_portfolio_id': 27501189, 'created_at': datetime.datetime(2025, 10, 4, 6, 4, 33), 'result': '0.06190852477252624', 'result_long': None, 'result_double': None}] Qualite : 0.06190852477252624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27501189 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501189_04-10-2025_06_04_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27501189 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501189_04-10-2025_06_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501212, 'pht': 3726}}" where mtr_portfolio_id = 27501189 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27501189 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018574, 0.06190852477252624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501189_04-10-2025_06_04_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501212, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27501488 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842853, 'mtr_portfolio_id': 27501488, 'created_at': datetime.datetime(2025, 10, 4, 6, 5), 'result': '0.040091447046066916', 'result_long': None, 'result_double': None}] Qualite : 0.040091447046066916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27501488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501488_04-10-2025_06_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27501488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501488_04-10-2025_06_05_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501532, 'pht': 3726}}" where mtr_portfolio_id = 27501488 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27501488 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018575, 0.040091447046066916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501488_04-10-2025_06_05_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501532, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27501928 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3842854, 'mtr_portfolio_id': 27501928, 'created_at': datetime.datetime(2025, 10, 4, 6, 5, 29), 'result': '0.03369259326249422', 'result_long': None, 'result_double': None}] Qualite : 0.03369259326249422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27501928 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501928_04-10-2025_06_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27501928 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501928_04-10-2025_06_05_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501952, 'pht': 3726}}" where mtr_portfolio_id = 27501928 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27501928 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018576, 0.03369259326249422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27501928_04-10-2025_06_05_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27501941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27501942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27501943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27501944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27501945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27501946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27501947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27501948, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27501949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27501950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27501951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27501952, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27502478 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3838687, 'mtr_portfolio_id': 27502478, 'created_at': datetime.datetime(2025, 10, 3, 21, 3, 7), 'result': '0.03332233615217308', 'result_long': None, 'result_double': None}] Qualite : 0.03332233615217308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27502478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27502478_03-10-2025_21_03_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27502478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27502478_03-10-2025_21_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27502490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27502491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27502492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27502493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27502494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27502495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27502496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27502497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27502498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27502499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27502509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27502513, 'pht': 3726}}" where mtr_portfolio_id = 27502478 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27502478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018577, 0.03332233615217308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27502478_03-10-2025_21_03_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27502490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27502491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27502492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27502493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27502494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27502495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27502496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27502497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27502498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27502499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27502509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27502513, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27503315 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3838997, 'mtr_portfolio_id': 27503315, 'created_at': datetime.datetime(2025, 10, 3, 21, 19, 5), 'result': '0.05829984308267645', 'result_long': None, 'result_double': None}] Qualite : 0.05829984308267645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27503315 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503315_03-10-2025_21_19_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503315 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503315_03-10-2025_21_19_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503347, 'pht': 3726}}" where mtr_portfolio_id = 27503315 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27503315 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018578, 0.05829984308267645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503315_03-10-2025_21_19_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503337, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503347, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27503619 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3839044, 'mtr_portfolio_id': 27503619, 'created_at': datetime.datetime(2025, 10, 3, 21, 35, 29), 'result': '0.06355664296657601', 'result_long': None, 'result_double': None}] Qualite : 0.06355664296657601 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27503619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503619_03-10-2025_21_35_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503619_03-10-2025_21_35_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503663, 'pht': 3726}}" where mtr_portfolio_id = 27503619 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27503619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018579, 0.06355664296657601, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503619_03-10-2025_21_35_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503663, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27503955 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3839139, 'mtr_portfolio_id': 27503955, 'created_at': datetime.datetime(2025, 10, 3, 21, 49, 29), 'result': '0.04882913098243265', 'result_long': None, 'result_double': None}] Qualite : 0.04882913098243265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27503955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503955_03-10-2025_21_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27503955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503955_03-10-2025_21_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503980, 'pht': 3726}}" where mtr_portfolio_id = 27503955 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27503955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018580, 0.04882913098243265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27503955_03-10-2025_21_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27503969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27503970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27503971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27503972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27503973, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27503974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27503975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27503976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27503977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27503978, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27503979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27503980, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27504290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3839258, 'mtr_portfolio_id': 27504290, 'created_at': datetime.datetime(2025, 10, 3, 22, 3, 9), 'result': '0.08879649664067989', 'result_long': None, 'result_double': None}] Qualite : 0.08879649664067989 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27504290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27504290_03-10-2025_22_03_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27504290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27504290_03-10-2025_22_03_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27504296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27504297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27504298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27504299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27504300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27504301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27504302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27504303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27504304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27504305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27504306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27504307, 'pht': 3726}}" where mtr_portfolio_id = 27504290 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27504290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018581, 0.08879649664067989, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27504290_03-10-2025_22_03_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27504296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27504297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27504298, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27504299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27504300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27504301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27504302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27504303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27504304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27504305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27504306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27504307, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27504724 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3839451, 'mtr_portfolio_id': 27504724, 'created_at': datetime.datetime(2025, 10, 3, 22, 21, 2), 'result': '0.05518695870490296', 'result_long': None, 'result_double': None}] Qualite : 0.05518695870490296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27504724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27504724_03-10-2025_22_21_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27504724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27504724_03-10-2025_22_21_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27504737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27504738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27504739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27504740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27504741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27504742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27504743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27504744, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27504745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27504746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27504747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27504748, 'pht': 3726}}" where mtr_portfolio_id = 27504724 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27504724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018582, 0.05518695870490296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27504724_03-10-2025_22_21_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27504737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27504738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27504739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27504740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27504741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27504742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27504743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27504744, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27504745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27504746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27504747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27504748, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27505224 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3839714, 'mtr_portfolio_id': 27505224, 'created_at': datetime.datetime(2025, 10, 3, 22, 34, 58), 'result': '0.04673076234075706', 'result_long': None, 'result_double': None}] Qualite : 0.04673076234075706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27505224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27505224_03-10-2025_22_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27505224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27505224_03-10-2025_22_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27505236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27505237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27505238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27505239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27505240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27505241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27505242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27505243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27505244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27505245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27505246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27505247, 'pht': 3726}}" where mtr_portfolio_id = 27505224 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27505224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018583, 0.04673076234075706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27505224_03-10-2025_22_34_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27505236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27505237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27505238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27505239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27505240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27505241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27505242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27505243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27505244, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27505245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27505246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27505247, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27505585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3839920, 'mtr_portfolio_id': 27505585, 'created_at': datetime.datetime(2025, 10, 3, 22, 47, 5), 'result': '0.022121231311492448', 'result_long': None, 'result_double': None}] Qualite : 0.022121231311492448 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27505585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27505585_03-10-2025_22_47_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27505585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27505585_03-10-2025_22_47_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27505607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27505608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27505609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27505610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27505611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27505613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27505614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27505615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27505616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27505617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27505618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27505619, 'pht': 3726}}" where mtr_portfolio_id = 27505585 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27505585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018584, 0.022121231311492448, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27505585_03-10-2025_22_47_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27505607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27505608, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27505609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27505610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27505611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27505613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27505614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27505615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27505616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27505617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27505618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27505619, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27506043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3840162, 'mtr_portfolio_id': 27506043, 'created_at': datetime.datetime(2025, 10, 3, 23, 3, 2), 'result': '0.055049131680485065', 'result_long': None, 'result_double': None}] Qualite : 0.055049131680485065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27506043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27506043_03-10-2025_23_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27506043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27506043_03-10-2025_23_03_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27506062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27506063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27506064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27506065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27506066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27506067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27506068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27506070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27506071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27506072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27506073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27506074, 'pht': 3726}}" where mtr_portfolio_id = 27506043 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27506043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018585, 0.055049131680485065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27506043_03-10-2025_23_03_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27506062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27506063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27506064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27506065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27506066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27506067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27506068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27506070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27506071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27506072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27506073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27506074, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27506537 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3840466, 'mtr_portfolio_id': 27506537, 'created_at': datetime.datetime(2025, 10, 4, 0, 1, 2), 'result': '0.05676521430973956', 'result_long': None, 'result_double': None}] Qualite : 0.05676521430973956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27506537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27506537_04-10-2025_00_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27506537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27506537_04-10-2025_00_01_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27506558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27506559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27506560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27506561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27506562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27506563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27506564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27506565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27506566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27506568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27506569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27506570, 'pht': 3726}}" where mtr_portfolio_id = 27506537 and dashboard_run_id = 2400549 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27506537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16018586, 0.05676521430973956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27506537_04-10-2025_00_01_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27506558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27506559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27506560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27506561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27506562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27506563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27506564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27506565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27506566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27506568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27506569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27506570, '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 (27462418,27462676,27463016,27464289,27464603,27464951,27465533,27465946,27466489,27466980,27467590,27468047,27468479,27468969,27470361,27470593,27470835,27471112,27471429,27471962,27472372,27472875,27473429,27474194,27475041,27475805,27476483,27477333,27478030,27478808,27481050,27481381,27481867,27482504,27483111,27483691,27484287,27485107,27486477,27486687,27489564,27489825,27490309,27490848,27491438,27491930,27492533,27493243,27493854,27494625,27495146,27495873,27496390,27496981,27497878,27498529,27498848,27499115,27499507,27499829,27500341,27500820,27501189,27501488,27501928,27502478,27503315,27503619,27503955,27504290,27504724,27505224,27505585,27506043,27506537) result : ((1387512208,), (1387512211,), (1387512233,), (1387512235,), (1387512237,), (1387512238,), (1387512241,), (1387512247,), (1387512249,), (1387512253,), (1387512255,), (1387512265,), (1387512266,), (1387512267,), (1387512269,), (1387512272,), (1387513067,), (1387513068,), (1387513070,), (1387513073,), (1387513077,), (1387513091,), (1387513098,), (1387513099,), (1387513419,), (1387513420,), (1387513470,), (1387513472,), (1387513475,), (1387513550,), (1387513556,), (1387513563,), (1387513565,), (1387513568,), (1387513600,), (1387513601,), (1387513602,), (1387513604,), (1387513607,), (1387513609,), (1387513622,), (1387513624,), (1387513625,), (1387514849,), (1387514850,), (1387514851,), (1387514853,), (1387515205,), (1387515206,), (1387515207,), (1387515209,), (1387515215,), (1387515223,), (1387515224,), (1387515225,), (1387515227,), (1387515230,), (1387515263,), (1387515266,), (1387515271,), (1387515282,), (1387515285,), (1387515288,), (1387515301,), (1387515302,), (1387515303,), (1387515342,), (1387515343,), (1387515346,), (1387515349,), (1387515354,), (1387515358,), (1387515501,), (1387515503,), (1387515568,), (1387515539,), (1387515540,), (1387515565,), (1387515649,), (1387515650,), (1387515651,), (1387515653,), (1387515665,), (1387515666,), (1387515667,), (1387515679,), (1387515710,), (1387515711,), (1387515712,), (1387515714,), (1387515718,), (1387515778,), (1387515779,), (1387515780,), (1387515782,), (1387515800,), (1387515801,), (1387515802,), (1387515805,), (1387515820,), (1387515822,), (1387515824,), (1387515827,), (1387515831,), (1387515849,), (1387515851,), (1387515853,), (1387515856,), (1387515859,), (1387515863,), (1387515883,), (1387515886,), (1387515890,), (1387515894,), (1387515898,), (1387515901,), (1387515905,), (1387515906,), (1387515907,), (1387515908,), (1387515910,), (1387515913,), (1387515931,), (1387515933,), (1387515935,), (1387515937,), (1387515968,), (1387515969,), (1387515987,), (1387515995,), (1387516014,), (1387516016,), (1387516018,), (1387516052,), (1387516054,), (1387516055,), (1387516060,), (1387516064,), (1387516108,), (1387516113,), (1387516115,), (1387516116,), (1387516117,), (1387516118,), (1387516079,), (1387516088,), (1387516095,), (1387516098,), (1387516105,), (1387516119,), (1387516121,), (1387516124,), (1387516127,), (1387516143,), (1387516145,), (1387516146,), (1387516148,), (1387516345,), (1387516365,), (1387522155,), (1387522141,), (1387522148,), (1387522153,), (1387522187,), (1387522188,), (1387522189,), (1387522191,), (1387522217,), (1387522222,), (1387522226,), (1387522237,), (1387522246,), (1387522250,), (1387522255,), (1387522256,), (1387522264,), (1387522267,), (1387522271,), (1387522329,), (1387522330,), (1387522331,), (1387522333,), (1387522338,), (1387522342,), (1387522369,), (1387522370,), (1387522372,), (1387522375,), (1387522379,), (1387522388,), (1387522389,), (1387522390,), (1387522392,), (1387522396,), (1387522449,), (1387522451,), (1387522452,), (1387522472,), (1387522475,), (1387522485,), (1387522493,), (1387522497,), (1387522500,), (1387522504,), (1387522507,), (1387522510,), (1387522514,), (1387522580,), (1387522582,), (1387522584,), (1387522587,), (1387522591,), (1387522606,), (1387522608,), (1387522609,), (1387522612,), (1387522630,), (1387522633,), (1387522635,), (1387522640,), (1387522645,), (1387522660,), (1387522696,), (1387522705,), (1387522697,), (1387522698,), (1387522701,), (1387522723,), (1387522724,), (1387522725,), (1387522767,), (1387522768,), (1387522769,), (1387522771,), (1387522774,), (1387522778,), (1387522835,), (1387522836,), (1387522837,), (1387522839,), (1387522844,), (1387522860,), (1387522861,), (1387522862,), (1387522894,), (1387522896,), (1387522906,), (1387522914,), (1387522951,), (1387522963,), (1387523008,), (1387523009,), (1387523010,), (1387523012,), (1387523028,), (1387523030,), (1387523031,), (1387523033,), (1387523046,), (1387523048,), (1387523094,), (1387523095,), (1387523097,), (1387523100,), (1387523108,), (1387523111,), (1387523116,), (1387523118,), (1387523119,), (1387523120,), (1387523122,), (1387523126,), (1387523130,), (1387523134,), (1387523143,), (1387523144,), (1387523147,), (1387523153,), (1387523169,), (1387523207,), (1387523208,), (1387523237,), (1387523239,), (1387523243,), (1387523246,), (1387523255,), (1387523258,), (1387523262,), (1387523284,), (1387523288,), (1387523327,), (1387523308,), (1387523322,), (1387523326,), (1387524157,), (1387524159,), (1387524161,), (1387524179,), (1387524181,), (1387524701,), (1387524703,), (1387524704,), (1387524707,), (1387524710,), (1387524719,), (1387524720,), (1387524722,), (1387524725,), (1387524734,), (1387524737,), (1387525715,), (1387525717,), (1387525718,), (1387525719,), (1387525721,), (1387525723,), (1387525807,), (1387525808,), (1387525809,), (1387525811,), (1387526356,), (1387526357,), (1387526431,), (1387526460,), (1387526854,), (1387526856,), (1387526858,), (1387526861,), (1387526912,), (1387526914,), (1387526915,), (1387526932,), (1387526935,), (1387526938,), (1387526941,), (1387527484,), (1387527520,), (1387527525,), (1387527566,), (1387527567,), (1387527568,), (1387527570,), (1387527577,), (1387527581,), (1387527594,), (1387527595,), (1387527596,), (1387527598,), (1387527602,), (1387527606,), (1387527620,), (1387527621,), (1387527624,), (1387527627,), (1387527638,), (1387527646,), (1387527653,), (1387527695,), (1387527697,), (1387527735,), (1387527698,), (1387527699,), (1387527700,), (1387527709,), (1387527730,), (1387527755,), (1387527757,), (1387527761,), (1387527767,), (1387527783,), (1387527784,), (1387527786,), (1387527790,), (1387527793,), (1387527842,), (1387527844,), (1387527845,), (1387527847,), (1387527872,), (1387527874,), (1387527876,), (1387527917,), (1387527920,), (1387527921,), (1387527931,), (1387527971,), (1387527972,), (1387527988,), (1387527990,), (1387527992,), (1387527995,), (1387528001,), (1387528014,), (1387528015,), (1387528016,), (1387528018,), (1387528022,), (1387528062,), (1387528063,), (1387528065,), (1387528068,), (1387528078,), (1387528081,), (1387528086,), (1387528088,), (1387528089,), (1387528090,), (1387528091,), (1387528094,), (1387528112,), (1387528113,), (1387528115,), (1387528117,), (1387528122,), (1387528191,), (1387528193,), (1387528195,), (1387528211,), (1387528212,), (1387528214,), (1387528217,), (1387528231,), (1387528233,), (1387528235,), (1387528237,), (1387528240,), (1387528320,), (1387528323,), (1387528340,), (1387528342,), (1387528343,), (1387528344,), (1387528279,), (1387528280,), (1387528298,), (1387528305,), (1387528385,), (1387528391,), (1387528393,), (1387528395,), (1387528398,), (1387528404,), (1387528406,), (1387528408,), (1387528411,), (1387528455,), (1387528457,), (1387528459,), (1387528470,), (1387528471,), (1387528473,), (1387528477,), (1387528481,), (1387528490,), (1387528494,), (1387528495,), (1387528496,), (1387528497,), (1387528498,), (1387528500,), (1387528516,), (1387528519,), (1387528531,), (1387528577,), (1387528579,), (1387528581,), (1387528595,), (1387528596,), (1387528598,), (1387528601,), (1387528605,), (1387528613,), (1387528651,), (1387528652,), (1387528653,), (1387528655,), (1387528670,), (1387528672,), (1387528674,), (1387528679,), (1387528711,), (1387528713,), (1387528715,), (1387528763,), (1387528764,), (1387528765,), (1387528767,), (1387528789,), (1387528791,), (1387528793,), (1387528806,), (1387528807,), (1387528809,), (1387528812,), (1387528815,), (1387528826,), (1387528832,), (1387528862,), (1387528853,), (1387528854,), (1387528855,), (1387528858,), (1387528877,), (1387528881,), (1387528885,), (1387528888,), (1387528906,), (1387528907,), (1387528908,), (1387528932,), (1387528933,), (1387528934,), (1387528936,), (1387528943,), (1387528958,), (1387528961,), (1387528963,), (1387528966,), (1387528969,), (1387528972,), (1387528987,), (1387528995,), (1387528996,), (1387529038,), (1387529039,), (1387529058,), (1387529079,), (1387529081,), (1387529083,), (1387529086,), (1387529089,), (1387529093,), (1387529124,), (1387529125,), (1387529127,), (1387529130,), (1387529147,), (1387529150,), (1387529154,), (1387529155,), (1387529156,), (1387529157,), (1387529158,), (1387529162,), (1387529165,), (1387529170,), (1387529181,), (1387529183,), (1387529185,), (1387529188,), (1387529263,), (1387529264,), (1387529283,), (1387529286,), (1387529290,), (1387529293,), (1387529297,), (1387529300,), (1387530050,), (1387529856,), (1387529860,), (1387529862,), (1387530045,), (1387530120,), (1387530121,), (1387530122,), (1387530164,), (1387530165,), (1387530167,), (1387530171,), (1387530745,), (1387530746,), (1387531062,), (1387531064,), (1387531067,), (1387531073,), (1387531077,), (1387531082,), (1387531089,), (1387531094,), (1387531095,), (1387531097,), (1387531333,), (1387531753,), (1387532028,), (1387532030,), (1387532031,), (1387532033,), (1387532037,), (1387532041,), (1387532051,), (1387532052,), (1387532053,), (1387532055,), (1387532058,), (1387532098,), (1387532099,), (1387532100,), (1387532102,), (1387532105,), (1387532114,), (1387532115,), (1387532117,), (1387532120,), (1387532123,), (1387532132,), (1387532144,), (1387532147,), (1387532153,), (1387532154,), (1387532155,), (1387532157,), (1387532161,), (1387532220,), (1387532222,), (1387532224,), (1387532226,), (1387532235,), (1387532249,), (1387532250,), (1387532251,), (1387532255,), (1387532258,), (1387532260,), (1387532270,), (1387532271,), (1387532274,), (1387532277,), (1387532286,), (1387532289,), (1387532313,), (1387532314,), (1387532315,), (1387532324,), (1387532316,), (1387532318,), (1387532321,), (1387532336,), (1387532338,), (1387532355,), (1387532358,), (1387532362,), (1387532374,), (1387532376,), (1387532378,), (1387532380,), (1387532424,), (1387532426,), (1387532428,), (1387532430,), (1387532434,), (1387532441,), (1387532450,), (1387532451,), (1387532454,), (1387532457,), (1387532460,), (1387532463,), (1387532467,), (1387532469,), (1387532471,), (1387532473,), (1387532480,), (1387532485,), (1387532535,), (1387532536,), (1387532537,), (1387532554,), (1387532556,), (1387532578,), (1387532579,), (1387532619,), (1387532621,), (1387532623,), (1387532627,), (1387532633,), (1387532635,), (1387532648,), (1387532649,), (1387532650,), (1387532651,), (1387532669,), (1387532671,), (1387532676,), (1387532681,), (1387532684,), (1387532686,), (1387532756,), (1387532757,), (1387532758,), (1387532761,), (1387532778,), (1387532780,), (1387532782,), (1387532785,), (1387532803,), (1387532804,), (1387532805,), (1387532809,), (1387532812,), (1387532860,), (1387532862,), (1387532865,), (1387532868,), (1387532871,), (1387532876,), (1387532859,), (1387532878,), (1387532879,), (1387532880,), (1387532939,), (1387532941,), (1387532942,), (1387532945,), (1387532948,), (1387532959,), (1387532984,), (1387532986,), (1387532988,), (1387532991,), (1387532995,), (1387532998,), (1387533008,), (1387533009,), (1387533011,), (1387533019,), (1387533023,), (1387533026,), (1387533032,), (1387533033,), (1387533034,), (1387533035,), (1387533040,), (1387533044,), (1387533048,), (1387533053,), (1387533072,), (1387533074,), (1387533079,), (1387533088,), (1387533127,), (1387533129,), (1387533132,), (1387533135,), (1387533147,), (1387533148,), (1387533150,), (1387533153,), (1387533181,), (1387533182,), (1387533197,), (1387533198,), (1387533199,), (1387533205,), (1387533225,), (1387533227,), (1387533283,), (1387533284,), (1387533285,), (1387533287,), (1387533309,), (1387533311,), (1387533312,), (1387533314,), (1387533326,), (1387533327,), (1387533331,), (1387533334,), (1387533342,), (1387533346,), (1387533361,), (1387533362,), (1387533366,), (1387533363,), (1387533364,), (1387533383,), (1387533384,), (1387533385,), (1387533387,), (1387533446,), (1387533447,), (1387533448,), (1387533450,), (1387533454,), (1387533481,), (1387533482,), (1387533484,), (1387533487,), (1387533505,), (1387533506,), (1387533507,), (1387533521,), (1387533522,), (1387533524,), (1387533528,), (1387533531,), (1387533550,), (1387533552,), (1387533554,), (1387533585,), (1387533610,), (1387533611,), (1387533614,), (1387533628,), (1387533658,), (1387533659,), (1387533660,), (1387533664,), (1387533667,), (1387533670,), (1387533677,), (1387533701,), (1387533702,), (1387533703,), (1387533706,), (1387533711,), (1387533717,), (1387533735,), (1387533736,), (1387533738,), (1387533742,), (1387533763,), (1387533767,), (1387533770,), (1387534450,), (1387534301,), (1387534305,), (1387534419,), (1387534425,), (1387534493,), (1387534497,), (1387534500,), (1387534503,), (1387534542,), (1387534545,), (1387534547,), (1387534589,), (1387534615,), (1387534791,), (1387535365,), (1387535396,), (1387535399,), (1387535403,), (1387535412,), (1387535415,), (1387535417,), (1387535419,), (1387535423,), (1387535427,), (1387536213,), (1387536294,), (1387536468,), (1387536518,), (1387536643,), (1387536645,), (1387536647,), (1387536650,), (1387536663,), (1387536666,), (1387536669,), (1387536673,), (1387536677,), (1387536723,), (1387536726,), (1387536729,), (1387536748,), (1387536750,), (1387536752,), (1387536759,), (1387536782,), (1387536835,), (1387538676,), (1387538673,), (1387538719,), (1387539451,), (1387539453,), (1387540304,), (1387540673,), (1387540676,), (1387540698,), (1387540700,), (1387540758,), (1387540760,), (1387540762,), (1387540789,), (1387540791,), (1387540850,), (1387540852,), (1387540854,), (1387540906,), (1387540943,), (1387540982,), (1387540984,), (1387540986,), (1387541006,), (1387541007,), (1387541008,), (1387541028,), (1387541029,), (1387541031,), (1387541038,), (1387541041,), (1387541054,), (1387541056,), (1387541057,), (1387541059,), (1387541078,), (1387541081,), (1387541099,), (1387541101,), (1387541102,), (1387541104,), (1387541107,), (1387541118,), (1387541120,), (1387541121,), (1387541125,), (1387541142,), (1387541145,), (1387541147,), (1387541149,), (1387541176,), (1387541177,), (1387541179,), (1387541185,), (1387541188,), (1387541192,), (1387541200,), (1387541202,), (1387541204,), (1387541207,), (1387541210,), (1387541212,), (1387541222,), (1387541224,), (1387541225,), (1387541227,), (1387541252,), (1387541256,), (1387541258,), (1387541260,), (1387541263,), (1387541278,), (1387541279,), (1387541280,), (1387541283,), (1387541290,), (1387541292,), (1387541300,), (1387541303,), (1387541304,), (1387541309,), (1387541349,), (1387541336,), (1387541338,), (1387541339,), (1387541342,), (1387541344,), (1387541359,), (1387541361,), (1387541363,), (1387541433,), (1387541436,), (1387541438,), (1387541441,), (1387541454,), (1387541455,), (1387541457,), (1387541461,), (1387541464,), (1387541467,), (1387541471,), (1387541472,), (1387541473,), (1387541475,), (1387541481,), (1387541484,), (1387541487,), (1387541515,), (1387541516,), (1387541517,), (1387541519,), (1387541523,), (1387541580,), (1387541583,), (1387541591,), (1387541593,), (1387541614,), (1387541615,), (1387541616,), (1387541618,), (1387541621,), (1387541629,), (1387541645,), (1387541647,), (1387541651,), (1387541654,), (1387541657,), (1387541659,), (1387541671,), (1387541673,), (1387541675,), (1387541677,), (1387541683,), (1387541710,), (1387541713,), (1387541714,), (1387541717,), (1387541764,), (1387541766,), (1387541767,), (1387541769,), (1387541772,), (1387541787,), (1387541810,), (1387541812,), (1387541814,), (1387541817,), (1387541823,), (1387541829,), (1387541836,), (1387541839,), (1387541840,), (1387541842,), (1387541860,), (1387541846,), (1387541849,), (1387541852,), (1387541855,), (1387541858,), (1387541864,), (1387541865,), (1387541870,), (1387541908,), (1387541910,), (1387541911,), (1387541913,), (1387541916,), (1387541920,), (1387541938,), (1387541939,), (1387541940,), (1387541942,), (1387541966,), (1387541968,), (1387541969,), (1387541971,), (1387541977,), (1387541980,), (1387541996,), (1387542002,), (1387542006,), (1387542019,), (1387542033,), (1387542035,), (1387542038,), (1387542040,), (1387542041,), (1387542043,), (1387542046,), (1387542050,), (1387542055,), (1387542057,), (1387542059,), (1387542060,), (1387542067,), (1387542075,), (1387542083,), (1387542088,), (1387542091,), (1387542141,), (1387542156,), (1387542158,), (1387542161,), (1387542183,), (1387542185,), (1387542189,), (1387542196,), (1387542198,), (1387542200,), (1387542204,), (1387542205,), (1387542207,), (1387542211,), (1387542218,), (1387542225,), (1387542229,), (1387542231,), (1387542233,), (1387542237,), (1387542240,), (1387542243,), (1387542247,), (1387542251,), (1387542256,), (1387542274,), (1387542277,), (1387542278,), (1387542611,), (1387542625,), (1387542648,), (1387542654,), (1387542658,), (1387542662,), (1387542691,), (1387542681,), (1387542684,), (1387542687,), (1387542689,), (1387542713,), (1387542715,), (1387542717,), (1387542719,), (1387542722,), (1387542733,), (1387542735,), (1387542736,), (1387542738,), (1387542742,), (1387542759,), (1387542760,), (1387542762,), (1387542765,), (1387542769,), (1387542772,), (1387542784,), (1387542788,), (1387542793,), (1387542884,), (1387543364,), (1387543567,), (1387543572,), (1387543573,), (1387543577,), (1387543580,), (1387543588,), (1387543591,), (1387543594,), (1387543596,), (1387543830,), (1387543837,), (1387544376,), (1387544377,), (1387544379,), (1387544382,), (1387544425,), (1387544654,), (1387544655,), (1387544656,), (1387544708,), (1387544711,), (1387544771,), (1387544773,), (1387544774,), (1387544776,), (1387544783,), (1387544786,), (1387544795,), (1387544796,), (1387544797,), (1387544814,), (1387544815,), (1387544816,), (1387544818,), (1387544824,), (1387544834,), (1387544842,), (1387544844,), (1387544847,), (1387544852,), (1387544855,), (1387544858,), (1387544865,), (1387544867,), (1387544868,), (1387544871,), (1387544879,), (1387544883,), (1387544895,), (1387544897,), (1387544899,), (1387544901,), (1387544905,), (1387544917,), (1387544918,), (1387544922,), (1387544927,), (1387544931,), (1387544944,), (1387544949,), (1387544951,), (1387544952,), (1387544954,), (1387544955,), (1387544973,), (1387544963,), (1387544966,), (1387544969,), (1387544978,), (1387544980,), (1387544981,), (1387544983,), (1387544986,), (1387545006,), (1387545007,), (1387545008,), (1387545010,), (1387545013,), (1387545016,), (1387545026,), (1387545030,), (1387545032,), (1387545034,), (1387545037,), (1387545040,), (1387545064,), (1387545065,), (1387545066,), (1387545068,), (1387545071,), (1387545087,), (1387545090,), (1387545092,), (1387545095,), (1387545098,), (1387545115,), (1387545117,), (1387545118,), (1387545120,), (1387545123,), (1387545138,), (1387545139,), (1387545144,), (1387545157,), (1387545170,), (1387545173,), (1387545175,), (1387545177,), (1387545179,), (1387545181,), (1387545196,), (1387545197,), (1387545200,), (1387545202,), (1387545208,), (1387545220,), (1387545226,), (1387545229,), (1387545231,), (1387545234,), (1387545236,), (1387545238,), (1387545241,), (1387545244,), (1387545260,), (1387545261,), (1387545262,), (1387545264,), (1387545267,), (1387545282,), (1387545284,), (1387545287,), (1387545291,), (1387545295,), (1387545307,), (1387545309,), (1387545312,), (1387545316,), (1387545353,), (1387545356,), (1387545358,), (1387545362,), (1387545366,), (1387545369,), (1387545389,), (1387545382,), (1387545383,), (1387545385,), (1387545386,), (1387545408,), (1387545410,), (1387545412,), (1387545415,), (1387545420,), (1387545423,), (1387545434,), (1387545436,), (1387545438,), (1387545441,), (1387545460,), (1387545461,), (1387545462,), (1387545464,), (1387545467,), (1387545470,), (1387545480,), (1387545481,), (1387545483,), (1387545489,), (1387545492,), (1387545495,), (1387545501,), (1387545502,), (1387545503,), (1387545505,), (1387545506,), (1387545512,), (1387545516,), (1387545520,), (1387545524,), (1387545533,), (1387545534,), (1387545535,), (1387545537,), (1387545541,), (1387545569,), (1387545570,), (1387545571,), (1387545586,), (1387545591,), (1387545594,), (1387545598,), (1387545600,), (1387545615,), (1387545626,), (1387545627,), (1387545629,), (1387545632,), (1387545635,), (1387545648,), (1387545650,), (1387545653,), (1387545656,), (1387545659,), (1387545672,), (1387545683,), (1387545684,), (1387545687,), (1387545690,), (1387545693,), (1387545707,), (1387545709,), (1387545710,), (1387545716,), (1387545719,), (1387545728,), (1387545730,), (1387545732,), (1387545737,), (1387545748,), (1387545750,), (1387545753,), (1387545757,), (1387545765,), (1387545770,), (1387545773,), (1387545774,), (1387545775,), (1387545777,), (1387545795,), (1387545782,), (1387545785,), (1387545788,), (1387545792,), (1387545804,), (1387545806,), (1387545808,), (1387545811,), (1387545815,), (1387545822,), (1387545831,), (1387545833,), (1387545835,), (1387545838,), (1387545842,), (1387545860,), (1387545864,), (1387545866,), (1387545870,), (1387545887,), (1387545890,), (1387545892,), (1387545896,), (1387545899,), (1387545911,), (1387545913,), (1387545915,), (1387545917,), (1387545920,), (1387545938,), (1387545940,), (1387545941,), (1387545943,), (1387545957,), (1387545958,), (1387545960,), (1387545963,), (1387545967,), (1387545980,), (1387545992,), (1387545993,), (1387545995,), (1387546016,), (1387546017,), (1387546019,), (1387546031,), (1387546036,), (1387546039,), (1387546048,), (1387546050,), (1387546052,), (1387546070,), (1387546072,), (1387546078,), (1387546082,), (1387546100,), (1387546101,), (1387546200,), (1387546198,), (1387547018,), (1387547315,), (1387547319,), (1387547323,), (1387547336,), (1387547340,), (1387547343,), (1387547580,), (1387547582,), (1387547682,), (1387547702,), (1387547721,), (1387547724,), (1387547727,), (1387547749,), (1387547751,), (1387547754,), (1387547757,), (1387547781,), (1387547783,), (1387547785,), (1387547788,), (1387547794,), (1387547798,), (1387547938,), (1387547939,), (1387547940,), (1387547943,), (1387547969,), (1387547970,), (1387547971,), (1387547973,), (1387547977,), (1387547981,), (1387548076,), (1387548078,), (1387548173,), (1387548209,), (1387548229,), (1387548243,), (1387548281,), (1387548322,), (1387548331,), (1387548345,), (1387548358,), (1387548372,), (1387548388,), (1387548389,), (1387548392,), (1387548393,), (1387548396,), (1387548398,), (1387548401,), (1387548402,), (1387548410,), (1387548428,), (1387548431,), (1387548441,), (1387548442,), (1387548457,), (1387548515,), (1387548517,), (1387548518,), (1387548521,), (1387548623,), (1387548659,), (1387548661,), (1387548664,), (1387548667,), (1387548670,), (1387548680,), (1387548696,), (1387548697,), (1387548699,), (1387548700,), (1387548702,), (1387548712,), (1387548705,), (1387548708,), (1387548732,), (1387548733,), (1387548734,), (1387548736,), (1387548739,), (1387548761,), (1387548775,), (1387548777,), (1387548778,), (1387548780,), (1387548794,), (1387548796,), (1387548798,), (1387548821,), (1387548826,), (1387548851,), (1387548856,), (1387548905,), (1387549051,), (1387549054,), (1387549067,), (1387549128,), (1387549129,), (1387549142,), (1387549145,), (1387549179,), (1387549182,), (1387549188,), (1387549192,), (1387549196,), (1387549305,), (1387549399,), (1387549400,), (1387549402,), (1387549406,), (1387549538,), (1387549540,), (1387549541,), (1387549543,), (1387549548,), (1387549570,), (1387549571,), (1387549575,), (1387549583,), (1387549591,), (1387549624,), (1387549908,), (1387549910,), (1387549911,), (1387550013,), (1387550028,), (1387550035,), (1387550043,), (1387550056,), (1387550060,), (1387550227,), (1387550228,), (1387550265,), (1387550271,), (1387550450,), (1387550452,), (1387550453,), (1387550455,), (1387550459,), (1387550483,), (1387550485,), (1387550487,), (1387550489,), (1387550656,), (1387550675,), (1387550689,), (1387550706,), (1387550873,), (1387550876,), (1387551064,), (1387551005,), (1387551028,), (1387551032,), (1387551119,), (1387551121,), (1387551122,), (1387551130,), (1387551133,), (1387551135,), (1387551143,), (1387551145,), (1387551146,), (1387551155,), (1387551175,), (1387551177,), (1387551178,), (1387551180,), (1387551184,), (1387551189,), (1387551208,), (1387551210,), (1387551212,), (1387551214,), (1387551224,), (1387551227,), (1387551233,), (1387551235,), (1387551236,), (1387551238,), (1387551240,), (1387551246,), (1387551258,), (1387551262,), (1387551266,), (1387551271,), (1387551323,), (1387551342,), (1387551355,), (1387551357,), (1387551360,), (1387551363,), (1387551387,), (1387551389,), (1387551390,), (1387551393,), (1387551404,), (1387551613,), (1387551614,), (1387551615,), (1387551617,), (1387551621,), (1387551625,), (1387551735,), (1387551738,), (1387551740,), (1387551743,), (1387551758,), (1387551857,), (1387551858,), (1387551866,), (1387551870,), (1387551880,), (1387551961,), (1387551963,), (1387551964,), (1387551966,), (1387551969,), (1387551979,), (1387551980,), (1387551982,), (1387551985,), (1387552013,), (1387552017,), (1387552018,), (1387552026,), (1387552030,), (1387552057,), (1387552058,), (1387552062,), (1387552067,), (1387552072,), (1387552081,), (1387552100,), (1387552102,), (1387552104,), (1387552107,), (1387552110,), (1387552129,), (1387552130,), (1387552119,), (1387552120,), (1387552122,), (1387552123,), (1387552126,), (1387552127,), (1387552134,), (1387552138,), (1387552139,), (1387552147,), (1387552160,), (1387552257,), (1387552279,), (1387552281,), (1387552284,), (1387552296,), (1387552302,), (1387552313,), (1387552314,), (1387552317,), (1387552436,), (1387552463,), (1387552464,), (1387552484,), (1387552489,), (1387552494,), (1387552509,), (1387552510,), (1387552511,), (1387552513,), (1387552536,), (1387552538,), (1387552552,), (1387552553,), (1387552554,), (1387552556,), (1387552564,), (1387552582,), (1387552586,), (1387552588,), (1387552591,), (1387552594,), (1387552597,), (1387552610,), (1387552612,), (1387552633,), (1387552636,), (1387552642,), (1387552645,), (1387552648,), (1387552649,), (1387552650,), (1387552651,), (1387552656,), (1387552659,), (1387552662,), (1387552732,), (1387552738,), (1387552749,), (1387552775,), (1387552801,), (1387552814,), (1387552895,), (1387552921,), (1387552925,), (1387552928,), (1387552965,), (1387552976,), (1387552980,), (1387552983,), (1387552986,), (1387553011,), (1387552996,), (1387552998,), (1387553008,), (1387553035,), (1387553050,), (1387553052,), (1387553055,), (1387553797,), (1387553812,), (1387553815,), (1387553817,), (1387553820,), (1387554181,), (1387554184,), (1387554226,), (1387554799,), (1387554800,), (1387554911,), (1387554919,), (1387554921,), (1387554957,), (1387554979,), (1387554982,), (1387554985,), (1387554990,), (1387554995,), (1387554997,), (1387554999,), (1387555001,), (1387555003,), (1387555012,), (1387555017,), (1387555018,), (1387555113,), (1387555120,), (1387555124,), (1387555127,), (1387555174,), (1387555175,), (1387555176,), (1387555183,), (1387555188,), (1387555197,), (1387555376,), (1387555379,), (1387555381,), (1387555383,), (1387555881,), (1387556520,), (1387556521,), (1387556534,), (1387556537,), (1387556546,), (1387556555,), (1387557410,), (1387557414,), (1387557417,), (1387558042,), (1387558054,), (1387558067,), (1387558070,), (1387558075,), (1387558078,), (1387558420,), (1387558423,), (1387558426,), (1387558429,), (1387558614,), (1387558616,), (1387558619,), (1387558621,), (1387558626,), (1387558634,), (1387558764,), (1387558771,), (1387558772,), (1387558786,), (1387558843,), (1387558818,), (1387558838,), (1387558840,), (1387558841,), (1387558842,), (1387558848,), (1387558850,), (1387558852,), (1387558854,), (1387559394,), (1387559398,), (1387559400,), (1387559402,), (1387559468,), (1387559470,), (1387559488,), (1387559490,), (1387559504,), (1387559522,), (1387559551,), (1387559554,), (1387559556,), (1387559558,), (1387559560,), (1387559569,), (1387559572,), (1387559574,), (1387559577,), (1387559580,), (1387559585,), (1387559587,), (1387559590,), (1387559592,), (1387559594,), (1387559597,), (1387559599,), (1387559604,), (1387559615,), (1387559620,), (1387559622,), (1387559627,), (1387559631,), (1387559729,), (1387559731,), (1387559734,), (1387559736,), (1387559737,), (1387559738,), (1387559866,), (1387559867,), (1387559868,), (1387559869,), (1387559870,), (1387559873,), (1387559887,), (1387559889,), (1387559891,), (1387559893,), (1387559903,), (1387559905,), (1387559910,), (1387559915,), (1387559919,), (1387559922,), (1387559925,), (1387559932,), (1387559935,), (1387559937,), (1387559957,), (1387559959,), (1387559960,), (1387559961,), (1387559963,), (1387560015,), (1387560017,), (1387560045,), (1387560046,), (1387560079,), (1387560084,), (1387560088,), (1387560091,), (1387560096,), (1387560105,), (1387560125,), (1387560127,), (1387560129,), (1387560134,), (1387560145,), (1387560104,), (1387560147,), (1387560148,), (1387560162,), (1387560174,), (1387560176,), (1387560178,), (1387560182,), (1387560190,), (1387560251,), (1387560255,), (1387560256,), (1387560276,), (1387560278,), (1387560289,), (1387560291,), (1387560296,), (1387560299,), (1387560301,), (1387560305,), (1387560324,), (1387560325,), (1387560329,), (1387560332,), (1387560335,), (1387560337,), (1387560340,), (1387560343,), (1387560358,), (1387560369,), (1387560372,), (1387560423,), (1387560426,), (1387560492,), (1387560508,), (1387560509,), (1387560510,), (1387560529,), (1387560539,), (1387560541,), (1387560543,), (1387560553,), (1387560583,), (1387560584,), (1387560585,), (1387560667,), (1387560672,), (1387560673,), (1387560738,), (1387560739,), (1387560769,), (1387561096,), (1387561165,), (1387561166,), (1387561274,), (1387561298,), (1387561300,), (1387561302,), (1387561305,), (1387561306,), (1387561327,), (1387561320,), (1387561323,), (1387561326,), (1387561386,), (1387561388,), (1387561395,), (1387561531,), (1387561572,), (1387561584,), (1387561597,), (1387561641,), (1387561655,), (1387561669,), (1387561783,), (1387561796,), (1387561803,), (1387561809,), (1387561815,), (1387561818,), (1387561824,), (1387561831,), (1387561842,), (1387561844,), (1387561846,), (1387562179,), (1387562181,), (1387562182,), (1387562183,), (1387562267,), (1387562273,), (1387562274,), (1387562290,), (1387562345,), (1387562346,), (1387562347,), (1387562348,), (1387562350,), (1387562352,), (1387562517,), (1387562518,), (1387562520,), (1387562536,), (1387562539,), (1387562542,), (1387562551,), (1387562575,), (1387562611,), (1387562614,), (1387562758,), (1387562770,), (1387562784,), (1387562789,), (1387562803,), (1387562806,), (1387562812,), (1387562814,), (1387562816,), (1387562820,), (1387562829,), (1387562932,), (1387562933,), (1387562963,), (1387562965,), (1387562983,), (1387562990,), (1387563260,), (1387563265,), (1387563271,), (1387563282,), (1387563285,), (1387563293,), (1387563296,), (1387563315,), (1387568315,), (1387568323,), (1387568329,), (1387568336,), (1387568354,), (1387568355,), (1387568357,), (1387568361,), (1387568366,), (1387568369,), (1387568376,), (1387568377,), (1387568383,), (1387568384,), (1387568389,), (1387568391,), (1387568393,), (1387568410,), (1387568421,), (1387568424,), (1387568437,), (1387568444,), (1387568451,), (1387568474,), (1387568476,), (1387568479,), (1387568481,), (1387568488,), (1387568585,), (1387568586,), (1387568620,), (1387568622,), (1387568640,), (1387568683,), (1387568691,), (1387568695,), (1387568698,), (1387568701,), (1387568705,), (1387568718,), (1387568719,), (1387568720,), (1387568724,), (1387568727,), (1387568756,), (1387568762,), (1387568767,), (1387568860,), (1387568872,), (1387568882,), (1387568886,), (1387568893,), (1387568896,), (1387568931,), (1387568932,), (1387568933,), (1387568935,), (1387568954,), (1387568957,), (1387568961,), (1387569206,), (1387569214,), (1387569219,), (1387569240,), (1387569241,), (1387569242,), (1387569245,), (1387569259,), (1387569251,), (1387569256,), (1387569270,), (1387569271,), (1387569273,), (1387569275,), (1387569278,), (1387569281,), (1387569302,), (1387569305,), (1387569306,), (1387569309,), (1387569380,), (1387569382,), (1387569390,), (1387569400,), (1387569403,), (1387569928,), (1387569948,), (1387569950,), (1387569952,), (1387569955,), (1387569969,), (1387569970,), (1387569972,), (1387569976,), (1387569981,), (1387570001,), (1387570004,), (1387570007,), (1387570019,), (1387570022,), (1387570026,), (1387570032,), (1387570033,), (1387570034,), (1387570036,), (1387570068,), (1387570078,), (1387570093,), (1387570100,), (1387570114,), (1387570152,), (1387570164,), (1387570167,), (1387570170,), (1387570178,), (1387570182,), (1387570188,), (1387570189,), (1387570191,), (1387570193,), (1387570195,), (1387570213,), (1387570241,), (1387570249,), (1387570260,), (1387570274,), (1387570303,), (1387570312,), (1387570316,), (1387570380,), (1387570382,), (1387570402,), (1387570406,), (1387570473,), (1387570478,), (1387570483,), (1387570489,), (1387570499,), (1387570504,), (1387570520,), (1387570566,), (1387570554,), (1387570557,), (1387570559,), (1387570562,), (1387570601,), (1387570657,), (1387570658,), (1387570662,), (1387570666,), (1387570668,), (1387570692,), (1387570696,), (1387570719,), (1387572129,), (1387572232,), (1387572241,), (1387572263,), (1387572272,), (1387572688,), (1387572690,), (1387572758,), (1387572782,), (1387572827,), (1387572835,), (1387572860,), (1387572864,), (1387572866,), (1387572871,), (1387572935,), (1387572936,), (1387572942,), (1387572990,), (1387572993,), (1387572997,), (1387573135,), (1387573147,), (1387573158,), (1387573161,), (1387573164,), (1387573168,), (1387573174,), (1387573176,), (1387573178,), (1387573180,), (1387573184,), (1387574264,), (1387574270,), (1387574272,), (1387574379,), (1387574383,), (1387574491,), (1387575069,), (1387575072,), (1387575124,), (1387575195,), (1387575240,), (1387575334,), (1387575336,), (1387575377,), (1387575380,), (1387575382,), (1387575622,), (1387575624,), (1387575629,), (1387575640,), (1387575645,), (1387575649,), (1387575677,), (1387575701,), (1387575704,), (1387575706,), (1387575711,), (1387575725,), (1387575733,), (1387575760,), (1387575763,), (1387575764,), (1387575767,), (1387575938,), (1387575940,), (1387575947,), (1387575951,), (1387576024,), (1387576027,), (1387576029,), (1387576052,), (1387576054,), (1387576055,), (1387576166,), (1387576169,), (1387576956,), (1387576988,), (1387576989,), (1387576992,), (1387577039,), (1387577250,), (1387577254,), (1387577257,), (1387577506,), (1387577507,), (1387577672,), (1387577678,), (1387577682,), (1387577686,), (1387577698,), (1387577700,), (1387578016,), (1387578017,), (1387578307,), (1387578312,), (1387578316,), (1387578330,), (1387578343,), (1387578363,), (1387578383,), (1387578385,), (1387578388,), (1387578533,), (1387578558,), (1387578561,), (1387578565,), (1387578623,), (1387578616,), (1387578617,), (1387578620,), (1387578802,), (1387578823,), (1387578830,), (1387578838,), (1387578842,), (1387578853,), (1387578885,), (1387578886,), (1387578899,), (1387578901,), (1387578962,), (1387578964,), (1387578975,), (1387578981,), (1387578986,), (1387578999,), (1387579000,), (1387579002,), (1387579008,), (1387579014,), (1387579018,), (1387579026,), (1387579029,), (1387579037,), (1387579039,), (1387579044,), (1387579064,), (1387579067,), (1387579072,), (1387579079,), (1387579085,), (1387579116,), (1387579126,), (1387579129,), (1387579133,), (1387579203,), (1387579205,), (1387579214,), (1387579217,), (1387579221,), (1387579243,), (1387579244,), (1387579246,), (1387579249,), (1387579254,), (1387579259,), (1387579316,), (1387579320,), (1387579323,), (1387579348,), (1387579350,), (1387579354,), (1387579358,), (1387579361,), (1387579372,), (1387579392,), (1387579394,), (1387579399,), (1387579404,), (1387579440,), (1387579443,), (1387579446,), (1387579461,), (1387579465,), (1387579468,), (1387579471,), (1387579491,), (1387579494,), (1387579500,), (1387579504,), (1387579511,), (1387579522,), (1387579552,), (1387579562,), (1387579574,), (1387579531,), (1387579535,), (1387579539,), (1387579605,), (1387579620,), (1387579641,), (1387579722,), (1387579726,), (1387579733,), (1387579770,), (1387579779,), (1387579864,), (1387579867,), (1387579870,), (1387579875,), (1387579885,), (1387579922,), (1387579933,), (1387579973,), (1387579978,), (1387580003,), (1387580004,), (1387580009,), (1387580016,), (1387580027,), (1387580034,), (1387580039,), (1387580058,), (1387580070,), (1387580163,), (1387580170,), (1387580236,), (1387580253,), (1387580263,), (1387580269,), (1387580276,), (1387580279,), (1387580288,), (1387580289,), (1387580296,), (1387580299,), (1387580304,), (1387580307,), (1387580322,), (1387580333,), (1387580352,), (1387580362,), (1387580375,), (1387580393,), (1387580415,), (1387580425,), (1387580429,), (1387580433,), (1387580443,), (1387580460,), (1387580474,), (1387580557,), (1387580562,), (1387580574,), (1387580587,), (1387580601,), (1387580616,), (1387580625,), (1387580626,), (1387580632,), (1387580633,), (1387580637,), (1387580638,), (1387580640,), (1387580641,), (1387580643,), (1387580644,), (1387580646,), (1387580647,), (1387580671,), (1387580678,), (1387580684,), (1387580692,), (1387580697,), (1387580704,), (1387580753,), (1387580758,), (1387580761,), (1387580766,), (1387580775,), (1387580779,), (1387580783,), (1387580792,), (1387580795,), (1387581672,), (1387581688,), (1387581713,), (1387581719,), (1387581725,), (1387581732,), (1387581845,), (1387581854,), (1387581863,), (1387583161,), (1387583163,), (1387583168,), (1387583187,), (1387583194,), (1387583256,), (1387583259,), (1387583912,), (1387584206,), (1387584209,), (1387584289,), (1387584291,), (1387584294,), (1387584297,), (1387584488,), (1387584498,), (1387584502,), (1387584505,), (1387584533,), (1387580733,), (1387580745,), (1387580748,), (1387580836,), (1387580841,), (1387580846,), (1387580850,), (1387580853,), (1387581031,), (1387581797,), (1387581820,), (1387581823,), (1387582669,), (1387582760,), (1387582764,), (1387582767,), (1387582833,), (1387582861,), (1387583063,), (1387583102,), (1387583138,), (1387583145,), (1387583149,), (1387583152,), (1387583155,), (1387583226,), (1387583246,), (1387583248,), (1387583252,), (1387583289,), (1387583294,), (1387583901,), (1387583905,), (1387583909,), (1387583921,), (1387583922,), (1387584091,), (1387584093,), (1387584097,), (1387584178,), (1387584348,), (1387584352,), (1387584368,), (1387584385,), (1387584390,), (1387584494,), (1387584495,), (1387584496,), (1387584540,), (1387584541,), (1387584544,), (1387584550,), (1387584552,), (1387584778,), (1387584782,), (1387584787,), (1387584821,), (1387584827,), (1387584830,), (1387584870,), (1387584886,), (1387584889,), (1387584894,), (1387584904,), (1387584907,), (1387584924,), (1387584926,), (1387584928,), (1387584950,), (1387584953,), (1387584955,), (1387584957,), (1387584961,), (1387585001,), (1387585002,), (1387585004,), (1387585007,), (1387585014,), (1387585027,), (1387585093,), (1387585095,), (1387585103,), (1387585105,), (1387585115,), (1387585130,), (1387585118,), (1387585122,), (1387585126,), (1387585156,), (1387585157,), (1387585158,), (1387585161,), (1387585166,), (1387585176,), (1387585600,), (1387585603,), (1387585606,), (1387585608,), (1387585651,), (1387585653,), (1387585656,), (1387585660,), (1387585667,), (1387585674,), (1387585713,), (1387585714,), (1387585739,), (1387585748,), (1387585755,), (1387585769,), (1387585772,), (1387585775,), (1387585780,), (1387585811,), (1387585813,), (1387585817,), (1387585850,), (1387585854,), (1387585864,), (1387585877,), (1387585879,), (1387585880,), (1387585893,), (1387585896,), (1387585899,), (1387585903,), (1387585907,), (1387585927,), (1387585928,), (1387585929,), (1387585931,), (1387585935,), (1387585945,), (1387585963,), (1387585970,), (1387585976,), (1387585980,), (1387585989,), (1387585994,), (1387585999,), (1387586001,), (1387586002,), (1387586003,), (1387586005,), (1387586010,), (1387586014,), (1387586017,), (1387586021,), (1387586025,), (1387586029,), (1387586034,), (1387586036,), (1387586037,), (1387586039,), (1387586047,), (1387586052,), (1387586067,), (1387586099,), (1387586101,), (1387586110,), (1387586112,), (1387586121,), (1387586218,), (1387586220,), (1387586221,), (1387586223,), (1387586251,), (1387586253,), (1387586255,), (1387586258,), (1387588574,), (1387588528,), (1387588572,), (1387588573,), (1387588593,), (1387588653,), (1387588654,), (1387588655,), (1387588677,), (1387588697,), (1387588706,), (1387588710,), (1387588714,), (1387588726,), (1387588728,), (1387588729,), (1387588731,), (1387588745,), (1387588746,), (1387588747,), (1387588752,), (1387589275,), (1387589277,), (1387589279,), (1387589830,), (1387590320,), (1387590972,), (1387590976,), (1387590985,), (1387590989,), (1387591130,), (1387591511,), (1387592743,), (1387591502,), (1387591507,), (1387591693,), (1387592590,), (1387592725,), (1387592727,), (1387592738,), (1387592740,), (1387592762,), (1387592769,), (1387592779,), (1387592786,), (1387593041,), (1387593661,), (1387593807,), (1387593879,), (1387593893,), (1387593991,), (1387593994,), (1387594003,), (1387594005,), (1387594007,), (1387594033,), (1387594040,), (1387594042,), (1387594044,), (1387594046,), (1387594047,), (1387594049,), (1387594052,), (1387594059,), (1387594060,), (1387594061,), (1387594065,), (1387594068,), (1387594069,), (1387594077,), (1387594079,), (1387594080,), (1387594096,), (1387595619,), (1387595622,), (1387595625,), (1387595857,), (1387595908,), (1387596170,), (1387596198,), (1387596360,), (1387596364,), (1387596367,), (1387596370,), (1387619827,), (1387617601,), (1387619825,), (1387619841,), (1387619843,), (1387619867,), (1387619869,), (1387619870,), (1387620017,), (1387620061,), (1387620064,), (1387620176,), (1387620178,), (1387621244,), (1387621644,), (1387621647,), (1387622319,), (1387622324,), (1387622330,), (1387622341,), (1387622354,), (1387622361,), (1387622387,), (1387622707,), (1387622389,), (1387622391,), (1387622392,), (1387622904,), (1387622905,), (1387622907,), (1387622911,), (1387622914,), (1387622923,), (1387622937,), (1387622939,), (1387622940,), (1387622943,), (1387622948,), (1387622983,), (1387622984,), (1387622985,), (1387624326,), (1387625541,), (1387625893,), (1387625807,), (1387625809,), (1387625812,), (1387625815,), (1387625891,), (1387625901,), (1387625920,), (1387625922,), (1387625924,), (1387625931,), (1387625933,), (1387625939,), (1387625941,), (1387625943,), (1387625946,), (1387625948,), (1387625977,), (1387626398,), (1387626810,), (1387626812,), (1387626822,), (1387626831,), (1387626833,), (1387626834,), (1387627008,), (1387627061,), (1387627062,), (1387627106,), (1387627108,), (1387627111,), (1387627114,), (1387627120,), (1387627127,), (1387627131,), (1387627134,), (1387627138,), (1387627161,), (1387627163,), (1387627166,), (1387627169,), (1387627173,), (1387627184,), (1387628087,), (1387628088,), (1387628089,), (1387628091,), (1387628404,), (1387628406,), (1387628408,), (1387628412,), (1387628515,), (1387628518,), (1387628609,), (1387628610,), (1387628611,), (1387628614,), (1387628618,), (1387628621,), (1387629481,), (1387629482,), (1387629487,), (1387629491,), (1387629499,), (1387629502,), (1387629527,), (1387629530,), (1387629541,), (1387629542,), (1387629586,), (1387629827,), (1387629891,), (1387629898,), (1387629901,), (1387630407,), (1387630508,), (1387630529,), (1387630534,), (1387630537,), (1387630900,), (1387630907,), (1387630912,), (1387630924,), (1387630931,), (1387630934,), (1387630938,), (1387630939,), (1387630942,), (1387630944,), (1387630945,), (1387630961,), (1387630950,), (1387630954,), (1387630957,), (1387630959,), (1387630970,), (1387630971,), (1387630972,), (1387630975,), (1387630978,), (1387630987,), (1387631046,), (1387631053,), (1387631064,), (1387631066,), (1387631070,), (1387631146,), (1387631147,), (1387631149,), (1387631157,), (1387631165,), (1387631169,), (1387631324,), (1387631339,), (1387631341,), (1387631344,), (1387631402,), (1387631404,), (1387631405,), (1387631419,), (1387631422,), (1387631430,), (1387631454,), (1387631455,), (1387631461,), (1387631464,), (1387631466,), (1387631487,), (1387631492,), (1387631493,), (1387631494,), (1387631496,), (1387631621,), (1387631660,), (1387631682,), (1387631695,), (1387631740,), (1387631751,), (1387631770,), (1387631779,), (1387631782,), (1387631971,), (1387631978,), (1387632012,), (1387632017,), (1387632053,), (1387632063,), (1387632065,), (1387632066,), (1387632141,), (1387632144,), (1387632145,), (1387632148,), (1387632160,), (1387632663,), (1387633073,), (1387633107,), (1387633108,), (1387633178,), (1387633180,), (1387633181,), (1387633217,), (1387633484,), (1387633440,), (1387633462,), (1387633467,), (1387633471,), (1387633475,), (1387633477,), (1387633482,), (1387633483,), (1387633490,), (1387633491,), (1387633511,), (1387633514,), (1387633524,), (1387633528,), (1387633537,), (1387633539,), (1387633540,), (1387633543,), (1387633548,), (1387633552,), (1387633561,), (1387633562,), (1387633564,), (1387633568,), (1387633573,), (1387633576,), (1387633581,), (1387633583,), (1387633584,), (1387633587,), (1387633588,), (1387633590,), (1387633607,), (1387633618,), (1387633622,), (1387633725,), (1387633876,), (1387634513,), (1387634559,), (1387634601,), (1387634836,), (1387634839,), (1387634842,), (1387634845,), (1387635026,), (1387635028,), (1387635029,), (1387635031,), (1387635034,), (1387635400,), (1387635401,), (1387635417,), (1387635448,), (1387635452,), (1387635459,), (1387635548,), (1387635570,), (1387635574,), (1387635580,), (1387635602,), (1387635606,), (1387635627,), (1387635628,), (1387635733,), (1387635778,), (1387635785,), (1387635789,), (1387635818,), (1387635833,), (1387635856,), (1387635925,), (1387636380,), (1387636382,), (1387636383,), (1387636387,), (1387636389,), (1387636397,), (1387636484,), (1387636486,), (1387636488,), (1387636490,), (1387636591,), (1387636576,), (1387636579,), (1387636583,), (1387636586,), (1387636723,), (1387636732,), (1387636733,), (1387636736,), (1387636742,), (1387636747,), (1387636795,), (1387636806,), (1387636807,), (1387636820,), (1387636826,), (1387636847,), (1387637150,), (1387637154,), (1387637196,), (1387637227,), (1387637234,), (1387637252,), (1387637259,), (1387637260,), (1387637266,), (1387638109,), (1387638110,), (1387638111,), (1387638115,), (1387638118,), (1387638121,), (1387638395,), (1387638397,), (1387638399,), (1387638402,), (1387638405,), (1387638408,), (1387638427,), (1387638629,), (1387638727,), (1387638757,), (1387638775,), (1387638788,), (1387638829,), (1387638832,), (1387638835,), (1387638844,), (1387639029,), (1387639869,), (1387639871,), (1387639908,), (1387639926,), (1387640274,), (1387640738,), (1387640746,), (1387640755,), (1387640758,), (1387640761,), (1387640764,), (1387640771,), (1387640774,), (1387640948,), (1387641070,), (1387641136,), (1387641159,), (1387641162,), (1387641167,), (1387641170,), (1387641179,), (1387641443,), (1387641445,), (1387641448,), (1387641453,), (1387641500,), (1387641502,), (1387641503,), (1387641505,), (1387641509,), (1387641513,), (1387641531,), (1387641547,), (1387641552,), (1387641586,), (1387641592,), (1387641594,), (1387641596,), (1387641597,), (1387641626,), (1387643231,), (1387641605,), (1387641617,), (1387641620,), (1387641623,), (1387641625,), (1387642221,), (1387642225,), (1387642243,), (1387642247,), (1387642251,), (1387642331,), (1387643213,), (1387643221,), (1387643229,), (1387643272,), (1387643276,), (1387643282,), (1387643488,), (1387643490,), (1387643492,), (1387643595,), (1387643596,), (1387643599,), (1387643602,), (1387643605,), (1387643614,), (1387643616,), (1387643618,), (1387643620,), (1387643623,), (1387643626,), (1387644586,), (1387644587,), (1387644959,), (1387644963,), (1387645170,), (1387645176,), (1387645186,), (1387645188,), (1387645506,), (1387645523,), (1387645824,), (1387645826,), (1387645923,), (1387645948,), (1387645998,), (1387646052,), (1387646054,), (1387646055,), (1387646057,), (1387646060,), (1387646063,), (1387646092,), (1387646093,), (1387646094,), (1387646097,), (1387646102,), (1387646113,), (1387646114,), (1387646115,), (1387646117,), (1387646670,), (1387646672,), (1387646744,), (1387646749,), (1387646752,), (1387646755,), (1387646771,), (1387646805,), (1387646819,), (1387646820,), (1387646822,), (1387646826,), (1387646829,), (1387646839,), (1387646840,), (1387646841,), (1387646843,), (1387646847,), (1387646867,), (1387646869,), (1387646871,), (1387646875,), (1387646879,), (1387646889,), (1387646916,), (1387646929,), (1387646919,), (1387646921,), (1387646924,), (1387646946,), (1387646949,), (1387646955,), (1387646961,), (1387647085,), (1387647662,), (1387647929,), (1387647958,), (1387647965,), (1387647968,), (1387647973,), (1387647993,), (1387648476,), (1387648477,), (1387648509,), (1387648512,), (1387649545,), (1387649548,), (1387649550,), (1387649553,), (1387649804,), (1387649881,), (1387650168,), (1387650170,), (1387650173,), (1387650176,), (1387650181,), (1387650189,), (1387650194,), (1387650402,), (1387650404,), (1387650407,), (1387650410,), (1387650613,), (1387650659,), (1387650661,), (1387650784,), (1387650786,), (1387650835,), (1387651340,), (1387651341,), (1387651343,), (1387651347,), (1387651354,), (1387651358,), (1387651364,), (1387651365,), (1387651366,), (1387651369,), (1387651370,), (1387651373,), (1387651377,), (1387651381,), (1387651385,), (1387651395,), (1387651397,), (1387651398,), (1387651401,), (1387651405,), (1387651424,), (1387651426,), (1387651430,), (1387651433,), (1387651436,), (1387651439,), (1387651598,), (1387651599,), (1387651601,), (1387651679,), (1387651773,), (1387651980,), (1387652462,), (1387652695,), (1387652698,), (1387652728,), (1387652733,), (1387652735,), (1387652736,), (1387652738,), (1387653116,), (1387652709,), (1387652710,), (1387652712,), (1387652717,), (1387652726,), (1387653192,), (1387653196,), (1387653200,), (1387653204,), (1387653261,), (1387653434,), (1387653437,), (1387653443,), (1387653446,), (1387653484,), (1387653497,), (1387653498,), (1387653499,), (1387653646,), (1387653815,), (1387653826,), (1387653827,), (1387653829,), (1387653836,), (1387653840,), (1387653843,), (1387653848,), (1387653850,), (1387653851,), (1387653852,), (1387653855,), (1387653856,), (1387653858,), (1387653861,), (1387653878,), (1387653884,), (1387653894,), (1387653897,), (1387653902,), (1387653907,), (1387653964,), (1387653966,), (1387653969,), (1387653975,), (1387653979,), (1387654030,), (1387654032,), (1387654035,), (1387654087,), (1387654093,), (1387654104,), (1387654237,), (1387654239,), (1387654240,), (1387654242,), (1387654259,), (1387654261,), (1387654263,), (1387654266,), (1387654270,), (1387654274,), (1387654445,), (1387654446,), (1387654448,), (1387654451,), (1387654454,), (1387654457,), (1387654462,), (1387654464,), (1387654465,), (1387654466,), (1387654478,), (1387654488,), (1387654492,), (1387654504,), (1387654514,), (1387654540,), (1387654565,), (1387654567,), (1387654570,), (1387654573,), (1387655812,), (1387655814,), (1387655817,), (1387655822,), (1387655826,), (1387655830,), (1387655837,), (1387655838,), (1387655839,), (1387655841,), (1387656210,), (1387655995,), (1387656184,), (1387656203,), (1387656221,), (1387656223,), (1387656225,), (1387656259,), (1387656470,), (1387656479,), (1387656504,), (1387656602,), (1387656885,), (1387656888,), (1387656890,), (1387656893,), (1387657268,), (1387657398,), (1387657432,), (1387657433,), (1387657436,), (1387657537,), (1387657542,), (1387657548,), (1387657551,), (1387657553,), (1387657554,), (1387657683,), (1387657684,), (1387657685,), (1387657687,), (1387657730,), (1387657732,), (1387657736,), (1387657741,), (1387657747,), (1387657754,), (1387657881,), (1387657882,), (1387657883,), (1387657889,), (1387657898,), (1387657901,), (1387657906,), (1387657909,), (1387658598,), (1387658601,), (1387658603,), (1387658608,), (1387658613,), (1387658616,), (1387658851,), (1387658852,), (1387659218,), (1387659220,), (1387659224,), (1387659567,), (1387659760,), (1387659853,), (1387659865,), (1387659870,), (1387659889,), (1387659980,), (1387660088,), (1387660118,), (1387660173,), (1387660179,), (1387660184,), (1387660188,), (1387660192,), (1387660196,), (1387660203,), (1387660204,), (1387660205,), (1387660208,), (1387660212,), (1387660282,), (1387660284,), (1387660286,), (1387660288,), (1387660292,), (1387660295,), (1387660311,), (1387660316,), (1387660319,), (1387660323,), (1387660332,), (1387660333,), (1387660335,), (1387660336,), (1387660338,), (1387660339,), (1387660352,), (1387660353,), (1387660355,), (1387660356,), (1387660396,), (1387661232,), (1387660371,), (1387660375,), (1387660390,), (1387660393,), (1387660436,), (1387660437,), (1387660439,), (1387660441,), (1387660444,), (1387660489,), (1387661226,), (1387661229,), (1387661230,), (1387661233,), (1387661235,), (1387661238,), (1387661245,), (1387661544,), (1387661545,), (1387661646,), (1387661649,), (1387661692,), (1387661713,), (1387661731,), (1387661736,), (1387662322,), (1387662593,), (1387662596,), (1387662603,), (1387662608,), (1387662610,), (1387662611,), (1387662612,), (1387662726,), (1387662894,), (1387662898,), (1387662902,), (1387662956,), (1387662957,), (1387663520,), (1387663536,), (1387663537,), (1387663539,), (1387663838,), (1387663868,), (1387663870,), (1387663873,), (1387663880,), (1387663883,), (1387664196,), (1387664197,), (1387664198,), (1387664200,), (1387664373,), (1387664461,), (1387664463,), (1387664466,), (1387664469,), (1387664565,), (1387664572,), (1387664573,), (1387664575,), (1387664578,), (1387664583,), (1387664871,), (1387664872,), (1387664875,), (1387664994,), (1387665006,), (1387665009,), (1387665120,), (1387665121,), (1387665125,), (1387665244,), (1387665249,), (1387665273,), (1387665279,), (1387665290,), (1387665296,), (1387665446,), (1387665470,), (1387665497,), (1387665499,), (1387665503,), (1387665507,), (1387665516,), (1387665517,), (1387665520,), (1387665523,), (1387665526,), (1387665536,), (1387665555,), (1387665560,), (1387665562,), (1387665563,), (1387665597,), (1387665574,), (1387665580,), (1387665583,), (1387665611,), (1387665613,), (1387665615,), (1387665618,), (1387665621,), (1387665627,), (1387665643,), (1387665650,), (1387665651,), (1387665654,), (1387665697,), (1387665698,), (1387665700,), (1387665705,), (1387665709,), (1387665714,), (1387665827,), (1387665859,), (1387665882,), (1387665884,), (1387665935,), (1387665936,), (1387665937,), (1387665939,), (1387666387,), (1387666977,), (1387667007,), (1387667011,), (1387667016,), (1387667020,), (1387667024,), (1387667027,), (1387667377,), (1387667378,), (1387667379,), (1387667380,), (1387667383,), (1387667391,), (1387667393,), (1387667397,), (1387667403,), (1387667407,), (1387667684,), (1387667717,), (1387668025,), (1387668033,), (1387668036,), (1387668040,), (1387668048,), (1387668055,), (1387668058,), (1387668061,), (1387668062,), (1387668064,), (1387668220,), (1387668222,), (1387668251,), (1387668272,), (1387668275,), (1387668375,), (1387668376,), (1387668379,), (1387669542,), (1387669543,), (1387669545,), (1387669548,), (1387669552,), (1387669556,), (1387669888,), (1387669900,), (1387669925,), (1387669927,), (1387669928,), (1387669931,), (1387670143,), (1387670236,), (1387670271,), (1387670361,), (1387670605,), (1387670607,), (1387670608,), (1387670609,), (1387670611,), (1387670257,), (1387670258,), (1387670261,), (1387670266,), (1387670614,), (1387670619,), (1387670621,), (1387670631,), (1387670635,), (1387670655,), (1387670656,), (1387670665,), (1387670676,), (1387670680,), (1387670684,), (1387670690,), (1387670692,), (1387670695,), (1387670712,), (1387670714,), (1387670716,), (1387670721,), (1387670725,), (1387670735,), (1387670745,), (1387670748,), (1387670749,), (1387670763,), (1387670764,), (1387670765,), (1387670779,), (1387670791,), (1387670796,), (1387670868,), (1387670869,), (1387670870,), (1387670872,), (1387670960,), (1387671002,), (1387671060,), (1387671087,), (1387671091,), (1387671093,), (1387671103,), (1387671105,), (1387671107,), (1387671110,), (1387671123,), (1387671124,), (1387671125,), (1387671127,), (1387671130,), (1387671133,), (1387671143,), (1387671145,), (1387671147,), (1387671186,), (1387671195,), (1387671199,), (1387671207,), (1387671211,), (1387671227,), (1387671234,), (1387671257,), (1387671259,), (1387671272,), (1387671273,), (1387671274,), (1387671276,), (1387671434,), (1387671437,), (1387671438,), (1387671440,), (1387671443,), (1387671446,), (1387671455,), (1387671457,), (1387671459,), (1387671465,), (1387671468,), (1387671471,), (1387672520,), (1387672522,), (1387672523,), (1387672524,), (1387672545,), (1387672527,), (1387672530,), (1387672534,), (1387672538,), (1387672542,), (1387672858,), (1387672869,), (1387672871,), (1387673183,), (1387673184,), (1387673185,), (1387673187,), (1387673190,), (1387673193,), (1387673210,), (1387673512,), (1387673529,), (1387673532,), (1387674694,), (1387674639,), (1387674809,), (1387674816,), (1387674817,), (1387674952,), (1387674954,), (1387674955,), (1387674973,), (1387674975,), (1387674991,), (1387675008,), (1387675009,), (1387675011,), (1387675015,), (1387675035,), (1387675036,), (1387675039,), (1387675043,), (1387675047,), (1387675051,), (1387675071,), (1387675073,), (1387675075,), (1387675077,), (1387675079,), (1387675082,), (1387675097,), (1387675099,), (1387675100,), (1387675103,), (1387675167,), (1387675170,), (1387675172,), (1387675175,), (1387675181,), (1387675221,), (1387675223,), (1387675224,), (1387675227,), (1387675232,), (1387675254,), (1387675256,), (1387675257,), (1387676407,), (1387676404,), (1387676423,), (1387676425,), (1387676445,), (1387676447,), (1387676449,), (1387676452,), (1387676468,), (1387676470,), (1387676474,), (1387676479,), (1387676487,), (1387676489,), (1387676492,), (1387676494,), (1387676496,), (1387676500,), (1387676502,), (1387676503,), (1387676505,), (1387676508,), (1387676523,), (1387676528,), (1387676536,), (1387676564,), (1387676567,), (1387676569,), (1387676572,), (1387676605,), (1387676606,), (1387676618,), (1387676649,), (1387676651,), (1387676653,), (1387676655,), (1387676670,), (1387676672,), (1387676674,), (1387676678,), (1387676684,), (1387676694,), (1387676695,), (1387676697,), (1387676700,), (1387676703,), (1387676706,), (1387676711,), (1387676712,), (1387676713,), (1387676717,), (1387676908,), (1387676911,), (1387676912,), (1387676972,), (1387676961,), (1387676962,), (1387676963,), (1387676965,), (1387676968,), (1387677170,), (1387677173,), (1387677179,), (1387677222,), (1387677632,), (1387677633,), (1387677634,), (1387677637,), (1387677670,), (1387677677,), (1387677687,), (1387677701,), (1387677781,), (1387677782,), (1387677783,), (1387677786,), (1387677804,), (1387677806,), (1387677808,), (1387678136,), (1387678137,), (1387678138,), (1387678140,), (1387678143,), (1387678153,), (1387678154,), (1387678155,), (1387678157,), (1387678185,), (1387678186,), (1387678187,), (1387678189,), (1387678192,), (1387678205,), (1387678214,), (1387678216,), (1387678224,), (1387678230,), (1387678233,), (1387678238,), (1387678240,), (1387678243,), (1387678245,), (1387678247,), (1387678268,), (1387678271,), (1387678276,), (1387678277,), (1387678289,), (1387678290,), (1387678309,), (1387678310,), (1387678311,), (1387678327,), (1387678329,), (1387678332,), (1387678335,), (1387678339,), (1387678354,), (1387678371,), (1387678373,), (1387678391,), (1387678392,), (1387678393,), (1387678396,), (1387678400,), (1387678733,), (1387678735,), (1387678737,), (1387678740,), (1387678744,), (1387678748,), (1387678756,), (1387678757,), (1387678759,), (1387678764,), (1387678767,), (1387678770,), (1387678775,), (1387678777,), (1387678778,), (1387678779,), (1387678780,), (1387678781,), (1387678840,), (1387678850,), (1387678854,), (1387678858,), (1387679184,), (1387679185,), (1387679186,), (1387679189,), (1387679193,), (1387679196,), (1387679215,), (1387679217,), (1387679219,), (1387679222,), (1387679381,), (1387679382,), (1387679383,), (1387679399,), (1387679400,), (1387679401,), (1387679403,), (1387679406,), (1387679410,), (1387679626,), (1387679627,), (1387679628,), (1387679630,), (1387679636,), (1387679649,), (1387679654,), (1387679662,), (1387679666,), (1387679668,), (1387679670,), (1387679675,), (1387679677,), (1387679678,), (1387679682,), (1387679683,), (1387679685,), (1387679705,), (1387679707,), (1387679709,), (1387679730,), (1387679733,), (1387679738,), (1387679748,), (1387679803,), (1387679792,), (1387679793,), (1387679795,), (1387679798,), (1387679819,), (1387679820,), (1387679821,), (1387679823,), (1387679827,), (1387679847,), (1387679848,), (1387679849,), (1387679851,), (1387679901,), (1387679902,), (1387680210,), (1387680211,), (1387680212,), (1387680214,), (1387680217,), (1387680234,), (1387680236,), (1387680240,), (1387680245,), (1387680249,), (1387680253,), (1387680262,), (1387680263,), (1387680264,), (1387680285,), (1387680287,), (1387680289,), (1387680309,), (1387680344,), (1387680341,), (1387680343,), (1387680363,), (1387680364,), (1387680365,), (1387680367,), (1387680372,), (1387680375,), (1387680454,), (1387680455,), (1387680456,), (1387680459,), (1387680483,), (1387680484,), (1387680485,), (1387680487,), (1387680521,), (1387680522,), (1387680524,), (1387680528,), (1387680531,), (1387680534,), (1387680539,), (1387680541,), (1387680542,), (1387680543,), (1387680545,), (1387680547,), (1387680551,), (1387680555,), (1387680559,), (1387680571,), (1387680572,), (1387680573,), (1387680575,), (1387680598,), (1387680599,), (1387680602,), (1387680621,), (1387680624,), (1387680626,), (1387680689,), (1387680690,), (1387680691,), (1387680693,), (1387680705,), (1387680706,), (1387680708,), (1387680712,), (1387680716,), (1387680720,), (1387680730,), (1387680731,), (1387680732,), (1387680734,), (1387680739,), (1387680817,), (1387680818,), (1387680823,), (1387680825,), (1387680829,), (1387680832,), (1387680835,), (1387680838,), (1387680841,), (1387680842,), (1387680844,), (1387680847,), (1387680850,), (1387680857,), (1387680860,), (1387680870,), (1387680886,), (1387680887,), (1387680888,), (1387680890,), (1387680907,), (1387680908,), (1387680910,), (1387680913,), (1387680916,), (1387680924,), (1387680935,), (1387680937,), (1387680938,), (1387680955,), (1387680939,), (1387680941,), (1387680944,), (1387680948,), (1387680952,), (1387680959,), (1387680960,), (1387680961,), (1387681016,), (1387681018,), (1387681020,), (1387681023,), (1387681027,), (1387681030,), (1387681042,), (1387681043,), (1387681044,), (1387681046,), (1387681049,), (1387681054,), (1387681065,), (1387681066,), (1387681067,), (1387681088,), (1387681089,), (1387681090,), (1387681092,), (1387681096,), (1387681107,), (1387681108,), (1387681109,), (1387681111,), (1387681114,), (1387681156,), (1387681254,), (1387681387,), (1387681428,), (1387681386,), (1387681404,), (1387681405,), (1387681408,), (1387681413,), (1387681419,), (1387681423,), (1387681430,), (1387681448,), (1387681465,), (1387681473,), (1387681478,), (1387681495,), (1387681522,), (1387681524,), (1387681526,), (1387681631,), (1387681633,), (1387681635,), (1387681638,), (1387681644,), (1387681721,), (1387681722,), (1387681725,), (1387681729,), (1387681731,), (1387681734,), (1387681742,), (1387681744,), (1387681745,), (1387681748,), (1387681752,), (1387681761,), (1387681769,), (1387681771,), (1387681774,), (1387681778,), (1387681781,), (1387681784,), (1387681791,), (1387681794,), (1387681810,), (1387681816,), (1387681841,), (1387681844,), (1387681849,), (1387681852,), (1387681855,), (1387681858,), (1387682021,), (1387682053,), (1387682055,), (1387682058,), (1387682062,), (1387682102,), (1387682342,), (1387682344,), (1387682348,), (1387682353,), (1387682361,), (1387682365,), (1387682372,), (1387682375,), (1387682376,), (1387682377,), (1387682387,), (1387682378,), (1387682379,), (1387682381,), (1387682384,), (1387682394,), (1387682396,), (1387682399,), (1387682404,), (1387682414,), (1387682418,), (1387682563,), (1387682564,), (1387682582,), (1387682590,), (1387682592,), (1387682594,), (1387682598,), (1387682614,), (1387682615,), (1387682616,), (1387682618,), (1387682637,), (1387682762,), (1387682767,), (1387682772,), (1387682779,), (1387682787,), (1387682792,), (1387682795,), (1387682796,), (1387682797,), (1387682798,), (1387682812,), (1387682813,), (1387682814,), (1387682846,), (1387682847,), (1387682848,), (1387682878,), (1387682886,), (1387682890,), (1387682893,), (1387682896,), (1387682898,), (1387682918,), (1387682920,), (1387682923,), (1387682927,), (1387682929,), (1387682932,), (1387682938,), (1387682943,), (1387682946,), (1387683048,), (1387683049,), (1387683055,), (1387683087,), (1387683088,), (1387683089,), (1387683091,), (1387683110,), (1387683115,), (1387683119,), (1387683124,), (1387683127,), (1387683130,), (1387683135,), (1387683137,), (1387683140,), (1387683191,), (1387683157,), (1387683160,), (1387683178,), (1387683207,), (1387683209,), (1387683211,), (1387683238,), (1387683241,), (1387683246,), (1387683250,), (1387683255,), (1387683275,), (1387683276,), (1387683277,), (1387683279,), (1387683282,), (1387683292,), (1387683293,), (1387683295,), (1387683299,), (1387683302,), (1387683305,), (1387683310,), (1387683312,), (1387683313,), (1387683314,), (1387683316,), (1387683320,), (1387683322,), (1387683326,), (1387683367,), (1387683374,), (1387683376,), (1387683404,), (1387683409,), (1387683427,), (1387683477,), (1387683596,), (1387683598,), (1387683618,), (1387683672,), (1387683697,), (1387683800,), (1387683802,), (1387683806,), (1387683826,), (1387683841,), (1387683842,), (1387683844,), (1387683909,), (1387683910,), (1387683913,), (1387683915,), (1387683918,), (1387683977,), (1387684059,), (1387684061,), (1387684076,), (1387684077,), (1387684078,), (1387684174,), (1387684175,), (1387684176,), (1387684180,), (1387684184,), (1387684192,), (1387684219,), (1387684266,), (1387684268,), (1387684271,), (1387684274,), (1387684285,), (1387684286,), (1387684289,), (1387684292,), (1387684295,), (1387684315,), (1387684348,), (1387684350,), (1387684366,), (1387684351,), (1387684352,), (1387684627,), (1387684629,), (1387684631,), (1387685052,), (1387685053,), (1387685054,), (1387685071,), (1387685079,), (1387685080,), (1387685099,), (1387685100,), (1387685105,), (1387685208,), (1387685210,), (1387685212,), (1387685214,), (1387685251,), (1387685252,), (1387685253,), (1387685255,), (1387685258,), (1387685268,), (1387685269,), (1387685270,), (1387685272,), (1387685288,), (1387685291,), (1387685293,), (1387685298,), (1387685302,), (1387685312,), (1387685321,), (1387685323,), (1387685326,), (1387685331,), (1387685334,), (1387685337,), (1387685339,), (1387685340,), (1387685341,), (1387685342,), (1387685364,), (1387685670,), (1387685660,), (1387685661,), (1387685662,), (1387685664,), (1387685667,), (1387685688,), (1387685706,), (1387685726,), (1387685735,), (1387685744,), (1387685766,), (1387685768,), (1387685770,), (1387685787,), (1387685788,), (1387685791,), (1387685795,), (1387685802,), (1387685805,), (1387685809,), (1387685815,), (1387685820,), (1387685821,), (1387685824,), (1387685827,), (1387685832,), (1387685860,), (1387685861,), (1387685862,), (1387685864,), (1387685867,), (1387685872,), (1387685887,), (1387685888,), (1387685907,), (1387685908,), (1387685909,), (1387685911,), (1387685915,), (1387685919,), (1387685936,), (1387685937,), (1387685939,), (1387685941,), (1387685944,), (1387685954,), (1387686001,), (1387686003,), (1387686016,), (1387686029,), (1387686031,), (1387686039,), (1387686540,), (1387686537,), (1387686612,), (1387686640,), (1387686641,), (1387686642,), (1387686645,), (1387686649,), (1387686662,), (1387686663,), (1387686664,), (1387686666,), (1387686669,), (1387686677,), (1387686678,), (1387686679,), (1387686681,), (1387686827,), (1387686829,), (1387686860,), (1387686876,), (1387686877,), (1387686878,), (1387686880,), (1387686883,), (1387686886,), (1387686904,), (1387686910,), (1387686911,), (1387686913,), (1387686951,), (1387686953,), (1387686955,), (1387686958,), (1387687149,), (1387687152,), (1387687155,), (1387687162,), (1387687208,), (1387687217,), (1387687221,), (1387687239,), (1387687254,), (1387687242,), (1387687243,), (1387687244,), (1387687247,), (1387687251,), (1387687298,), (1387687302,), (1387687303,), (1387687305,), (1387687335,), (1387687400,), (1387687564,), (1387687576,), (1387687580,), (1387687680,), (1387687688,), (1387687689,), (1387687691,), (1387687800,), (1387687802,), (1387687836,), (1387687840,), (1387687908,), (1387687909,), (1387688081,), (1387688206,), (1387688209,), (1387688212,), (1387688313,), (1387688315,), (1387688316,), (1387688360,), (1387688362,), (1387688363,), (1387688365,), (1387688368,), (1387688386,), (1387688388,), (1387688390,), (1387688393,), (1387688397,), (1387688414,), (1387688415,), (1387688417,), (1387688421,), (1387688426,), (1387688429,), (1387688433,), (1387688434,), (1387688435,), (1387688436,), (1387688437,), (1387688438,), (1387688440,), (1387688454,), (1387688456,), (1387688516,), (1387688518,), (1387688537,), (1387688544,), (1387688557,), (1387688559,), (1387688575,), (1387688578,), (1387688580,), (1387688583,), (1387688586,), (1387688620,), (1387688978,), (1387688601,), (1387688614,), (1387688615,), (1387688617,), (1387688655,), (1387688657,), (1387688659,), (1387688662,), (1387688665,), (1387688669,), (1387688849,), (1387688976,), (1387688977,), (1387688981,), (1387688986,), (1387688995,), (1387689002,), (1387689003,), (1387689004,), (1387689006,), (1387689009,), (1387689016,), (1387689017,), (1387689019,), (1387689022,), (1387689029,), (1387689032,), (1387689037,), (1387689040,), (1387689043,), (1387689046,), (1387689048,), (1387689050,), (1387689054,), (1387689056,), (1387689069,), (1387689070,), (1387689072,), (1387689235,), (1387689238,), (1387689240,), (1387689244,), (1387689246,), (1387689249,), (1387689259,), (1387689261,), (1387689263,), (1387689267,), (1387689272,), (1387689303,), (1387689305,), (1387689307,), (1387689325,), (1387689326,), (1387689327,), (1387689329,), (1387689332,), (1387689335,), (1387689341,), (1387689347,), (1387689354,), (1387689366,), (1387689372,), (1387689375,), (1387689379,), (1387689380,), (1387689381,), (1387689382,), (1387689391,), (1387689392,), (1387689398,), (1387689400,), (1387689402,), (1387689414,), (1387689415,), (1387689416,), (1387689418,), (1387689421,), (1387689424,), (1387689432,), (1387689433,), (1387689435,), (1387689438,), (1387689445,), (1387689448,), (1387689453,), (1387689454,), (1387689456,), (1387689458,), (1387689460,), (1387689462,), (1387689482,), (1387689471,), (1387689474,), (1387689479,), (1387689485,), (1387689486,), (1387689487,), (1387689489,), (1387689514,), (1387689516,), (1387689518,), (1387689520,), (1387689533,), (1387689536,), (1387689547,), (1387689551,), (1387689555,), (1387689562,), (1387689574,), (1387689576,), (1387689578,), (1387689580,), (1387689593,), (1387689595,), (1387689596,), (1387689599,), (1387689603,), (1387689616,), (1387689617,), (1387689620,), (1387689624,), (1387689628,), (1387689639,), (1387689664,), (1387689678,), (1387689679,), (1387689682,), (1387689683,), (1387689685,), (1387689688,), (1387689706,), (1387689708,), (1387689710,), (1387689713,), (1387689718,), (1387689731,), (1387689737,), (1387689752,), (1387689756,), (1387689769,), (1387689776,), (1387689777,), (1387689778,), (1387689780,), (1387689783,), (1387689786,), (1387689791,), (1387689793,), (1387689794,), (1387689795,), (1387689797,), (1387689805,), (1387689816,), (1387689851,), (1387689852,), (1387689854,), (1387689856,), (1387689884,), (1387689887,), (1387689892,), (1387689896,), (1387689899,), (1387689905,), (1387689907,), (1387689909,), (1387689912,), (1387689923,), (1387689919,), (1387689965,), (1387689968,), (1387689976,), (1387689980,), (1387689983,), (1387689987,), (1387689995,), (1387689997,), (1387689999,), (1387690002,), (1387690006,), (1387690012,), (1387690022,), (1387690023,), (1387690024,), (1387690026,), (1387690030,), (1387690040,), (1387690041,), (1387690044,), (1387690048,), (1387690054,), (1387690064,), (1387690069,), (1387690070,), (1387690072,), (1387690074,), (1387690077,), (1387690079,), (1387690082,), (1387690086,), (1387690090,), (1387690093,), (1387690104,), (1387690110,), (1387690111,), (1387690113,), (1387690116,), (1387690124,), (1387690166,), (1387690167,), (1387690182,), (1387690183,), (1387690184,), (1387690186,), (1387690189,), (1387690195,), (1387690207,), (1387690208,), (1387690209,), (1387690211,), (1387690226,), (1387690227,), (1387690228,), (1387690230,), (1387690236,), (1387690245,), (1387690247,), (1387690250,), (1387690254,), (1387690257,), (1387690261,), (1387690268,), (1387690270,), (1387690271,), (1387690272,), (1387690273,), (1387690288,), (1387690292,), (1387690301,), (1387690307,), (1387690310,), (1387690312,), (1387690313,), (1387690314,), (1387690326,), (1387690328,), (1387690419,), (1387690414,), (1387690415,), (1387690416,), (1387690439,), (1387690441,), (1387690443,), (1387690445,), (1387690459,), (1387690460,), (1387690461,), (1387690464,), (1387690468,), (1387690484,), (1387690485,), (1387690487,), (1387690491,), (1387690493,), (1387690496,), (1387690507,), (1387690516,), (1387690522,), (1387690523,), (1387690524,), (1387690526,), (1387690529,), (1387690546,), (1387690548,), (1387690550,), (1387690552,), (1387690575,), (1387690576,), (1387690579,), (1387690583,), (1387690589,), (1387690596,), (1387690603,), (1387690604,), (1387690605,), (1387690606,), (1387690609,), (1387690621,), (1387690623,), (1387690626,), (1387690631,), (1387690642,), (1387690689,), (1387690690,), (1387690691,), (1387690693,), (1387690696,), (1387690700,), (1387690706,), (1387690707,), (1387690708,), (1387690722,), (1387690725,), (1387690727,), (1387690729,), (1387690732,), (1387690754,), (1387690795,), (1387690746,), (1387690747,), (1387690748,), (1387690749,), (1387690776,), (1387690777,), (1387690779,), (1387690781,), (1387690783,), (1387690785,), (1387690789,), (1387690791,), (1387690793,), (1387690815,), (1387690817,), (1387690822,), (1387690912,), (1387690913,), (1387690914,), (1387690916,), (1387690920,), (1387690924,), (1387691055,), (1387691082,), (1387691085,), (1387691088,), (1387691092,), (1387691096,), (1387691101,), (1387691103,), (1387691104,), (1387691105,), (1387691106,), (1387691109,), (1387691112,), (1387691118,), (1387691185,), (1387691187,), (1387691189,), (1387691203,), (1387691204,), (1387691206,), (1387691209,), (1387691214,), (1387691218,), (1387691224,), (1387691225,), (1387691226,), (1387691234,), (1387691235,), (1387691285,), (1387691304,), (1387691306,), (1387691308,), (1387691313,), (1387691321,), (1387691324,), (1387691331,), (1387691340,), (1387691335,), (1387691336,), (1387691337,), (1387691351,), (1387691352,), (1387691354,), (1387691358,), (1387691362,), (1387691381,), (1387691396,), (1387691421,), (1387691459,), (1387691460,), (1387691463,), (1387691466,), (1387691470,), (1387691478,), (1387691479,), (1387691481,), (1387691499,), (1387691500,), (1387691503,), (1387691507,), (1387691510,), (1387691512,), (1387691518,), (1387691519,), (1387691520,), (1387691522,), (1387691540,), (1387691548,), (1387691551,), (1387691555,), (1387691581,), (1387691588,), (1387691607,), (1387691609,), (1387691611,), (1387691614,), (1387691617,), (1387691640,), (1387691641,), (1387691644,), (1387691647,), (1387691651,), (1387691662,), (1387691675,), (1387691677,), (1387691681,), (1387691684,), (1387691686,), (1387691689,), (1387691702,), (1387691703,), (1387691704,), (1387691707,), (1387691714,), (1387691725,), (1387691729,), (1387691732,), (1387691735,), (1387691738,), (1387691753,), (1387691757,), (1387691760,), (1387691763,), (1387691766,), (1387691769,), (1387691793,), (1387691790,), (1387691792,), (1387691810,), (1387691811,), (1387691812,), (1387691814,), (1387691819,), (1387691853,), (1387691854,), (1387691855,), (1387691873,), (1387691875,), (1387691877,), (1387691881,), (1387691884,), (1387691894,), (1387691895,), (1387691897,), (1387691900,), (1387691906,), (1387691917,), (1387691922,), (1387691924,), (1387691925,), (1387691926,), (1387691927,), (1387691928,), (1387691930,), (1387691933,), (1387691936,), (1387691939,), (1387691942,), (1387691949,), (1387691951,), (1387691954,), (1387691962,), (1387692002,), (1387692004,), (1387692006,), (1387692009,), (1387692013,), (1387692016,), (1387692027,), (1387692028,), (1387692029,), (1387692031,), (1387692048,), (1387692051,), (1387692055,), (1387692060,), (1387692064,), (1387692074,), (1387692076,), (1387692078,), (1387692081,), (1387692084,), (1387692104,), (1387692105,), (1387692107,), (1387692110,), (1387692117,), (1387692124,), (1387692146,), (1387692147,), (1387692149,), (1387692153,), (1387692154,), (1387692156,), (1387692159,), (1387692166,), (1387692178,), (1387692180,), (1387692181,), (1387692184,), (1387692187,), (1387692190,), (1387692199,), (1387692200,), (1387692203,), (1387692206,), (1387692209,), (1387692218,), (1387693364,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03102025': {'nb_upload': 45, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27501928]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351] map_info['map_portfolio_photo'] : {27501928: [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351]} final : True mtd_id 4302 list_pids : [1387685670, 1387685364, 1387685342, 1387685341, 1387685340, 1387685339, 1387685337, 1387685334, 1387685331, 1387685326, 1387685323, 1387685321, 1387685312, 1387685302, 1387685298, 1387685293, 1387685291, 1387685288, 1387685272, 1387685270, 1387685269, 1387685268, 1387685258, 1387685255, 1387685253, 1387685252, 1387685251, 1387685214, 1387685212, 1387685210, 1387685208, 1387685105, 1387685100, 1387685099, 1387685080, 1387685079, 1387685071, 1387685054, 1387685053, 1387685052, 1387684631, 1387684629, 1387684627, 1387684352, 1387684351] Looping around the photos to save general results len do output : 1 /27501928Didn'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, '3842854') ('4302', '27501928', '1387685670', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685364', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685342', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685341', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685340', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685339', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685337', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685334', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685331', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685326', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685323', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685321', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685312', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685302', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685298', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685293', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685291', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685288', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685272', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685270', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685269', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685268', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685258', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685255', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685253', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685252', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685251', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685214', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685212', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685210', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685208', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685105', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685100', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685099', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685080', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685079', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685071', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685054', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685053', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387685052', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684631', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684629', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684627', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684352', None, None, None, None, None, '3842854') ('4302', None, None, None, None, None, None, None, '3842854') ('4302', '27501928', '1387684351', None, None, None, None, None, '3842854') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '27501928', 'None', None, None, None, None, '3842854'), ('4302', '27501928', '1387685670', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685364', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685342', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685341', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685340', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685339', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685337', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685334', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685331', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685326', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685323', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685321', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685312', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685302', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685298', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685293', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685291', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685288', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685272', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685270', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685269', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685268', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685258', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685255', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685253', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685252', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685251', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685214', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685212', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685210', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685208', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685105', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685100', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685099', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685080', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685079', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685071', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685054', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685053', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387685052', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684631', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684629', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684627', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684352', None, None, None, None, None, '3842854'), ('4302', '27501928', '1387684351', None, None, None, None, None, '3842854')] time used for this insertion : 0.08626604080200195 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.797516107559204 time spend to save output : 0.08667564392089844 total time spend for step 5 : 16.884191751480103 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 (3842854) 3.36user 2.51system 0:31.20elapsed 18%CPU (0avgtext+0avgdata 163652maxresident)k 976inputs+30744outputs (7major+79362minor)pagefaults 0swaps