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 : 3700433 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 (4212479) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4212479) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345107 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4212479'] with mtr_portfolio_ids : ['29345107'] and first list_photo_ids : [] new path : /proc/3700433/ Name: python3 Umask: 0002 State: R (running) Tgid: 3700433 Ngid: 0 Pid: 3700433 PPid: 3700432 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3700433 NSpid: 3700433 NSpgid: 3699867 NSsid: 3699867 VmPeak: 1113376 kB VmSize: 1113376 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105488 kB VmRSS: 105488 kB RssAnon: 66312 kB RssFile: 39176 kB RssShmem: 0 kB VmData: 872104 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 616 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: 54 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3700433', 'Ngid': '0', 'Pid': '3700433', 'PPid': '3700432', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3700433', 'NSpid': '3700433', 'NSpgid': '3699867', 'NSsid': '3699867', 'VmPeak': '1113376 kB', 'VmSize': '1113376 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105488 kB', 'VmRSS': '105488 kB', 'RssAnon': '66312 kB', 'RssFile': '39176 kB', 'RssShmem': '0 kB', 'VmData': '872104 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '616 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': '54', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '3700433', '1113376', '0', '1113376', '872104', '105488', b'', 'marlene', '4212479') 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 (29345107) 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 (4212479 ) ) 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 (29345107) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1398900435, 'portfolio_id': 29345107}, {'photo_id': 1398900362, 'portfolio_id': 29345107}, {'photo_id': 1398900341, 'portfolio_id': 29345107}, {'photo_id': 1398900283, 'portfolio_id': 29345107}, {'photo_id': 1398900278, 'portfolio_id': 29345107}, {'photo_id': 1398900274, 'portfolio_id': 29345107}, {'photo_id': 1398900272, 'portfolio_id': 29345107}, {'photo_id': 1398900271, 'portfolio_id': 29345107}, {'photo_id': 1398900268, 'portfolio_id': 29345107}, {'photo_id': 1398900210, 'portfolio_id': 29345107}, {'photo_id': 1398900207, 'portfolio_id': 29345107}, {'photo_id': 1398900204, 'portfolio_id': 29345107}, {'photo_id': 1398900201, 'portfolio_id': 29345107}, {'photo_id': 1398900198, 'portfolio_id': 29345107}, {'photo_id': 1398900186, 'portfolio_id': 29345107}, {'photo_id': 1398900183, 'portfolio_id': 29345107}, {'photo_id': 1398900182, 'portfolio_id': 29345107}, {'photo_id': 1398900179, 'portfolio_id': 29345107}, {'photo_id': 1398900175, 'portfolio_id': 29345107}, {'photo_id': 1398900163, 'portfolio_id': 29345107}, {'photo_id': 1398900160, 'portfolio_id': 29345107}, {'photo_id': 1398900157, 'portfolio_id': 29345107}, {'photo_id': 1398900156, 'portfolio_id': 29345107}, {'photo_id': 1398900155, 'portfolio_id': 29345107}, {'photo_id': 1398900154, 'portfolio_id': 29345107}, {'photo_id': 1398900089, 'portfolio_id': 29345107}, {'photo_id': 1398900084, 'portfolio_id': 29345107}, {'photo_id': 1398900061, 'portfolio_id': 29345107}, {'photo_id': 1398899951, 'portfolio_id': 29345107}, {'photo_id': 1398899911, 'portfolio_id': 29345107}, {'photo_id': 1398899877, 'portfolio_id': 29345107}, {'photo_id': 1398899757, 'portfolio_id': 29345107}, {'photo_id': 1398899743, 'portfolio_id': 29345107}, {'photo_id': 1398899434, 'portfolio_id': 29345107}, {'photo_id': 1398899042, 'portfolio_id': 29345107}, {'photo_id': 1398899006, 'portfolio_id': 29345107}, {'photo_id': 1398898754, 'portfolio_id': 29345107}, {'photo_id': 1398898751, 'portfolio_id': 29345107}, {'photo_id': 1398898748, 'portfolio_id': 29345107}, {'photo_id': 1398898642, 'portfolio_id': 29345107}, {'photo_id': 1398898641, 'portfolio_id': 29345107}, {'photo_id': 1398898223, 'portfolio_id': 29345107}, {'photo_id': 1398898187, 'portfolio_id': 29345107}, {'photo_id': 1398898152, 'portfolio_id': 29345107}] map_portfolio_id_photo_id: {29345107: [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152]} ##### 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.019230365753173828 #### 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 Fri Dec 12 05:59:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29345107) 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 : 29345107 get user id for portfolio 29345107 get sub ptf for main ptf 29345107, type 3726 and hashtags ['Carton_brun', 'cartonnette', 'environnement', 'flou', 'mal_croppe', 'kraft', 'papier', 'autre_refus', 'Carton_gris', 'metal', 'plastique', '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`=29345107 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','environnement','flou','mal_croppe','kraft','papier','autre_refus','Carton_gris','metal','plastique','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`=29345107 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','environnement','flou','mal_croppe','kraft','papier','autre_refus','Carton_gris','metal','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 29345107, 'sub_port_id': 29345115, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982660, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'metal': {'main_port_id': 29345107, 'sub_port_id': 29345116, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982661, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'papier': {'main_port_id': 29345107, 'sub_port_id': 29345117, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982662, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'environnement': {'main_port_id': 29345107, 'sub_port_id': 29345118, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982663, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'cartonnette': {'main_port_id': 29345107, 'sub_port_id': 29345119, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982664, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 29345107, 'sub_port_id': 29345120, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982665, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'kraft': {'main_port_id': 29345107, 'sub_port_id': 29345121, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982666, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'plastique': {'main_port_id': 29345107, 'sub_port_id': 29345122, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982667, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'Carton_gris': {'main_port_id': 29345107, 'sub_port_id': 29345123, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982668, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'mal_croppe': {'main_port_id': 29345107, 'sub_port_id': 29345124, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982669, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'autre_refus': {'main_port_id': 29345107, 'sub_port_id': 29345125, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982670, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}, 'Carton_brun': {'main_port_id': 29345107, 'sub_port_id': 29345126, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982671, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345115 , 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=29345107 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 (29345115) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345116 , 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=29345107 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 (29345116) result : ((1398900714,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345117 , 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=29345107 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 (29345117) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345118 , 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=29345107 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 (29345118) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345119 , 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=29345107 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 (29345119) result : ((1398900110,), (1398900192,), (1398900195,), (1398900428,), (1398902668,), (1398902669,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345120 , 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=29345107 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 (29345120) result : ((1398898744,), (1398900106,), (1398900191,), (1398900194,), (1398900319,), (1398900320,), (1398900321,), (1398900322,), (1398900323,), (1398900373,), (1398900374,), (1398900420,), (1398900421,), (1398900422,), (1398900697,), (1398900699,), (1398900701,), (1398900704,), (1398900706,), (1398902664,), (1398902665,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345121 , 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=29345107 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 (29345121) result : ((1398900333,), (1398900334,), (1398900434,), (1398900710,), (1398900711,), (1398900712,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345122 , 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=29345107 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 (29345122) result : ((1398899934,), (1398899936,), (1398900118,), (1398900331,), (1398900332,), (1398900384,), (1398900385,), (1398900387,), (1398900432,), (1398900433,), (1398902670,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345123 , 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=29345107 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 (29345123) result : ((1398900324,), (1398900325,), (1398900326,), (1398900382,), (1398900383,), (1398900425,), (1398900426,), (1398902666,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345124 , 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=29345107 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 (29345124) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345125 , 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=29345107 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 (29345125) result : ((1398898745,), (1398900376,), (1398900377,), (1398900378,), (1398900380,), (1398900424,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29345126 , 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=29345107 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 (29345126) result : ((1398899796,), (1398899920,), (1398899922,), (1398899924,), (1398900430,), (1398900708,), (1398900709,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29345107) result : ((1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29345107 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','environnement','flou','mal_croppe','kraft','papier','autre_refus','Carton_gris','metal','plastique','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`=29345107 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','environnement','flou','mal_croppe','kraft','papier','autre_refus','Carton_gris','metal','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 29345107, 'sub_port_id': 29345127, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982672, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'metal': {'main_port_id': 29345107, 'sub_port_id': 29345128, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982673, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'papier': {'main_port_id': 29345107, 'sub_port_id': 29345129, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982674, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'environnement': {'main_port_id': 29345107, 'sub_port_id': 29345130, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982675, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'cartonnette': {'main_port_id': 29345107, 'sub_port_id': 29345131, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982676, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 29345107, 'sub_port_id': 29345132, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982677, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'kraft': {'main_port_id': 29345107, 'sub_port_id': 29345133, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982678, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'plastique': {'main_port_id': 29345107, 'sub_port_id': 29345134, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982679, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'Carton_gris': {'main_port_id': 29345107, 'sub_port_id': 29345135, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982680, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'mal_croppe': {'main_port_id': 29345107, 'sub_port_id': 29345136, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982681, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'autre_refus': {'main_port_id': 29345107, 'sub_port_id': 29345137, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982682, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}, 'Carton_brun': {'main_port_id': 29345107, 'sub_port_id': 29345138, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19982683, 'last_updated_at': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 11, 17, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 11, 17, 3, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345127,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345115 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345128,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345116 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345129,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345117 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345130,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345118 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345131,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345119 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345132,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345120 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345133,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345121 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345134,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345122 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345135,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345123 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345136,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345124 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345137,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345125 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29345138,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29345126 lien utilise dans velours : https://marlene.fotonower.com/velours/29345127,29345128,29345129,29345130,29345131,29345132,29345133,29345134,29345135,29345136,29345137,29345138?tags=flou,metal,papier,environnement,cartonnette,Teint_Dans_La_Masse,kraft,plastique,Carton_gris,mal_croppe,autre_refus,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29345107]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152] map_info['map_portfolio_photo'] : {29345107: [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152]} final : False mtd_id 4302 list_pids : [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152] Looping around the photos to save general results len do output : 1 /29345107. 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, '4212479') ('4302', '29345107', '1398900435', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900362', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900341', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900283', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900278', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900274', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900272', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900271', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900268', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900210', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900207', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900204', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900201', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900198', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900186', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900183', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900182', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900179', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900175', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900163', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900160', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900157', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900156', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900155', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900154', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900089', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900084', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900061', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899951', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899911', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899877', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899757', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899743', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899434', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899042', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899006', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898754', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898751', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898748', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898642', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898641', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898223', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898187', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898152', None, None, None, None, None, '4212479') 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', None, '29345107', "{'flou': 29345115, 'metal': 29345116, 'papier': 29345117, 'environnement': 29345118, 'cartonnette': 29345119, 'Teint_Dans_La_Masse': 29345120, 'kraft': 29345121, 'plastique': 29345122, 'Carton_gris': 29345123, 'mal_croppe': 29345124, 'autre_refus': 29345125, 'Carton_brun': 29345126}", None, None, None, None, '4212479'), ('4302', '29345107', '1398900435', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900362', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900341', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900283', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900278', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900274', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900272', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900271', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900268', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900210', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900207', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900204', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900201', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900198', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900186', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900183', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900182', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900179', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900175', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900163', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900160', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900157', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900156', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900155', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900154', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900089', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900084', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900061', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899951', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899911', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899877', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899757', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899743', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899434', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899042', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899006', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898754', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898751', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898748', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898642', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898641', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898223', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898187', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898152', None, None, None, None, None, '4212479')] time used for this insertion : 0.024776458740234375 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8983917236328125 time spend to save output : 0.025417089462280273 total time spend for step 1 : 1.9238088130950928 step2:final Fri Dec 12 06:00:01 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 (29345107) 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 29345107 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1398898223,1398898187,1398898152,1398898642,1398898641,1398898754,1398898751,1398898748,1398899042,1398899006,1398899434,1398899757,1398899743,1398899951,1398899911,1398899877,1398900089,1398900084,1398900163,1398900061,1398900160,1398900157,1398900156,1398900155,1398900154,1398900186,1398900183,1398900182,1398900179,1398900175,1398900210,1398900207,1398900204,1398900201,1398900198,1398900283,1398900278,1398900274,1398900272,1398900271,1398900268,1398900341,1398900362,1398900435); 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([29345107]) Inside saveOutput : final : False verbose : True original output for save of step final : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} new output for save of step final : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152] map_info['map_portfolio_photo'] : {29345107: [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152]} final : False mtd_id 4302 list_pids : [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152] Looping around the photos to save general results len do output : 44 /1398900435.Didn't retrieve data . /1398900362.Didn't retrieve data . /1398900341.Didn't retrieve data . /1398900283.Didn't retrieve data . /1398900278.Didn't retrieve data . /1398900274.Didn't retrieve data . /1398900272.Didn't retrieve data . /1398900271.Didn't retrieve data . /1398900268.Didn't retrieve data . /1398900210.Didn't retrieve data . /1398900207.Didn't retrieve data . /1398900204.Didn't retrieve data . /1398900201.Didn't retrieve data . /1398900198.Didn't retrieve data . /1398900186.Didn't retrieve data . /1398900183.Didn't retrieve data . /1398900182.Didn't retrieve data . /1398900179.Didn't retrieve data . /1398900175.Didn't retrieve data . /1398900163.Didn't retrieve data . /1398900160.Didn't retrieve data . /1398900157.Didn't retrieve data . /1398900156.Didn't retrieve data . /1398900155.Didn't retrieve data . /1398900154.Didn't retrieve data . /1398900089.Didn't retrieve data . /1398900084.Didn't retrieve data . /1398900061.Didn't retrieve data . /1398899951.Didn't retrieve data . /1398899911.Didn't retrieve data . /1398899877.Didn't retrieve data . /1398899757.Didn't retrieve data . /1398899743.Didn't retrieve data . /1398899434.Didn't retrieve data . /1398899042.Didn't retrieve data . /1398899006.Didn't retrieve data . /1398898754.Didn't retrieve data . /1398898751.Didn't retrieve data . /1398898748.Didn't retrieve data . /1398898642.Didn't retrieve data . /1398898641.Didn't retrieve data . /1398898223.Didn't retrieve data . /1398898187.Didn't retrieve data . /1398898152.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, '4212479') ('4302', '29345107', '1398900435', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900362', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900341', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900283', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900278', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900274', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900272', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900271', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900268', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900210', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900207', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900204', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900201', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900198', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900186', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900183', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900182', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900179', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900175', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900163', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900160', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900157', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900156', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900155', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900154', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900089', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900084', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900061', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899951', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899911', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899877', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899757', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899743', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899434', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899042', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899006', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898754', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898751', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898748', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898642', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898641', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898223', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898187', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898152', None, None, None, None, None, '4212479') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 132 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', '29345107', '1398900435', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900362', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900341', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900283', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900278', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900274', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900272', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900271', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900268', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900210', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900207', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900204', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900201', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900198', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900186', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900183', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900182', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900179', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900175', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900163', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900160', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900157', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900156', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900155', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900154', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900089', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900084', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398900061', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398899951', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398899911', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398899877', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398899757', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398899743', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398899434', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398899042', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398899006', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398898754', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398898751', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398898748', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398898642', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398898641', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398898223', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398898187', '0.035867809380186716', None, None, None, None, '4212479'), ('4302', '29345107', '1398898152', '0.035867809380186716', None, None, None, None, '4212479')] time used for this insertion : 0.02343273162841797 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0836496353149414 time spend to save output : 0.025224924087524414 total time spend for step 2 : 0.10887455940246582 step3:velours_tree Fri Dec 12 06:00:01 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 : {29345107: [{'flou': 29345115, 'metal': 29345116, 'papier': 29345117, 'environnement': 29345118, 'cartonnette': 29345119, 'Teint_Dans_La_Masse': 29345120, 'kraft': 29345121, 'plastique': 29345122, 'Carton_gris': 29345123, 'mal_croppe': 29345124, 'autre_refus': 29345125, 'Carton_brun': 29345126}]} input_args_next_step : {29345107: ()} output_args : {29345107: [{'flou': 29345115, 'metal': 29345116, 'papier': 29345117, 'environnement': 29345118, 'cartonnette': 29345119, 'Teint_Dans_La_Masse': 29345120, 'kraft': 29345121, 'plastique': 29345122, 'Carton_gris': 29345123, 'mal_croppe': 29345124, 'autre_refus': 29345125, 'Carton_brun': 29345126}]} args : 29345107 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 : ({'flou': 29345115, 'metal': 29345116, 'papier': 29345117, 'environnement': 29345118, 'cartonnette': 29345119, 'Teint_Dans_La_Masse': 29345120, 'kraft': 29345121, 'plastique': 29345122, 'Carton_gris': 29345123, 'mal_croppe': 29345124, 'autre_refus': 29345125, 'Carton_brun': 29345126},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29345107) 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([29345107]) 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.45914721488952637 time spend to save output : 7.772445678710938e-05 total time spend for step 3 : 0.4592249393463135 step4:send_mail_cod Fri Dec 12 06:00:01 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 : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} input_args_next_step : {1398900435: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900435 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900362 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900341 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900283 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900278 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900274 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900272 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900271 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900268 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900210 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900207 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900204 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900201 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900198 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900186 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900183 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900182 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900179 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900175 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900163 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900160 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900157 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900156 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900155 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900154 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900089 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900084 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398900061 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398899951 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398899911 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398899877 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398899757 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398899743 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398899434 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398899042 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398899006 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398898754 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398898751 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398898748 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398898642 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398898641 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398898223 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398898187 depend.output_id : 0 input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ()} output_args : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',)} args : 1398898152 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 : {29345107: [{'flou': 29345115, 'metal': 29345116, 'papier': 29345117, 'environnement': 29345118, 'cartonnette': 29345119, 'Teint_Dans_La_Masse': 29345120, 'kraft': 29345121, 'plastique': 29345122, 'Carton_gris': 29345123, 'mal_croppe': 29345124, 'autre_refus': 29345125, 'Carton_brun': 29345126}]} input_args_next_step : {1398900435: ('0.035867809380186716',), 1398900362: ('0.035867809380186716',), 1398900341: ('0.035867809380186716',), 1398900283: ('0.035867809380186716',), 1398900278: ('0.035867809380186716',), 1398900274: ('0.035867809380186716',), 1398900272: ('0.035867809380186716',), 1398900271: ('0.035867809380186716',), 1398900268: ('0.035867809380186716',), 1398900210: ('0.035867809380186716',), 1398900207: ('0.035867809380186716',), 1398900204: ('0.035867809380186716',), 1398900201: ('0.035867809380186716',), 1398900198: ('0.035867809380186716',), 1398900186: ('0.035867809380186716',), 1398900183: ('0.035867809380186716',), 1398900182: ('0.035867809380186716',), 1398900179: ('0.035867809380186716',), 1398900175: ('0.035867809380186716',), 1398900163: ('0.035867809380186716',), 1398900160: ('0.035867809380186716',), 1398900157: ('0.035867809380186716',), 1398900156: ('0.035867809380186716',), 1398900155: ('0.035867809380186716',), 1398900154: ('0.035867809380186716',), 1398900089: ('0.035867809380186716',), 1398900084: ('0.035867809380186716',), 1398900061: ('0.035867809380186716',), 1398899951: ('0.035867809380186716',), 1398899911: ('0.035867809380186716',), 1398899877: ('0.035867809380186716',), 1398899757: ('0.035867809380186716',), 1398899743: ('0.035867809380186716',), 1398899434: ('0.035867809380186716',), 1398899042: ('0.035867809380186716',), 1398899006: ('0.035867809380186716',), 1398898754: ('0.035867809380186716',), 1398898751: ('0.035867809380186716',), 1398898748: ('0.035867809380186716',), 1398898642: ('0.035867809380186716',), 1398898641: ('0.035867809380186716',), 1398898223: ('0.035867809380186716',), 1398898187: ('0.035867809380186716',), 1398898152: ('0.035867809380186716',), 29345107: ()} output_args : {29345107: [{'flou': 29345115, 'metal': 29345116, 'papier': 29345117, 'environnement': 29345118, 'cartonnette': 29345119, 'Teint_Dans_La_Masse': 29345120, 'kraft': 29345121, 'plastique': 29345122, 'Carton_gris': 29345123, 'mal_croppe': 29345124, 'autre_refus': 29345125, 'Carton_brun': 29345126}]} args : 29345107 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 :45, first value : ('0.035867809380186716',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29345107) 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 (1398900435,1398900362,1398900341,1398900283,1398900278,1398900274,1398900272,1398900271,1398900268,1398900210,1398900207,1398900204,1398900201,1398900198,1398900186,1398900183,1398900182,1398900179,1398900175,1398900163,1398900160,1398900157,1398900156,1398900155,1398900154,1398900089,1398900084,1398900061,1398899951,1398899911,1398899877,1398899757,1398899743,1398899434,1398899042,1398899006,1398898754,1398898751,1398898748,1398898642,1398898641,1398898223,1398898187,1398898152) Found this number of photos: 44 ##### Call download_photos : nb_thread : 5 begin to download photo : 1398898152 begin to download photo : 1398899042 begin to download photo : 1398900089 begin to download photo : 1398900182 begin to download photo : 1398900271 download finish for photo 1398900089 begin to download photo : 1398900154 download finish for photo 1398899042 begin to download photo : 1398899434 download finish for photo 1398900182 begin to download photo : 1398900183 download finish for photo 1398898152 begin to download photo : 1398898187 download finish for photo 1398900271 begin to download photo : 1398900272 download finish for photo 1398899434 begin to download photo : 1398899743 download finish for photo 1398900183 begin to download photo : 1398900186 download finish for photo 1398900272 begin to download photo : 1398900274 download finish for photo 1398900154 begin to download photo : 1398900155 download finish for photo 1398898187 begin to download photo : 1398898223 download finish for photo 1398900186 begin to download photo : 1398900198 download finish for photo 1398899743 begin to download photo : 1398899757 download finish for photo 1398900155 begin to download photo : 1398900156 download finish for photo 1398900274 begin to download photo : 1398900278 download finish for photo 1398898223 begin to download photo : 1398898641 download finish for photo 1398900198 begin to download photo : 1398900201 download finish for photo 1398899757 begin to download photo : 1398899877 download finish for photo 1398900156 begin to download photo : 1398900157 download finish for photo 1398900278 begin to download photo : 1398900283 download finish for photo 1398900201 begin to download photo : 1398900204 download finish for photo 1398899877 begin to download photo : 1398899911 download finish for photo 1398898641 begin to download photo : 1398898642 download finish for photo 1398900157 begin to download photo : 1398900160 download finish for photo 1398900283 begin to download photo : 1398900341 download finish for photo 1398900204 begin to download photo : 1398900207 download finish for photo 1398899911 begin to download photo : 1398899951 download finish for photo 1398900160 begin to download photo : 1398900163 download finish for photo 1398898642 begin to download photo : 1398898748 download finish for photo 1398900341 begin to download photo : 1398900362 download finish for photo 1398900207 begin to download photo : 1398900210 download finish for photo 1398899951 begin to download photo : 1398900061 download finish for photo 1398900163 begin to download photo : 1398900175 download finish for photo 1398898748 begin to download photo : 1398898751 download finish for photo 1398900210 begin to download photo : 1398900268 download finish for photo 1398900362 begin to download photo : 1398900435 download finish for photo 1398900175 begin to download photo : 1398900179 download finish for photo 1398900061 begin to download photo : 1398900084 download finish for photo 1398900268 download finish for photo 1398898751 begin to download photo : 1398898754 download finish for photo 1398900435 download finish for photo 1398900179 download finish for photo 1398898754 begin to download photo : 1398899006 download finish for photo 1398900084 download finish for photo 1398899006 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette293451151765515603/ length of list_filenames : 44 ; length of list_pids : 44 ; length of list_args : 44 results_Auto_P29345107_12-12-2025_06_00_03.pdf 29345115 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=29345115 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette293451151765515603 29345116 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=29345116 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398900714: '1765469845_3149279_1398900283_e885619bdcf69a9d91f0df2a62279832_rle_crop_4066325494_0.png'} change filename to text .imagette293451161765515603/ imagette293451161765515603/1765469845_3149279_1398900283_e885619bdcf69a9d91f0df2a62279832_rle_crop_4066325494_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/d9583d8ffc82cef093de1e7e46f3075a_39029182.png imagette293451161765515603 29345119 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=29345119 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398900110: '1765469365_3125411_1398899911_f258beb4f80ac7adf727cedf7baf82a0_rle_crop_4066321458_0.png', 1398900192: '1765469466_3131058_1398899951_812c8d8bcaf515c4b2f8960d906ba8b8_rle_crop_4066322954_0.png', 1398900195: '1765469488_3131527_1398900084_0154c9440f987bfa02ea065ef7737423_rle_crop_4066323116_0.png', 1398900428: '1765469725_3142813_1398900268_4178573c5d5c49e34078dbec2fcd3323_rle_crop_4066325325_0.png', 1398902668: '1765471647_3223648_1398900089_d7302dc0479c604fa3f8a1b490231ea3_rle_crop_4066337268_0.png', 1398902669: '1765471647_3223648_1398899911_f258beb4f80ac7adf727cedf7baf82a0_rle_crop_4066321458_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/ce1509b734e3c7dcb61a5f6b0c63ff2d_16880994.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/8ae580a6cfa55903c199c4e9bf20d684_33668175.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/e700d95f9c9ad8a07aec8d10f5140e7f_77840223.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/1edf88b7a5752ab3c6f165b31cb9a6b5_95792009.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/c96d2dc4f26719065cd7ca2e49ec6471_82521178.png change filename to text .imagette293451191765515603/ imagette293451191765515603/1765469466_3131058_1398899951_812c8d8bcaf515c4b2f8960d906ba8b8_rle_crop_4066322954_0.png.png imagette293451191765515603/1765471647_3223648_1398899911_f258beb4f80ac7adf727cedf7baf82a0_rle_crop_4066321458_0.png.png imagette293451191765515603/1765469488_3131527_1398900084_0154c9440f987bfa02ea065ef7737423_rle_crop_4066323116_0.png.png imagette293451191765515603/1765471647_3223648_1398900089_d7302dc0479c604fa3f8a1b490231ea3_rle_crop_4066337268_0.png.png imagette293451191765515603/1765469725_3142813_1398900268_4178573c5d5c49e34078dbec2fcd3323_rle_crop_4066325325_0.png.png imagette293451191765515603/1765469365_3125411_1398899911_f258beb4f80ac7adf727cedf7baf82a0_rle_crop_4066321458_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/ce1509b734e3c7dcb61a5f6b0c63ff2d_35403763.png imagette293451191765515603 29345121 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=29345121 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398900333: '1765469605_3137615_1398900179_5fdcd87af410c470b266a56919d243a5_rle_crop_4066324020_0.png', 1398900334: '1765469605_3137615_1398900175_cf52ab7e943d513ab4d1630054b28ced_rle_crop_4066324092_0.png', 1398900434: '1765469725_3142813_1398900278_8e33a93872749108563ea10990f44a33_rle_crop_4066325233_0.png', 1398900710: '1765469845_3149279_1398900283_e885619bdcf69a9d91f0df2a62279832_rle_crop_4066325497_0.png', 1398900711: '1765469845_3149279_1398900204_6a3d0e48bd9d15f4227ace468f5ad41b_rle_crop_4066325522_0.png', 1398900712: '1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325541_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/f4136ecf7478236a9b8d583f26f2d148_81651546.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/4855dca73358a768526659c36a1d59f1_7240345.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/113977fd4ef952b986f404a60d67c59b_24936284.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/ffd2e3924e505303fd82343c0fda2fde_87034414.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/16032acb8bb8d24b0136a098b084ca5f_22772115.png change filename to text .imagette293451211765515604/ imagette293451211765515604/1765469845_3149279_1398900283_e885619bdcf69a9d91f0df2a62279832_rle_crop_4066325497_0.png.png imagette293451211765515604/1765469605_3137615_1398900179_5fdcd87af410c470b266a56919d243a5_rle_crop_4066324020_0.png.png imagette293451211765515604/1765469725_3142813_1398900278_8e33a93872749108563ea10990f44a33_rle_crop_4066325233_0.png.png imagette293451211765515604/1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325541_0.png.png imagette293451211765515604/1765469845_3149279_1398900204_6a3d0e48bd9d15f4227ace468f5ad41b_rle_crop_4066325522_0.png.png imagette293451211765515604/1765469605_3137615_1398900175_cf52ab7e943d513ab4d1630054b28ced_rle_crop_4066324092_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/7cd3e9030d7d36d7c0badaaf89515d60_65652255.png imagette293451211765515604 29345122 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=29345122 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398899934: '1765469246_3117172_1398899434_a9a092e72c7f8dc179e09fd9a618139e_rle_crop_4066319916_0.png', 1398899936: '1765469246_3117172_1398899006_8ebfbc3b4e6796b78009b6c7276b7897_rle_crop_4066319934_0.png', 1398900118: '1765469365_3125411_1398899877_aebc2ed06694f204bbb2ecd4b9fccf14_rle_crop_4066321468_0.png', 1398900331: '1765469605_3137615_1398900182_5604ab0e15e164e13da1365a62ca2afc_rle_crop_4066324015_0.png', 1398900332: '1765469605_3137615_1398900179_5fdcd87af410c470b266a56919d243a5_rle_crop_4066324027_0.png', 1398900384: '1765469705_3142463_1398900186_135da039b44f4c3703dd541ce38bc2ca_rle_crop_4066324840_0.png', 1398900385: '1765469705_3142463_1398900156_390ffb95ddd27db77ee78a96461c3b90_rle_crop_4066324899_0.png', 1398900387: '1765469705_3142463_1398900155_9f303e18e0eb1e18294bf1849d42caff_rle_crop_4066324942_0.png', 1398900432: '1765469725_3142813_1398900271_1ac69faff59a62b6e9d3d5ffc72f13f0_rle_crop_4066325314_0.png', 1398900433: '1765469725_3142813_1398900268_4178573c5d5c49e34078dbec2fcd3323_rle_crop_4066325326_0.png', 1398902670: '1765471647_3223648_1398899877_aebc2ed06694f204bbb2ecd4b9fccf14_rle_crop_4066321468_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/dd9ce83e30a6fdbcbef9818d903e0363_88810520.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/abc0be9edfa1559fa10f5829e9623c9d_92004495.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/a0f391d358b9818bc015695104de046e_28217125.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/62be2c0500f13c9b9ef0d4b6d294ab8e_26379104.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/a06fba846824bc448a5152aa7be2255c_69582961.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/93af174ac295649d39ed953f32cebac8_51016540.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/d8de6055dccbf693793d38c97690d7a0_76147976.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/f183340472bd5aed0262a299578ee24e_22077727.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/ec535db2580db0b7bd93a94b00de1cc5_51086360.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/fc4f6f70cd2a60e80f51e5c5e4da39eb_50326063.png change filename to text .imagette293451221765515604/ imagette293451221765515604/1765469605_3137615_1398900179_5fdcd87af410c470b266a56919d243a5_rle_crop_4066324027_0.png.png imagette293451221765515604/1765469725_3142813_1398900268_4178573c5d5c49e34078dbec2fcd3323_rle_crop_4066325326_0.png.png imagette293451221765515604/1765469246_3117172_1398899434_a9a092e72c7f8dc179e09fd9a618139e_rle_crop_4066319916_0.png.png imagette293451221765515604/1765469605_3137615_1398900182_5604ab0e15e164e13da1365a62ca2afc_rle_crop_4066324015_0.png.png imagette293451221765515604/1765469705_3142463_1398900186_135da039b44f4c3703dd541ce38bc2ca_rle_crop_4066324840_0.png.png imagette293451221765515604/1765469705_3142463_1398900155_9f303e18e0eb1e18294bf1849d42caff_rle_crop_4066324942_0.png.png imagette293451221765515604/1765469705_3142463_1398900156_390ffb95ddd27db77ee78a96461c3b90_rle_crop_4066324899_0.png.png imagette293451221765515604/1765469725_3142813_1398900271_1ac69faff59a62b6e9d3d5ffc72f13f0_rle_crop_4066325314_0.png.png imagette293451221765515604/1765469246_3117172_1398899006_8ebfbc3b4e6796b78009b6c7276b7897_rle_crop_4066319934_0.png.png imagette293451221765515604/1765471647_3223648_1398899877_aebc2ed06694f204bbb2ecd4b9fccf14_rle_crop_4066321468_0.png.png imagette293451221765515604/1765469365_3125411_1398899877_aebc2ed06694f204bbb2ecd4b9fccf14_rle_crop_4066321468_0.png.png imagette293451241765515606/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/a0f391d358b9818bc015695104de046e_273417.png imagette293451221765515604 29345124 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=29345124 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette293451241765515606 29345125 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=29345125 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398898745: '1765469006_3104877_1398898152_c3a56dd9df67e1ff7a2ebd92d1a84435_rle_crop_4066317854_0.png', 1398900376: '1765469705_3142463_1398900186_135da039b44f4c3703dd541ce38bc2ca_rle_crop_4066324830_0.png', 1398900377: '1765469705_3142463_1398900186_135da039b44f4c3703dd541ce38bc2ca_rle_crop_4066324832_0.png', 1398900378: '1765469705_3142463_1398900154_b2bd2d4f0666b5c0da4ff3db978a94e4_rle_crop_4066324951_0.png', 1398900380: '1765469705_3142463_1398900154_b2bd2d4f0666b5c0da4ff3db978a94e4_rle_crop_4066324955_0.png', 1398900424: '1765469725_3142813_1398900268_4178573c5d5c49e34078dbec2fcd3323_rle_crop_4066325324_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/af5256c79238ead645f220c32e975821_67600697.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/baa9e7ea190fee5995843a3997051109_55927833.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/e4be50f997bec69c43d1518819287ef8_86411841.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/68e62269898e8f8ffb7795ae07c14461_77897055.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/2adbc6c177aae9a46be0f98b57e5fc44_94079938.png change filename to text .imagette293451251765515606/ imagette293451251765515606/1765469725_3142813_1398900268_4178573c5d5c49e34078dbec2fcd3323_rle_crop_4066325324_0.png.png imagette293451251765515606/1765469006_3104877_1398898152_c3a56dd9df67e1ff7a2ebd92d1a84435_rle_crop_4066317854_0.png.png imagette293451251765515606/1765469705_3142463_1398900186_135da039b44f4c3703dd541ce38bc2ca_rle_crop_4066324832_0.png.png imagette293451251765515606/1765469705_3142463_1398900154_b2bd2d4f0666b5c0da4ff3db978a94e4_rle_crop_4066324955_0.png.png imagette293451251765515606/1765469705_3142463_1398900154_b2bd2d4f0666b5c0da4ff3db978a94e4_rle_crop_4066324951_0.png.png imagette293451251765515606/1765469705_3142463_1398900186_135da039b44f4c3703dd541ce38bc2ca_rle_crop_4066324830_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/e80d34c32664e00d6950d45d3bb5ce63_90315758.png imagette293451251765515606 29345120 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=29345120 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398900374: '1765469705_3142463_1398900155_9f303e18e0eb1e18294bf1849d42caff_rle_crop_4066324935_0.png', 1398902665: '1765471647_3223648_1398899911_f258beb4f80ac7adf727cedf7baf82a0_rle_crop_4066321461_0.png', 1398902664: '1765471647_3223648_1398900089_d7302dc0479c604fa3f8a1b490231ea3_rle_crop_4066337266_0.png', 1398900706: '1765469845_3149279_1398900198_6b1f1c488d469590c2084a69223444cf_rle_crop_4066325546_0.png', 1398900704: '1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325542_0.png', 1398900701: '1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325533_0.png', 1398900699: '1765469845_3149279_1398900283_e885619bdcf69a9d91f0df2a62279832_rle_crop_4066325503_0.png', 1398900697: '1765469845_3149279_1398900283_e885619bdcf69a9d91f0df2a62279832_rle_crop_4066325500_0.png', 1398900422: '1765469725_3142813_1398900271_1ac69faff59a62b6e9d3d5ffc72f13f0_rle_crop_4066325308_0.png', 1398900421: '1765469725_3142813_1398900274_0a3258737b73582806431764a3d824e2_rle_crop_4066325254_0.png', 1398900420: '1765469725_3142813_1398900278_8e33a93872749108563ea10990f44a33_rle_crop_4066325237_0.png', 1398898744: '1765469006_3104877_1398898187_e98ddd7732c3cebfdc15a06884638d01_rle_crop_4066317848_0.png', 1398900373: '1765469705_3142463_1398900186_135da039b44f4c3703dd541ce38bc2ca_rle_crop_4066324836_0.png', 1398900323: '1765469605_3137615_1398900175_cf52ab7e943d513ab4d1630054b28ced_rle_crop_4066324093_0.png', 1398900322: '1765469605_3137615_1398900175_cf52ab7e943d513ab4d1630054b28ced_rle_crop_4066324090_0.png', 1398900321: '1765469605_3137615_1398900179_5fdcd87af410c470b266a56919d243a5_rle_crop_4066324031_0.png', 1398900320: '1765469605_3137615_1398900182_5604ab0e15e164e13da1365a62ca2afc_rle_crop_4066324012_0.png', 1398900319: '1765469605_3137615_1398900183_79a54daf2f41650b457b7966cd659dea_rle_crop_4066323995_0.png', 1398900194: '1765469488_3131527_1398900084_0154c9440f987bfa02ea065ef7737423_rle_crop_4066323117_0.png', 1398900191: '1765469466_3131058_1398899743_300ccb488c01e1f706d0244a6130cf53_rle_crop_4066322980_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/aa1cf6716cadbaf8b3c695a172ae04aa_3088422.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/24acf82ebf84bb504b60edeb9fa716cf_10788214.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/3527c015ee4e065af95b720a7c4e6d01_8756232.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/905d24c78f8348c14a75e061adb72bb4_78671947.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/1404715a29fbf21681c7d7a3d23ddf75_29683952.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/18f71f5a0275862510bafa0b70334bbf_90388265.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/0b63de115d12fa617b1baa2467363983_23842050.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/f46050753bf97bcf371979d2e1ccb798_26671139.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/f8d840b9d88c95f9b56802b3bdda133d_96293921.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/03798e92f3bc1fca88fcff3ed9767727_51270741.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/4387ac08d83fcebadf8a9202c6dc1bdc_14018954.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/f3a407e64e1401e796c60f60a3dd86cb_44872275.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/67a3e5ac5f314e8efbe116755726273f_42065473.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/46351cee4acf2bd27a66097775759515_25109188.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/c523e3de037d6334c911fa6b8cad5320_86846068.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/7a71799ea3143c3c685ff5b3111d8ac1_66788997.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/5bf901f728bf63a3f12aa2d90f8df1ec_39329494.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/3834a81b5a77128fbaab2210a2b1449f_83214041.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/7cacc0c3ff042d6fdae7160497342942_23969777.png change filename to text .imagette293451201765515607/ imagette293451201765515607/1765469725_3142813_1398900271_1ac69faff59a62b6e9d3d5ffc72f13f0_rle_crop_4066325308_0.png.png imagette293451201765515607/1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325542_0.png.png imagette293451201765515607/1765469605_3137615_1398900179_5fdcd87af410c470b266a56919d243a5_rle_crop_4066324031_0.png.png imagette293451201765515607/1765469845_3149279_1398900283_e885619bdcf69a9d91f0df2a62279832_rle_crop_4066325503_0.png.png imagette293451201765515607/1765469605_3137615_1398900175_cf52ab7e943d513ab4d1630054b28ced_rle_crop_4066324090_0.png.png imagette293451201765515607/1765469725_3142813_1398900274_0a3258737b73582806431764a3d824e2_rle_crop_4066325254_0.png.png imagette293451201765515607/1765469605_3137615_1398900182_5604ab0e15e164e13da1365a62ca2afc_rle_crop_4066324012_0.png.png imagette293451201765515607/1765469705_3142463_1398900155_9f303e18e0eb1e18294bf1849d42caff_rle_crop_4066324935_0.png.png imagette293451201765515607/1765469605_3137615_1398900175_cf52ab7e943d513ab4d1630054b28ced_rle_crop_4066324093_0.png.png imagette293451201765515607/1765469006_3104877_1398898187_e98ddd7732c3cebfdc15a06884638d01_rle_crop_4066317848_0.png.png imagette293451201765515607/1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325533_0.png.png imagette293451201765515607/1765471647_3223648_1398899911_f258beb4f80ac7adf727cedf7baf82a0_rle_crop_4066321461_0.png.png imagette293451201765515607/1765469725_3142813_1398900278_8e33a93872749108563ea10990f44a33_rle_crop_4066325237_0.png.png imagette293451201765515607/1765469845_3149279_1398900283_e885619bdcf69a9d91f0df2a62279832_rle_crop_4066325500_0.png.png imagette293451201765515607/1765469488_3131527_1398900084_0154c9440f987bfa02ea065ef7737423_rle_crop_4066323117_0.png.png imagette293451201765515607/1765469466_3131058_1398899743_300ccb488c01e1f706d0244a6130cf53_rle_crop_4066322980_0.png.png imagette293451201765515607/1765469845_3149279_1398900198_6b1f1c488d469590c2084a69223444cf_rle_crop_4066325546_0.png.png imagette293451201765515607/1765469605_3137615_1398900183_79a54daf2f41650b457b7966cd659dea_rle_crop_4066323995_0.png.png imagette293451201765515607/1765471647_3223648_1398900089_d7302dc0479c604fa3f8a1b490231ea3_rle_crop_4066337266_0.png.png imagette293451201765515607/1765469705_3142463_1398900186_135da039b44f4c3703dd541ce38bc2ca_rle_crop_4066324836_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/5875ba53148f5fe5dece58ce31d5c7b2_96151871.png imagette293451201765515607 29345123 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=29345123 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398900324: '1765469605_3137615_1398900183_79a54daf2f41650b457b7966cd659dea_rle_crop_4066323991_0.png', 1398900325: '1765469605_3137615_1398900183_79a54daf2f41650b457b7966cd659dea_rle_crop_4066323988_0.png', 1398900326: '1765469605_3137615_1398900175_cf52ab7e943d513ab4d1630054b28ced_rle_crop_4066324085_0.png', 1398900382: '1765469705_3142463_1398900156_390ffb95ddd27db77ee78a96461c3b90_rle_crop_4066324901_0.png', 1398900383: '1765469705_3142463_1398900154_b2bd2d4f0666b5c0da4ff3db978a94e4_rle_crop_4066324952_0.png', 1398900425: '1765469725_3142813_1398900274_0a3258737b73582806431764a3d824e2_rle_crop_4066325240_0.png', 1398900426: '1765469725_3142813_1398900271_1ac69faff59a62b6e9d3d5ffc72f13f0_rle_crop_4066325307_0.png', 1398902666: '1765471647_3223648_1398900089_d7302dc0479c604fa3f8a1b490231ea3_rle_crop_4066337264_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/0f869c78ce4ef8f9d6e95848178b6640_87469523.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/d87b4ad5e3bdb48bf2b4717bed9bc8a0_23176663.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/7e6e0c6380ae4a92b93452d393cc53e5_12025093.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/77fadb519c0453632d139b0d39c782da_59733454.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/138087cabc5dc7ac8c5841b545082250_28669220.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/dce10c6914d19ebaa3efeb7944c9469c_15069150.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/af6ee35c8629946e5bd62f44f32491df_4724195.png change filename to text .imagette293451231765515609/ imagette293451231765515609/1765469705_3142463_1398900154_b2bd2d4f0666b5c0da4ff3db978a94e4_rle_crop_4066324952_0.png.png imagette293451231765515609/1765469705_3142463_1398900156_390ffb95ddd27db77ee78a96461c3b90_rle_crop_4066324901_0.png.png imagette293451231765515609/1765469725_3142813_1398900271_1ac69faff59a62b6e9d3d5ffc72f13f0_rle_crop_4066325307_0.png.png imagette293451231765515609/1765471647_3223648_1398900089_d7302dc0479c604fa3f8a1b490231ea3_rle_crop_4066337264_0.png.png imagette293451231765515609/1765469605_3137615_1398900183_79a54daf2f41650b457b7966cd659dea_rle_crop_4066323991_0.png.png imagette293451231765515609/1765469605_3137615_1398900175_cf52ab7e943d513ab4d1630054b28ced_rle_crop_4066324085_0.png.png imagette293451231765515609/1765469725_3142813_1398900274_0a3258737b73582806431764a3d824e2_rle_crop_4066325240_0.png.png imagette293451231765515609/1765469605_3137615_1398900183_79a54daf2f41650b457b7966cd659dea_rle_crop_4066323988_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/732c33f112f1852cd8516ca8f67cddc6_56021277.png imagette293451231765515609 29345126 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=29345126 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1398899796: '1765469226_3116671_1398898751_9322a08202aed01c79062eeee57c5085_rle_crop_4066319834_0.png', 1398899920: '1765469246_3117172_1398899434_a9a092e72c7f8dc179e09fd9a618139e_rle_crop_4066319923_0.png', 1398899922: '1765469246_3117172_1398899434_a9a092e72c7f8dc179e09fd9a618139e_rle_crop_4066319919_0.png', 1398899924: '1765469246_3117172_1398899006_8ebfbc3b4e6796b78009b6c7276b7897_rle_crop_4066319933_0.png', 1398900430: '1765469725_3142813_1398900268_4178573c5d5c49e34078dbec2fcd3323_rle_crop_4066325323_0.png', 1398900708: '1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325539_0.png', 1398900709: '1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325531_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/72f92bc6e797ceb6893d6bf4d5dc05d8_61118382.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/b3d51fbe2648e689e2339287ac0d7eb0_82778.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/21a111e29140278221ef752c814f6a88_5695673.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/470b8593722ba268e6cccf071c3e180e_81900701.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/4ca2493725ce5b5055ca1ec991df00dd_48451081.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/3e749edae33459695b1d652dc3daf4f3_52795852.png change filename to text .imagette293451261765515610/ imagette293451261765515610/1765469725_3142813_1398900268_4178573c5d5c49e34078dbec2fcd3323_rle_crop_4066325323_0.png.png imagette293451261765515610/1765469246_3117172_1398899434_a9a092e72c7f8dc179e09fd9a618139e_rle_crop_4066319919_0.png.png imagette293451261765515610/1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325539_0.png.png imagette293451261765515610/1765469246_3117172_1398899006_8ebfbc3b4e6796b78009b6c7276b7897_rle_crop_4066319933_0.png.png imagette293451261765515610/1765469226_3116671_1398898751_9322a08202aed01c79062eeee57c5085_rle_crop_4066319834_0.png.png imagette293451261765515610/1765469845_3149279_1398900201_b73e9df6034707df39d188acbda8f4ff_rle_crop_4066325531_0.png.png imagette293451261765515610/1765469246_3117172_1398899434_a9a092e72c7f8dc179e09fd9a618139e_rle_crop_4066319923_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/832eea0ecd712b9efd3458c6945bb119_5705174.png imagette293451261765515610 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29345107 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29345127,29345128,29345129,29345130,29345131,29345132,29345133,29345134,29345135,29345136,29345137,29345138?tags=flou,metal,papier,environnement,cartonnette,Teint_Dans_La_Masse,kraft,plastique,Carton_gris,mal_croppe,autre_refus,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1398900435] : ('0.035867809380186716',) no score found for photo 1398900435 We are sending mail with results at report@fotonower.com args[1398900362] : ('0.035867809380186716',) no score found for photo 1398900362 We are sending mail with results at report@fotonower.com args[1398900341] : ('0.035867809380186716',) no score found for photo 1398900341 We are sending mail with results at report@fotonower.com args[1398900283] : ('0.035867809380186716',) no score found for photo 1398900283 We are sending mail with results at report@fotonower.com args[1398900278] : ('0.035867809380186716',) no score found for photo 1398900278 We are sending mail with results at report@fotonower.com args[1398900274] : ('0.035867809380186716',) no score found for photo 1398900274 We are sending mail with results at report@fotonower.com args[1398900272] : ('0.035867809380186716',) no score found for photo 1398900272 We are sending mail with results at report@fotonower.com args[1398900271] : ('0.035867809380186716',) no score found for photo 1398900271 We are sending mail with results at report@fotonower.com args[1398900268] : ('0.035867809380186716',) no score found for photo 1398900268 We are sending mail with results at report@fotonower.com args[1398900210] : ('0.035867809380186716',) no score found for photo 1398900210 We are sending mail with results at report@fotonower.com args[1398900207] : ('0.035867809380186716',) no score found for photo 1398900207 We are sending mail with results at report@fotonower.com args[1398900204] : ('0.035867809380186716',) no score found for photo 1398900204 We are sending mail with results at report@fotonower.com args[1398900201] : ('0.035867809380186716',) no score found for photo 1398900201 We are sending mail with results at report@fotonower.com args[1398900198] : ('0.035867809380186716',) no score found for photo 1398900198 We are sending mail with results at report@fotonower.com args[1398900186] : ('0.035867809380186716',) no score found for photo 1398900186 We are sending mail with results at report@fotonower.com args[1398900183] : ('0.035867809380186716',) no score found for photo 1398900183 We are sending mail with results at report@fotonower.com args[1398900182] : ('0.035867809380186716',) no score found for photo 1398900182 We are sending mail with results at report@fotonower.com args[1398900179] : ('0.035867809380186716',) no score found for photo 1398900179 We are sending mail with results at report@fotonower.com args[1398900175] : ('0.035867809380186716',) no score found for photo 1398900175 We are sending mail with results at report@fotonower.com args[1398900163] : ('0.035867809380186716',) no score found for photo 1398900163 We are sending mail with results at report@fotonower.com args[1398900160] : ('0.035867809380186716',) no score found for photo 1398900160 We are sending mail with results at report@fotonower.com args[1398900157] : ('0.035867809380186716',) no score found for photo 1398900157 We are sending mail with results at report@fotonower.com args[1398900156] : ('0.035867809380186716',) no score found for photo 1398900156 We are sending mail with results at report@fotonower.com args[1398900155] : ('0.035867809380186716',) no score found for photo 1398900155 We are sending mail with results at report@fotonower.com args[1398900154] : ('0.035867809380186716',) no score found for photo 1398900154 We are sending mail with results at report@fotonower.com args[1398900089] : ('0.035867809380186716',) no score found for photo 1398900089 We are sending mail with results at report@fotonower.com args[1398900084] : ('0.035867809380186716',) no score found for photo 1398900084 We are sending mail with results at report@fotonower.com args[1398900061] : ('0.035867809380186716',) no score found for photo 1398900061 We are sending mail with results at report@fotonower.com args[1398899951] : ('0.035867809380186716',) no score found for photo 1398899951 We are sending mail with results at report@fotonower.com args[1398899911] : ('0.035867809380186716',) no score found for photo 1398899911 We are sending mail with results at report@fotonower.com args[1398899877] : ('0.035867809380186716',) no score found for photo 1398899877 We are sending mail with results at report@fotonower.com args[1398899757] : ('0.035867809380186716',) no score found for photo 1398899757 We are sending mail with results at report@fotonower.com args[1398899743] : ('0.035867809380186716',) no score found for photo 1398899743 We are sending mail with results at report@fotonower.com args[1398899434] : ('0.035867809380186716',) no score found for photo 1398899434 We are sending mail with results at report@fotonower.com args[1398899042] : ('0.035867809380186716',) no score found for photo 1398899042 We are sending mail with results at report@fotonower.com args[1398899006] : ('0.035867809380186716',) no score found for photo 1398899006 We are sending mail with results at report@fotonower.com args[1398898754] : ('0.035867809380186716',) no score found for photo 1398898754 We are sending mail with results at report@fotonower.com args[1398898751] : ('0.035867809380186716',) no score found for photo 1398898751 We are sending mail with results at report@fotonower.com args[1398898748] : ('0.035867809380186716',) no score found for photo 1398898748 We are sending mail with results at report@fotonower.com args[1398898642] : ('0.035867809380186716',) no score found for photo 1398898642 We are sending mail with results at report@fotonower.com args[1398898641] : ('0.035867809380186716',) no score found for photo 1398898641 We are sending mail with results at report@fotonower.com args[1398898223] : ('0.035867809380186716',) no score found for photo 1398898223 We are sending mail with results at report@fotonower.com args[1398898187] : ('0.035867809380186716',) no score found for photo 1398898187 We are sending mail with results at report@fotonower.com args[1398898152] : ('0.035867809380186716',) no score found for photo 1398898152 We are sending mail with results at report@fotonower.com refus_total : 0.035867809380186716 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=29345107 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_P29345107_12-12-2025_06_00_03.pdf results_Auto_P29345107_12-12-2025_06_00_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345107_12-12-2025_06_00_03.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','29345107','results_Auto_P29345107_12-12-2025_06_00_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345107_12-12-2025_06_00_03.pdf','pdf','','0.48','0.035867809380186716') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29345107]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152] map_info['map_portfolio_photo'] : {29345107: [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152]} final : False mtd_id 4302 list_pids : [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152] 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, '4212479') ('4302', '29345107', '1398900435', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900362', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900341', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900283', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900278', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900274', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900272', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900271', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900268', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900210', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900207', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900204', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900201', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900198', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900186', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900183', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900182', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900179', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900175', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900163', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900160', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900157', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900156', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900155', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900154', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900089', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900084', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900061', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899951', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899911', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899877', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899757', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899743', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899434', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899042', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899006', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898754', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898751', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898748', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898642', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898641', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898223', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898187', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898152', None, None, None, None, None, '4212479') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 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', '29345107', '1398900435', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900362', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900341', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900283', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900278', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900274', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900272', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900271', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900268', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900210', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900207', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900204', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900201', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900198', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900186', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900183', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900182', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900179', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900175', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900163', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900160', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900157', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900156', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900155', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900154', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900089', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900084', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900061', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899951', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899911', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899877', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899757', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899743', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899434', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899042', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899006', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898754', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898751', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898748', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898642', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898641', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898223', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898187', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898152', None, None, None, None, None, '4212479')] time used for this insertion : 0.0186460018157959 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.872897386550903 time spend to save output : 0.019086599349975586 total time spend for step 4 : 11.891983985900879 step5:split_time_score Fri Dec 12 06:00:13 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 : ['29345107'] 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 : [('29345107',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29345107) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1398900182: {'path': 'temp/1765515601_3700433_1398900182_5604ab0e15e164e13da1365a62ca2afc.jpg', 'extension': 'jpg'}, 1398900183: {'path': 'temp/1765515601_3700433_1398900183_79a54daf2f41650b457b7966cd659dea.jpg', 'extension': 'jpg'}, 1398900186: {'path': 'temp/1765515601_3700433_1398900186_135da039b44f4c3703dd541ce38bc2ca.jpg', 'extension': 'jpg'}, 1398900198: {'path': 'temp/1765515601_3700433_1398900198_6b1f1c488d469590c2084a69223444cf.jpg', 'extension': 'jpg'}, 1398900201: {'path': 'temp/1765515601_3700433_1398900201_b73e9df6034707df39d188acbda8f4ff.jpg', 'extension': 'jpg'}, 1398900204: {'path': 'temp/1765515601_3700433_1398900204_6a3d0e48bd9d15f4227ace468f5ad41b.jpg', 'extension': 'jpg'}, 1398900207: {'path': 'temp/1765515601_3700433_1398900207_f28df3dbc5bdc79aef9ab2c64f562828.jpg', 'extension': 'jpg'}, 1398900210: {'path': 'temp/1765515601_3700433_1398900210_24873e9a13f17a6061ec1fbf258f506f.jpg', 'extension': 'jpg'}, 1398900268: {'path': 'temp/1765515601_3700433_1398900268_4178573c5d5c49e34078dbec2fcd3323.jpg', 'extension': 'jpg'}, 1398900271: {'path': 'temp/1765515601_3700433_1398900271_1ac69faff59a62b6e9d3d5ffc72f13f0.jpg', 'extension': 'jpg'}, 1398900272: {'path': 'temp/1765515601_3700433_1398900272_118627d976e0dcbc58de8774875ea8b8.jpg', 'extension': 'jpg'}, 1398900274: {'path': 'temp/1765515601_3700433_1398900274_0a3258737b73582806431764a3d824e2.jpg', 'extension': 'jpg'}, 1398900278: {'path': 'temp/1765515601_3700433_1398900278_8e33a93872749108563ea10990f44a33.jpg', 'extension': 'jpg'}, 1398900283: {'path': 'temp/1765515601_3700433_1398900283_e885619bdcf69a9d91f0df2a62279832.jpg', 'extension': 'jpg'}, 1398900341: {'path': 'temp/1765515601_3700433_1398900341_28bc3c004696ca532eb9dad8540c0953.jpg', 'extension': 'jpg'}, 1398900362: {'path': 'temp/1765515601_3700433_1398900362_4b4dc8dfd036f2b2ea01dc29187bd96a.jpg', 'extension': 'jpg'}, 1398900435: {'path': 'temp/1765515601_3700433_1398900435_b42c7159c6245af582ac40dd0aa83263.jpg', 'extension': 'jpg'}, 1398900089: {'path': 'temp/1765515601_3700433_1398900089_d7302dc0479c604fa3f8a1b490231ea3.jpg', 'extension': 'jpg'}, 1398900154: {'path': 'temp/1765515601_3700433_1398900154_b2bd2d4f0666b5c0da4ff3db978a94e4.jpg', 'extension': 'jpg'}, 1398900155: {'path': 'temp/1765515601_3700433_1398900155_9f303e18e0eb1e18294bf1849d42caff.jpg', 'extension': 'jpg'}, 1398900156: {'path': 'temp/1765515601_3700433_1398900156_390ffb95ddd27db77ee78a96461c3b90.jpg', 'extension': 'jpg'}, 1398900157: {'path': 'temp/1765515601_3700433_1398900157_5d0f1943c920c31376584547e26a856b.jpg', 'extension': 'jpg'}, 1398900160: {'path': 'temp/1765515601_3700433_1398900160_57ce2a8bedb1bac3546843b9b23628b1.jpg', 'extension': 'jpg'}, 1398900163: {'path': 'temp/1765515601_3700433_1398900163_7d89a38852504cce1048a3ed5251b0f8.jpg', 'extension': 'jpg'}, 1398900175: {'path': 'temp/1765515601_3700433_1398900175_cf52ab7e943d513ab4d1630054b28ced.jpg', 'extension': 'jpg'}, 1398900179: {'path': 'temp/1765515601_3700433_1398900179_5fdcd87af410c470b266a56919d243a5.jpg', 'extension': 'jpg'}, 1398899042: {'path': 'temp/1765515601_3700433_1398899042_16f4ea8981754b200940127f2f696c18.jpg', 'extension': 'jpg'}, 1398899434: {'path': 'temp/1765515601_3700433_1398899434_a9a092e72c7f8dc179e09fd9a618139e.jpg', 'extension': 'jpg'}, 1398899743: {'path': 'temp/1765515601_3700433_1398899743_300ccb488c01e1f706d0244a6130cf53.jpg', 'extension': 'jpg'}, 1398899757: {'path': 'temp/1765515601_3700433_1398899757_cbd17bb090980d8da84d75f0c88afe74.jpg', 'extension': 'jpg'}, 1398899877: {'path': 'temp/1765515601_3700433_1398899877_aebc2ed06694f204bbb2ecd4b9fccf14.jpg', 'extension': 'jpg'}, 1398899911: {'path': 'temp/1765515601_3700433_1398899911_f258beb4f80ac7adf727cedf7baf82a0.jpg', 'extension': 'jpg'}, 1398899951: {'path': 'temp/1765515601_3700433_1398899951_812c8d8bcaf515c4b2f8960d906ba8b8.jpg', 'extension': 'jpg'}, 1398900061: {'path': 'temp/1765515601_3700433_1398900061_a6808180e30b6e62dc803ff83a01621e.jpg', 'extension': 'jpg'}, 1398900084: {'path': 'temp/1765515601_3700433_1398900084_0154c9440f987bfa02ea065ef7737423.jpg', 'extension': 'jpg'}, 1398898152: {'path': 'temp/1765515601_3700433_1398898152_c3a56dd9df67e1ff7a2ebd92d1a84435.jpg', 'extension': 'jpg'}, 1398898187: {'path': 'temp/1765515601_3700433_1398898187_e98ddd7732c3cebfdc15a06884638d01.jpg', 'extension': 'jpg'}, 1398898223: {'path': 'temp/1765515601_3700433_1398898223_c4798e4107c2211e970fe79dc403036a.jpg', 'extension': 'jpg'}, 1398898641: {'path': 'temp/1765515601_3700433_1398898641_882d2b55a38e34a9e8fd56bfe32be733.jpg', 'extension': 'jpg'}, 1398898642: {'path': 'temp/1765515601_3700433_1398898642_4e8168ed3435a06828117fc768f0012f.jpg', 'extension': 'jpg'}, 1398898748: {'path': 'temp/1765515601_3700433_1398898748_ebe8b1ae4e9ce374e0f7c00804d2c814.jpg', 'extension': 'jpg'}, 1398898751: {'path': 'temp/1765515601_3700433_1398898751_9322a08202aed01c79062eeee57c5085.jpg', 'extension': 'jpg'}, 1398898754: {'path': 'temp/1765515601_3700433_1398898754_cc93cee73ed3c65a6521d6174cf25c2d.jpg', 'extension': 'jpg'}, 1398899006: {'path': 'temp/1765515601_3700433_1398899006_8ebfbc3b4e6796b78009b6c7276b7897.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 = 29345107; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29345107 group by h (('17', 44),) 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=29345107 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 (29345107) 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 (29345107) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11122025 29345107 Nombre de photos uploadées : 44 / 23040 (0%) 11122025 29345107 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 11122025 29345107 Nombre de photos taguées (volume) : 0 / 44 (0%) [{'photo_id': 1398898223, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/c4798e4107c2211e970fe79dc403036a.jpg', 'username': None, 'uploaded_at': 1765468927, 'text': 'image_11122025_17_00_04_10143.jpg'}, {'photo_id': 1398898187, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/e98ddd7732c3cebfdc15a06884638d01.jpg', 'username': None, 'uploaded_at': 1765468927, 'text': 'image_11122025_17_01_03_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398898152, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/c3a56dd9df67e1ff7a2ebd92d1a84435.jpg', 'username': None, 'uploaded_at': 1765468927, 'text': 'image_11122025_17_01_43_009131m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1398898642, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/11/4e8168ed3435a06828117fc768f0012f.jpg', 'username': None, 'uploaded_at': 1765468987, 'text': 'image_11122025_17_01_53_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002173900604248047 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29345107, '2025-12-11' ) 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-12-11' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2719645,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2673799991607666 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= 2719645 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29321646, 'dashboard_result_id': 18287320, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29321646_12-12-2025_05_35_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29321650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29321651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29321652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29321653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29321654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29321655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29321656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29321657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29321658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29321659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29321660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29321661, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29322119, 'dashboard_result_id': 18287321, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322119_12-12-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322134, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29322398, 'dashboard_result_id': 18287322, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322398_12-12-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322411, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29322629, 'dashboard_result_id': 18287323, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322629_11-12-2025_06_02_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322645, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29323264, 'dashboard_result_id': 18287324, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323264_12-12-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323276, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29323423, 'dashboard_result_id': 18287325, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323423_12-12-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323436, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29323841, 'dashboard_result_id': 18287326, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323841_12-12-2025_05_38_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323849, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323857, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29324186, 'dashboard_result_id': 18287327, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324186_12-12-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29324198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324202, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29324585, 'dashboard_result_id': 18287328, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324585_12-12-2025_05_39_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29324592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324603, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29324983, 'dashboard_result_id': 18287329, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324983_12-12-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29324991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324998, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29325878, 'dashboard_result_id': 18287330, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29325878_12-12-2025_05_40_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29325879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29325880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29325881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29325882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29325883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29325884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29325885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29325886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29325887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29325888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29325889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29325890, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29326189, 'dashboard_result_id': 18287331, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326189_12-12-2025_05_41_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29326190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326201, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29326519, 'dashboard_result_id': 18287332, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326519_12-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29326527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326532, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29326788, 'dashboard_result_id': 18287333, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326788_12-12-2025_05_42_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29326797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326807, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29327233, 'dashboard_result_id': 18287334, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29327233_12-12-2025_05_42_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29327258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29327259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29327260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29327261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29327262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29327263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29327264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29327265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29327266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29327267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29327268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29327269, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29327700, 'dashboard_result_id': 18287335, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29327700_12-12-2025_05_43_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29327716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29327717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29327718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29327719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29327720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29327721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29327722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29327723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29327724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29327725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29327726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29327727, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29328179, 'dashboard_result_id': 18287336, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29328179_12-12-2025_05_44_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29328181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29328182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29328183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29328184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29328185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29328186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29328187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29328188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29328189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29328190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29328191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29328192, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29328658, 'dashboard_result_id': 18287337, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29328658_12-12-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29328708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29328709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29328710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29328711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29328712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29328713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29328714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29328715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29328717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29328718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29328719, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29329187, 'dashboard_result_id': 18287338, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29329187_12-12-2025_05_45_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29329188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29329189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29329190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29329191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29329192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29329193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29329194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29329195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29329196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29329197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29329198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29329199, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29329580, 'dashboard_result_id': 18287339, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29329580_12-12-2025_05_45_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29329596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29329597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29329598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29329599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29329600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29329601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29329602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29329603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29329604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29329605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29329606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29329607, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29330124, 'dashboard_result_id': 18287340, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330124_12-12-2025_05_46_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29330125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29330126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29330127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29330128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29330129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29330130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29330131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29330132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29330133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29330134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29330135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29330136, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29330599, 'dashboard_result_id': 18287341, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330599_12-12-2025_05_46_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29330646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29330647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29330648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29330649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29330650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29330651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29330652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29330653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29330654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29330655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29330656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29330657, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29332949, 'dashboard_result_id': 18287342, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29332949_12-12-2025_05_46_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29332953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29332954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29332955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29332956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29332957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29332958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29332959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29332960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29332961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29332962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29332963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29332964, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29333472, 'dashboard_result_id': 18287343, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29333472_12-12-2025_05_47_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29333476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29333477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29333478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29333479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29333480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29333481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29333482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29333483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29333484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29333485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29333486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29333487, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29334094, 'dashboard_result_id': 18287344, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29334094_12-12-2025_05_48_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29334130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29334131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29334132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29334133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29334134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29334135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29334136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29334137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29334138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29334139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29334140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29334141, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29334922, 'dashboard_result_id': 18287345, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29334922_12-12-2025_05_48_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29334926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29334927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29334928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29334929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29334930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29334931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29334932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29334933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29334934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29334935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29334936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29334937, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29335534, 'dashboard_result_id': 18287346, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29335534_12-12-2025_05_49_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29335580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29335581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29335582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29335583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29335584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29335585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29335586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29335587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29335588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29335589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29335590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29335591, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29336151, 'dashboard_result_id': 18287347, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29336151_12-12-2025_05_50_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29336155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29336156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29336157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29336158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29336159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29336160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29336161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29336162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29336163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29336164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29336165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29336166, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29336513, 'dashboard_result_id': 18287348, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29336513_12-12-2025_05_50_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29336556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29336557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29336558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29336559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29336560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29336561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29336562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29336563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29336564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29336565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29336566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29336567, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29337147, 'dashboard_result_id': 18287349, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29337147_12-12-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29337210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29337211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29337212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29337213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29337214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29337215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29337216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29337217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29337218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29337219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29337220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29337221, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29337679, 'dashboard_result_id': 18287350, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29337679_12-12-2025_05_51_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29337712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29337713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29337714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29337715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29337716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29337717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29337719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29337720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29337722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29337723, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29338307, 'dashboard_result_id': 18287351, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29338307_12-12-2025_05_51_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29338332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29338333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29338334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29338335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29338336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29338337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29338338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29338339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29338340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29338341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29338342, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29338343, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29338662, 'dashboard_result_id': 18287352, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29338662_12-12-2025_05_52_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29338671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29338672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29338673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29338674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29338675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29338676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29338677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29338678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29338679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29338680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29338681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29338682, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29339849, 'dashboard_result_id': 18287353, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29339849_12-12-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29339852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29339853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29339854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29339855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29339856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29339857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29339858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29339859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29339860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29339861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29339862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29339863, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29340139, 'dashboard_result_id': 18287354, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340139_12-12-2025_05_53_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340151, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29340218, 'dashboard_result_id': 18287355, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340218_12-12-2025_05_54_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340224, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340233, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29340621, 'dashboard_result_id': 18287356, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340621_12-12-2025_05_54_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340633, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340635, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29340995, 'dashboard_result_id': 18287357, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340995_12-12-2025_05_55_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29341002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341010, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29341344, 'dashboard_result_id': 18287358, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29341344_12-12-2025_05_55_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29341358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29341363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341364, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29341833, 'dashboard_result_id': 18287359, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29341833_12-12-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29341858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29341867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341869, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29342241, 'dashboard_result_id': 18287360, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29342241_11-12-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29342273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29342274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29342275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29342276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29342277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29342278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29342279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29342280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29342281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29342282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29342283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29342284, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29342698, 'dashboard_result_id': 18287361, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29342698_12-12-2025_05_57_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29342735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29342736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29342737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29342738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29342739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29342740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29342741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29342742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29342743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29342744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29342745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29342746, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29343166, 'dashboard_result_id': 18287362, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29343166_12-12-2025_05_57_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29343168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29343169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29343170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29343171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29343172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29343173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29343174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29343175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29343176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29343177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29343178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29343179, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29343999, 'dashboard_result_id': 18287363, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29343999_12-12-2025_05_58_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29344009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344013, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29344244, 'dashboard_result_id': 18287364, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29344244_12-12-2025_05_58_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29344251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344263, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29344740, 'dashboard_result_id': 18287365, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29344740_12-12-2025_05_59_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29344750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344757, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29345107, 'dashboard_result_id': 18287366, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345107_11-12-2025_17_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29345115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29345116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29345117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29345118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29345119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29345120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29345121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29345122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29345123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29345124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29345125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29345126, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29345730, 'dashboard_result_id': 18287367, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345730_11-12-2025_18_04_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29345749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29345750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29345751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29345752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29345753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29345754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29345755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29345756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29345757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29345758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29345759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29345760, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29346427, 'dashboard_result_id': 18287368, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29346427_11-12-2025_20_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29346429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29346430, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29346431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29346432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29346433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29346434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29346435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29346436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29346437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29346438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29346439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29346440, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29347295, 'dashboard_result_id': 18287369, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347295_11-12-2025_20_17_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29347300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29347304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29347305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347309, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29347653, 'dashboard_result_id': 18287370, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347653_11-12-2025_20_33_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29347659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29347661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29347666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347667, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29347986, 'dashboard_result_id': 18287371, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347986_11-12-2025_20_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348002, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29348418, 'dashboard_result_id': 18287372, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29348418_11-12-2025_21_07_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29348425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29348426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29348429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29348430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29348431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29348432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29348433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29348434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29348435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348436, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29348939, 'dashboard_result_id': 18287373, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29348939_11-12-2025_21_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29348942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29348943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29348944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29348946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29348947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29348950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29348951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29348952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29348953, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29349158, 'dashboard_result_id': 18287374, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29349158_11-12-2025_21_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29349167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29349168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29349169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29349171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29349172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29349174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29349175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29349176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29349178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29349179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29349180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29349182, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29349575, 'dashboard_result_id': 18287375, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29349575_11-12-2025_21_46_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29349590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29349591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29349592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29349593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29349594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29349595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29349596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29349597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29349598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29349599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29349600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29349601, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29350021, 'dashboard_result_id': 18287376, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350021_11-12-2025_22_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29350030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350041, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29350373, 'dashboard_result_id': 18287377, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350373_11-12-2025_23_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29350383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350391, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29350782, 'dashboard_result_id': 18287378, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350782_11-12-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29350806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350815, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29351404, 'dashboard_result_id': 18287379, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29351404_11-12-2025_22_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29351422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29351423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29351424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29351425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29351426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29351427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29351428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29351429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29351430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29351431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29351432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29351433, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29351853, 'dashboard_result_id': 18287380, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29351853_12-12-2025_00_31_13.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29351855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29351856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29351857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29351858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29351859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29351860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29351861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29351862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29351863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29351864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29351865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29351866, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29352221, 'dashboard_result_id': 18287381, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29352221_11-12-2025_23_17_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29352225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29352226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29352227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29352228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29352229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29352230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29352231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29352232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29352233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29352234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29352235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29352236, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29352638, 'dashboard_result_id': 18287382, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29352638_11-12-2025_23_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29352671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29352672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29352673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29352674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29352675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29352676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29352677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29352678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29352679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29352680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29352681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29352682, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29353093, 'dashboard_result_id': 18287383, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353093_11-12-2025_23_33_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353113, 'pht': 3726}}"}, {'dashboat_entry_day': 2719645, 'dashboard_run_id': 2733543, 'mtr_portfolio_id': 29353470, 'dashboard_result_id': 18287384, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353470_12-12-2025_01_20_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353494, '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 = 29321646 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212433, 'mtr_portfolio_id': 29321646, 'created_at': datetime.datetime(2025, 12, 12, 5, 35), 'result': '0.07643875274593921', 'result_long': None, 'result_double': None}] Qualite : 0.07643875274593921 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29321646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29321646_12-12-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29321646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29321646_12-12-2025_05_35_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29321650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29321651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29321652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29321653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29321654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29321655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29321656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29321657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29321658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29321659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29321660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29321661, 'pht': 3726}}" where mtr_portfolio_id = 29321646 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29321646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287320, 0.07643875274593921, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29321646_12-12-2025_05_35_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29321650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29321651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29321652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29321653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29321654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29321655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29321656, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29321657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29321658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29321659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29321660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29321661, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29322119 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212434, 'mtr_portfolio_id': 29322119, 'created_at': datetime.datetime(2025, 12, 12, 5, 35, 29), 'result': '0.0483324519804703', 'result_long': None, 'result_double': None}] Qualite : 0.0483324519804703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29322119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322119_12-12-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29322119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322119_12-12-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322134, 'pht': 3726}}" where mtr_portfolio_id = 29322119 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29322119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287321, 0.0483324519804703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322119_12-12-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322134, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29322398 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212435, 'mtr_portfolio_id': 29322398, 'created_at': datetime.datetime(2025, 12, 12, 5, 36, 1), 'result': '0.054570748405245555', 'result_long': None, 'result_double': None}] Qualite : 0.054570748405245555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29322398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322398_12-12-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29322398 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322398_12-12-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322411, 'pht': 3726}}" where mtr_portfolio_id = 29322398 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29322398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287322, 0.054570748405245555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322398_12-12-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322404, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322411, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29322629 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212436, 'mtr_portfolio_id': 29322629, 'created_at': datetime.datetime(2025, 12, 12, 5, 36, 12), 'result': '0.047590507341236356', 'result_long': None, 'result_double': None}] Qualite : 0.047590507341236356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29322629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322629_11-12-2025_06_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29322629 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322629_11-12-2025_06_02_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322645, 'pht': 3726}}" where mtr_portfolio_id = 29322629 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29322629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287323, 0.047590507341236356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29322629_11-12-2025_06_02_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29322634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29322635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29322636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29322637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29322638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29322639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29322640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29322641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29322642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29322643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29322644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29322645, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29323264 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212437, 'mtr_portfolio_id': 29323264, 'created_at': datetime.datetime(2025, 12, 12, 5, 36, 59), 'result': '0.035789040329989294', 'result_long': None, 'result_double': None}] Qualite : 0.035789040329989294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29323264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323264_12-12-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29323264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323264_12-12-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323276, 'pht': 3726}}" where mtr_portfolio_id = 29323264 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29323264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287324, 0.035789040329989294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323264_12-12-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323276, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29323423 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212438, 'mtr_portfolio_id': 29323423, 'created_at': datetime.datetime(2025, 12, 12, 5, 37, 31), 'result': '0.04968094607163006', 'result_long': None, 'result_double': None}] Qualite : 0.04968094607163006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29323423 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323423_12-12-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29323423 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323423_12-12-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323436, 'pht': 3726}}" where mtr_portfolio_id = 29323423 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29323423 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287325, 0.04968094607163006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323423_12-12-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323436, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29323841 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212439, 'mtr_portfolio_id': 29323841, 'created_at': datetime.datetime(2025, 12, 12, 5, 38), 'result': '0.055741242462971276', 'result_long': None, 'result_double': None}] Qualite : 0.055741242462971276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29323841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323841_12-12-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29323841 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323841_12-12-2025_05_38_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323849, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323857, 'pht': 3726}}" where mtr_portfolio_id = 29323841 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29323841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287326, 0.055741242462971276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29323841_12-12-2025_05_38_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29323846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29323847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29323848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29323849, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29323850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29323851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29323852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29323853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29323854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29323855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29323856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29323857, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29324186 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212440, 'mtr_portfolio_id': 29324186, 'created_at': datetime.datetime(2025, 12, 12, 5, 38, 27), 'result': '0.05122785590253262', 'result_long': None, 'result_double': None}] Qualite : 0.05122785590253262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29324186 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324186_12-12-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29324186 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324186_12-12-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29324198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324202, 'pht': 3726}}" where mtr_portfolio_id = 29324186 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29324186 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287327, 0.05122785590253262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324186_12-12-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29324198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324202, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29324585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212441, 'mtr_portfolio_id': 29324585, 'created_at': datetime.datetime(2025, 12, 12, 5, 39, 29), 'result': '0.03889559196532047', 'result_long': None, 'result_double': None}] Qualite : 0.03889559196532047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29324585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324585_12-12-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29324585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324585_12-12-2025_05_39_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29324592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324603, 'pht': 3726}}" where mtr_portfolio_id = 29324585 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29324585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287328, 0.03889559196532047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324585_12-12-2025_05_39_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29324592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324603, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29324983 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212442, 'mtr_portfolio_id': 29324983, 'created_at': datetime.datetime(2025, 12, 12, 5, 39, 59), 'result': '0.057243548299115314', 'result_long': None, 'result_double': None}] Qualite : 0.057243548299115314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29324983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324983_12-12-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29324983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324983_12-12-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29324991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324998, 'pht': 3726}}" where mtr_portfolio_id = 29324983 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29324983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287329, 0.057243548299115314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29324983_12-12-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29324987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29324988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29324989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29324990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29324991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29324992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29324993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29324994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29324995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29324996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29324997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29324998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29325878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212443, 'mtr_portfolio_id': 29325878, 'created_at': datetime.datetime(2025, 12, 12, 5, 40, 30), 'result': '0.04902700695993459', 'result_long': None, 'result_double': None}] Qualite : 0.04902700695993459 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29325878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29325878_12-12-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29325878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29325878_12-12-2025_05_40_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29325879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29325880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29325881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29325882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29325883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29325884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29325885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29325886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29325887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29325888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29325889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29325890, 'pht': 3726}}" where mtr_portfolio_id = 29325878 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29325878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287330, 0.04902700695993459, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29325878_12-12-2025_05_40_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29325879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29325880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29325881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29325882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29325883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29325884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29325885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29325886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29325887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29325888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29325889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29325890, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29326189 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212444, 'mtr_portfolio_id': 29326189, 'created_at': datetime.datetime(2025, 12, 12, 5, 41, 11), 'result': '0.01662334290792265', 'result_long': None, 'result_double': None}] Qualite : 0.01662334290792265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29326189 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326189_12-12-2025_05_41_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29326189 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326189_12-12-2025_05_41_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29326190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326201, 'pht': 3726}}" where mtr_portfolio_id = 29326189 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29326189 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287331, 0.01662334290792265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326189_12-12-2025_05_41_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29326190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326201, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29326519 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212445, 'mtr_portfolio_id': 29326519, 'created_at': datetime.datetime(2025, 12, 12, 5, 41, 29), 'result': '0.0855541155545358', 'result_long': None, 'result_double': None}] Qualite : 0.0855541155545358 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29326519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326519_12-12-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29326519 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326519_12-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29326527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326532, 'pht': 3726}}" where mtr_portfolio_id = 29326519 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29326519 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287332, 0.0855541155545358, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326519_12-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29326527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326532, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29326788 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212446, 'mtr_portfolio_id': 29326788, 'created_at': datetime.datetime(2025, 12, 12, 5, 41, 58), 'result': '0.03463186507766394', 'result_long': None, 'result_double': None}] Qualite : 0.03463186507766394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29326788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326788_12-12-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29326788 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326788_12-12-2025_05_42_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29326797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326807, 'pht': 3726}}" where mtr_portfolio_id = 29326788 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29326788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287333, 0.03463186507766394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29326788_12-12-2025_05_42_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29326796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29326797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29326798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29326799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29326800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29326801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29326802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29326803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29326804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29326805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29326806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29326807, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29327233 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212447, 'mtr_portfolio_id': 29327233, 'created_at': datetime.datetime(2025, 12, 12, 5, 42, 30), 'result': '0.051677933738862536', 'result_long': None, 'result_double': None}] Qualite : 0.051677933738862536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29327233 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29327233_12-12-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29327233 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29327233_12-12-2025_05_42_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29327258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29327259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29327260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29327261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29327262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29327263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29327264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29327265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29327266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29327267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29327268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29327269, 'pht': 3726}}" where mtr_portfolio_id = 29327233 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29327233 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287334, 0.051677933738862536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29327233_12-12-2025_05_42_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29327258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29327259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29327260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29327261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29327262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29327263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29327264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29327265, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29327266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29327267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29327268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29327269, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29327700 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212448, 'mtr_portfolio_id': 29327700, 'created_at': datetime.datetime(2025, 12, 12, 5, 43, 29), 'result': '0.04721968627878306', 'result_long': None, 'result_double': None}] Qualite : 0.04721968627878306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29327700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29327700_12-12-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29327700 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29327700_12-12-2025_05_43_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29327716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29327717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29327718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29327719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29327720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29327721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29327722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29327723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29327724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29327725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29327726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29327727, 'pht': 3726}}" where mtr_portfolio_id = 29327700 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29327700 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287335, 0.04721968627878306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29327700_12-12-2025_05_43_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29327716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29327717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29327718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29327719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29327720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29327721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29327722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29327723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29327724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29327725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29327726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29327727, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29328179 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212449, 'mtr_portfolio_id': 29328179, 'created_at': datetime.datetime(2025, 12, 12, 5, 43, 59), 'result': '0.05328584741796575', 'result_long': None, 'result_double': None}] Qualite : 0.05328584741796575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29328179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29328179_12-12-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29328179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29328179_12-12-2025_05_44_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29328181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29328182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29328183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29328184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29328185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29328186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29328187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29328188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29328189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29328190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29328191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29328192, 'pht': 3726}}" where mtr_portfolio_id = 29328179 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29328179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287336, 0.05328584741796575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29328179_12-12-2025_05_44_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29328181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29328182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29328183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29328184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29328185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29328186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29328187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29328188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29328189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29328190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29328191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29328192, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29328658 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212450, 'mtr_portfolio_id': 29328658, 'created_at': datetime.datetime(2025, 12, 12, 5, 44, 27), 'result': '0.05154623932636641', 'result_long': None, 'result_double': None}] Qualite : 0.05154623932636641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29328658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29328658_12-12-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29328658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29328658_12-12-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29328708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29328709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29328710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29328711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29328712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29328713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29328714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29328715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29328717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29328718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29328719, 'pht': 3726}}" where mtr_portfolio_id = 29328658 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29328658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287337, 0.05154623932636641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29328658_12-12-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29328708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29328709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29328710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29328711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29328712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29328713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29328714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29328715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29328717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29328718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29328719, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29329187 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212451, 'mtr_portfolio_id': 29329187, 'created_at': datetime.datetime(2025, 12, 12, 5, 45, 30), 'result': '0.05276924294604487', 'result_long': None, 'result_double': None}] Qualite : 0.05276924294604487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29329187 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29329187_12-12-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29329187 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29329187_12-12-2025_05_45_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29329188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29329189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29329190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29329191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29329192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29329193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29329194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29329195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29329196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29329197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29329198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29329199, 'pht': 3726}}" where mtr_portfolio_id = 29329187 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29329187 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287338, 0.05276924294604487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29329187_12-12-2025_05_45_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29329188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29329189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29329190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29329191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29329192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29329193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29329194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29329195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29329196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29329197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29329198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29329199, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29329580 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212452, 'mtr_portfolio_id': 29329580, 'created_at': datetime.datetime(2025, 12, 12, 5, 45, 37), 'result': '0.04957354487499023', 'result_long': None, 'result_double': None}] Qualite : 0.04957354487499023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29329580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29329580_12-12-2025_05_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29329580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29329580_12-12-2025_05_45_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29329596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29329597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29329598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29329599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29329600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29329601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29329602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29329603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29329604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29329605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29329606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29329607, 'pht': 3726}}" where mtr_portfolio_id = 29329580 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29329580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287339, 0.04957354487499023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29329580_12-12-2025_05_45_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29329596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29329597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29329598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29329599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29329600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29329601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29329602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29329603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29329604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29329605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29329606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29329607, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29330124 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212453, 'mtr_portfolio_id': 29330124, 'created_at': datetime.datetime(2025, 12, 12, 5, 45, 59), 'result': '0.04079105635330674', 'result_long': None, 'result_double': None}] Qualite : 0.04079105635330674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29330124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330124_12-12-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29330124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330124_12-12-2025_05_46_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29330125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29330126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29330127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29330128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29330129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29330130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29330131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29330132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29330133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29330134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29330135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29330136, 'pht': 3726}}" where mtr_portfolio_id = 29330124 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29330124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287340, 0.04079105635330674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330124_12-12-2025_05_46_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29330125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29330126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29330127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29330128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29330129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29330130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29330131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29330132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29330133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29330134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29330135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29330136, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29330599 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212454, 'mtr_portfolio_id': 29330599, 'created_at': datetime.datetime(2025, 12, 12, 5, 46, 9), 'result': '0.05702788636914127', 'result_long': None, 'result_double': None}] Qualite : 0.05702788636914127 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29330599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330599_12-12-2025_05_46_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29330599 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330599_12-12-2025_05_46_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29330646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29330647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29330648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29330649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29330650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29330651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29330652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29330653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29330654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29330655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29330656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29330657, 'pht': 3726}}" where mtr_portfolio_id = 29330599 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29330599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287341, 0.05702788636914127, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29330599_12-12-2025_05_46_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29330646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29330647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29330648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29330649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29330650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29330651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29330652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29330653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29330654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29330655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29330656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29330657, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29332949 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212455, 'mtr_portfolio_id': 29332949, 'created_at': datetime.datetime(2025, 12, 12, 5, 46, 30), 'result': '0.036253920973687605', 'result_long': None, 'result_double': None}] Qualite : 0.036253920973687605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29332949 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29332949_12-12-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29332949 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29332949_12-12-2025_05_46_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29332953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29332954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29332955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29332956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29332957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29332958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29332959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29332960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29332961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29332962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29332963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29332964, 'pht': 3726}}" where mtr_portfolio_id = 29332949 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29332949 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287342, 0.036253920973687605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29332949_12-12-2025_05_46_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29332953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29332954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29332955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29332956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29332957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29332958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29332959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29332960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29332961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29332962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29332963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29332964, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29333472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212456, 'mtr_portfolio_id': 29333472, 'created_at': datetime.datetime(2025, 12, 12, 5, 47, 29), 'result': '0.06534210818173765', 'result_long': None, 'result_double': None}] Qualite : 0.06534210818173765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29333472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29333472_12-12-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29333472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29333472_12-12-2025_05_47_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29333476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29333477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29333478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29333479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29333480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29333481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29333482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29333483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29333484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29333485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29333486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29333487, 'pht': 3726}}" where mtr_portfolio_id = 29333472 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29333472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287343, 0.06534210818173765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29333472_12-12-2025_05_47_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29333476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29333477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29333478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29333479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29333480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29333481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29333482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29333483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29333484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29333485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29333486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29333487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29334094 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212457, 'mtr_portfolio_id': 29334094, 'created_at': datetime.datetime(2025, 12, 12, 5, 48, 1), 'result': '0.04108669595935669', 'result_long': None, 'result_double': None}] Qualite : 0.04108669595935669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29334094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29334094_12-12-2025_05_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29334094 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29334094_12-12-2025_05_48_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29334130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29334131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29334132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29334133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29334134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29334135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29334136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29334137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29334138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29334139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29334140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29334141, 'pht': 3726}}" where mtr_portfolio_id = 29334094 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29334094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287344, 0.04108669595935669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29334094_12-12-2025_05_48_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29334130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29334131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29334132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29334133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29334134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29334135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29334136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29334137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29334138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29334139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29334140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29334141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29334922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212458, 'mtr_portfolio_id': 29334922, 'created_at': datetime.datetime(2025, 12, 12, 5, 48, 27), 'result': '0.043653899762782646', 'result_long': None, 'result_double': None}] Qualite : 0.043653899762782646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29334922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29334922_12-12-2025_05_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29334922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29334922_12-12-2025_05_48_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29334926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29334927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29334928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29334929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29334930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29334931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29334932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29334933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29334934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29334935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29334936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29334937, 'pht': 3726}}" where mtr_portfolio_id = 29334922 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29334922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287345, 0.043653899762782646, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29334922_12-12-2025_05_48_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29334926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29334927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29334928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29334929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29334930, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29334931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29334932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29334933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29334934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29334935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29334936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29334937, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29335534 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212459, 'mtr_portfolio_id': 29335534, 'created_at': datetime.datetime(2025, 12, 12, 5, 49, 28), 'result': '0.042121483887326526', 'result_long': None, 'result_double': None}] Qualite : 0.042121483887326526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29335534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29335534_12-12-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29335534 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29335534_12-12-2025_05_49_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29335580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29335581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29335582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29335583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29335584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29335585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29335586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29335587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29335588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29335589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29335590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29335591, 'pht': 3726}}" where mtr_portfolio_id = 29335534 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29335534 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287346, 0.042121483887326526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29335534_12-12-2025_05_49_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29335580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29335581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29335582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29335583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29335584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29335585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29335586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29335587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29335588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29335589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29335590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29335591, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29336151 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212460, 'mtr_portfolio_id': 29336151, 'created_at': datetime.datetime(2025, 12, 12, 5, 49, 59), 'result': '0.04996759947708404', 'result_long': None, 'result_double': None}] Qualite : 0.04996759947708404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29336151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29336151_12-12-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29336151 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29336151_12-12-2025_05_50_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29336155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29336156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29336157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29336158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29336159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29336160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29336161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29336162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29336163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29336164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29336165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29336166, 'pht': 3726}}" where mtr_portfolio_id = 29336151 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29336151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287347, 0.04996759947708404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29336151_12-12-2025_05_50_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29336155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29336156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29336157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29336158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29336159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29336160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29336161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29336162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29336163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29336164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29336165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29336166, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29336513 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212461, 'mtr_portfolio_id': 29336513, 'created_at': datetime.datetime(2025, 12, 12, 5, 50, 30), 'result': '0.04556431999150525', 'result_long': None, 'result_double': None}] Qualite : 0.04556431999150525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29336513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29336513_12-12-2025_05_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29336513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29336513_12-12-2025_05_50_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29336556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29336557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29336558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29336559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29336560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29336561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29336562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29336563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29336564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29336565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29336566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29336567, 'pht': 3726}}" where mtr_portfolio_id = 29336513 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29336513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287348, 0.04556431999150525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29336513_12-12-2025_05_50_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29336556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29336557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29336558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29336559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29336560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29336561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29336562, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29336563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29336564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29336565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29336566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29336567, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29337147 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212462, 'mtr_portfolio_id': 29337147, 'created_at': datetime.datetime(2025, 12, 12, 5, 50, 39), 'result': '0.046757962880682256', 'result_long': None, 'result_double': None}] Qualite : 0.046757962880682256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29337147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29337147_12-12-2025_05_50_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29337147 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29337147_12-12-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29337210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29337211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29337212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29337213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29337214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29337215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29337216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29337217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29337218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29337219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29337220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29337221, 'pht': 3726}}" where mtr_portfolio_id = 29337147 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29337147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287349, 0.046757962880682256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29337147_12-12-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29337210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29337211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29337212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29337213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29337214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29337215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29337216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29337217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29337218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29337219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29337220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29337221, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29337679 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212463, 'mtr_portfolio_id': 29337679, 'created_at': datetime.datetime(2025, 12, 12, 5, 51, 8), 'result': '0.04427303960020226', 'result_long': None, 'result_double': None}] Qualite : 0.04427303960020226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29337679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29337679_12-12-2025_05_51_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29337679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29337679_12-12-2025_05_51_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29337712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29337713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29337714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29337715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29337716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29337717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29337719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29337720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29337722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29337723, 'pht': 3726}}" where mtr_portfolio_id = 29337679 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29337679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287350, 0.04427303960020226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29337679_12-12-2025_05_51_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29337712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29337713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29337714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29337715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29337716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29337717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29337719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29337720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29337722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29337723, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29338307 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212464, 'mtr_portfolio_id': 29338307, 'created_at': datetime.datetime(2025, 12, 12, 5, 51, 28), 'result': '0.04687654655592014', 'result_long': None, 'result_double': None}] Qualite : 0.04687654655592014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29338307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29338307_12-12-2025_05_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29338307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29338307_12-12-2025_05_51_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29338332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29338333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29338334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29338335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29338336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29338337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29338338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29338339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29338340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29338341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29338342, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29338343, 'pht': 3726}}" where mtr_portfolio_id = 29338307 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29338307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287351, 0.04687654655592014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29338307_12-12-2025_05_51_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29338332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29338333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29338334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29338335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29338336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29338337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29338338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29338339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29338340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29338341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29338342, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29338343, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29338662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212465, 'mtr_portfolio_id': 29338662, 'created_at': datetime.datetime(2025, 12, 12, 5, 51, 57), 'result': '0.08474513585372834', 'result_long': None, 'result_double': None}] Qualite : 0.08474513585372834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29338662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29338662_12-12-2025_05_52_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29338662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29338662_12-12-2025_05_52_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29338671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29338672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29338673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29338674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29338675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29338676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29338677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29338678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29338679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29338680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29338681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29338682, 'pht': 3726}}" where mtr_portfolio_id = 29338662 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29338662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287352, 0.08474513585372834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29338662_12-12-2025_05_52_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29338671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29338672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29338673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29338674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29338675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29338676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29338677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29338678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29338679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29338680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29338681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29338682, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29339849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212466, 'mtr_portfolio_id': 29339849, 'created_at': datetime.datetime(2025, 12, 12, 5, 52, 31), 'result': '0.023122918750532385', 'result_long': None, 'result_double': None}] Qualite : 0.023122918750532385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29339849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29339849_12-12-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29339849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29339849_12-12-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29339852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29339853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29339854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29339855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29339856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29339857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29339858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29339859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29339860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29339861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29339862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29339863, 'pht': 3726}}" where mtr_portfolio_id = 29339849 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29339849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287353, 0.023122918750532385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29339849_12-12-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29339852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29339853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29339854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29339855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29339856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29339857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29339858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29339859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29339860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29339861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29339862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29339863, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29340139 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212467, 'mtr_portfolio_id': 29340139, 'created_at': datetime.datetime(2025, 12, 12, 5, 53, 29), 'result': '0.0742976552094826', 'result_long': None, 'result_double': None}] Qualite : 0.0742976552094826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29340139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340139_12-12-2025_05_53_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29340139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340139_12-12-2025_05_53_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340151, 'pht': 3726}}" where mtr_portfolio_id = 29340139 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29340139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287354, 0.0742976552094826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340139_12-12-2025_05_53_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340151, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29340218 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212468, 'mtr_portfolio_id': 29340218, 'created_at': datetime.datetime(2025, 12, 12, 5, 54), 'result': '0.03570483011046258', 'result_long': None, 'result_double': None}] Qualite : 0.03570483011046258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29340218 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340218_12-12-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29340218 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340218_12-12-2025_05_54_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340224, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340233, 'pht': 3726}}" where mtr_portfolio_id = 29340218 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29340218 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287355, 0.03570483011046258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340218_12-12-2025_05_54_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340224, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29340621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212469, 'mtr_portfolio_id': 29340621, 'created_at': datetime.datetime(2025, 12, 12, 5, 54, 29), 'result': '0.03149946996016877', 'result_long': None, 'result_double': None}] Qualite : 0.03149946996016877 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29340621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340621_12-12-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29340621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340621_12-12-2025_05_54_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340633, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340635, 'pht': 3726}}" where mtr_portfolio_id = 29340621 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29340621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287356, 0.03149946996016877, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340621_12-12-2025_05_54_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29340624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29340625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29340626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29340627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29340628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340629, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29340630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29340631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29340632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29340633, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29340634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29340635, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29340995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212470, 'mtr_portfolio_id': 29340995, 'created_at': datetime.datetime(2025, 12, 12, 5, 55, 28), 'result': '0.04104386570457124', 'result_long': None, 'result_double': None}] Qualite : 0.04104386570457124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29340995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340995_12-12-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29340995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340995_12-12-2025_05_55_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29341002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341010, 'pht': 3726}}" where mtr_portfolio_id = 29340995 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29340995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287357, 0.04104386570457124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29340995_12-12-2025_05_55_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29340999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29341002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341010, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29341344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212471, 'mtr_portfolio_id': 29341344, 'created_at': datetime.datetime(2025, 12, 12, 5, 55, 38), 'result': '0.03905828388383389', 'result_long': None, 'result_double': None}] Qualite : 0.03905828388383389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29341344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29341344_12-12-2025_05_55_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29341344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29341344_12-12-2025_05_55_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29341358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29341363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341364, 'pht': 3726}}" where mtr_portfolio_id = 29341344 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29341344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287358, 0.03905828388383389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29341344_12-12-2025_05_55_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29341358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29341363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341364, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29341833 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212472, 'mtr_portfolio_id': 29341833, 'created_at': datetime.datetime(2025, 12, 12, 5, 55, 59), 'result': '0.03944984392018443', 'result_long': None, 'result_double': None}] Qualite : 0.03944984392018443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29341833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29341833_12-12-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29341833 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29341833_12-12-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29341858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29341867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341869, 'pht': 3726}}" where mtr_portfolio_id = 29341833 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29341833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287359, 0.03944984392018443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29341833_12-12-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29341858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29341859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29341860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29341861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29341862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29341863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29341864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29341865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29341866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29341867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29341868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29341869, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29342241 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212473, 'mtr_portfolio_id': 29342241, 'created_at': datetime.datetime(2025, 12, 12, 5, 56, 13), 'result': '0.03315916148338814', 'result_long': None, 'result_double': None}] Qualite : 0.03315916148338814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29342241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29342241_11-12-2025_15_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29342241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29342241_11-12-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29342273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29342274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29342275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29342276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29342277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29342278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29342279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29342280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29342281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29342282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29342283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29342284, 'pht': 3726}}" where mtr_portfolio_id = 29342241 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29342241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287360, 0.03315916148338814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29342241_11-12-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29342273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29342274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29342275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29342276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29342277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29342278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29342279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29342280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29342281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29342282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29342283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29342284, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29342698 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212474, 'mtr_portfolio_id': 29342698, 'created_at': datetime.datetime(2025, 12, 12, 5, 57), 'result': '0.035786883719539676', 'result_long': None, 'result_double': None}] Qualite : 0.035786883719539676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29342698 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29342698_12-12-2025_05_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29342698 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29342698_12-12-2025_05_57_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29342735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29342736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29342737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29342738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29342739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29342740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29342741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29342742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29342743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29342744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29342745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29342746, 'pht': 3726}}" where mtr_portfolio_id = 29342698 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29342698 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287361, 0.035786883719539676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29342698_12-12-2025_05_57_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29342735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29342736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29342737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29342738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29342739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29342740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29342741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29342742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29342743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29342744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29342745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29342746, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29343166 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212475, 'mtr_portfolio_id': 29343166, 'created_at': datetime.datetime(2025, 12, 12, 5, 57, 29), 'result': '0.042186805733130835', 'result_long': None, 'result_double': None}] Qualite : 0.042186805733130835 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29343166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29343166_12-12-2025_05_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29343166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29343166_12-12-2025_05_57_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29343168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29343169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29343170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29343171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29343172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29343173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29343174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29343175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29343176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29343177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29343178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29343179, 'pht': 3726}}" where mtr_portfolio_id = 29343166 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29343166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287362, 0.042186805733130835, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29343166_12-12-2025_05_57_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29343168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29343169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29343170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29343171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29343172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29343173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29343174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29343175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29343176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29343177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29343178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29343179, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29343999 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212476, 'mtr_portfolio_id': 29343999, 'created_at': datetime.datetime(2025, 12, 12, 5, 58), 'result': '0.0552655368033306', 'result_long': None, 'result_double': None}] Qualite : 0.0552655368033306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29343999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29343999_12-12-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29343999 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29343999_12-12-2025_05_58_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29344009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344013, 'pht': 3726}}" where mtr_portfolio_id = 29343999 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29343999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287363, 0.0552655368033306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29343999_12-12-2025_05_58_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29344009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344013, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29344244 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212477, 'mtr_portfolio_id': 29344244, 'created_at': datetime.datetime(2025, 12, 12, 5, 58, 31), 'result': '0.07745051266651048', 'result_long': None, 'result_double': None}] Qualite : 0.07745051266651048 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29344244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29344244_12-12-2025_05_58_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29344244 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29344244_12-12-2025_05_58_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29344251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344263, 'pht': 3726}}" where mtr_portfolio_id = 29344244 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29344244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287364, 0.07745051266651048, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29344244_12-12-2025_05_58_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29344251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344257, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29344740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212478, 'mtr_portfolio_id': 29344740, 'created_at': datetime.datetime(2025, 12, 12, 5, 59, 30), 'result': '0.05712097307680944', 'result_long': None, 'result_double': None}] Qualite : 0.05712097307680944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29344740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29344740_12-12-2025_05_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29344740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29344740_12-12-2025_05_59_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29344750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344757, 'pht': 3726}}" where mtr_portfolio_id = 29344740 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29344740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287365, 0.05712097307680944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29344740_12-12-2025_05_59_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29344746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29344747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29344748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29344749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29344750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29344751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29344752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29344753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29344754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29344755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29344756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29344757, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29345107 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4212479, 'mtr_portfolio_id': 29345107, 'created_at': datetime.datetime(2025, 12, 12, 6, 0, 1), 'result': '0.035867809380186716', 'result_long': None, 'result_double': None}] Qualite : 0.035867809380186716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29345107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345107_12-12-2025_06_00_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29345107 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345107_12-12-2025_06_00_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29345115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29345116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29345117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29345118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29345119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29345120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29345121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29345122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29345123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29345124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29345125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29345126, 'pht': 3726}}" where mtr_portfolio_id = 29345107 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29345107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287366, 0.035867809380186716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345107_12-12-2025_06_00_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29345115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29345116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29345117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29345118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29345119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29345120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29345121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29345122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29345123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29345124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29345125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29345126, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29345730 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4209740, 'mtr_portfolio_id': 29345730, 'created_at': datetime.datetime(2025, 12, 11, 18, 4, 32), 'result': '0.05602340117144753', 'result_long': None, 'result_double': None}] Qualite : 0.05602340117144753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29345730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345730_11-12-2025_18_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29345730 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345730_11-12-2025_18_04_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29345749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29345750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29345751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29345752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29345753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29345754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29345755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29345756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29345757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29345758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29345759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29345760, 'pht': 3726}}" where mtr_portfolio_id = 29345730 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29345730 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287367, 0.05602340117144753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29345730_11-12-2025_18_04_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29345749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29345750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29345751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29345752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29345753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29345754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29345755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29345756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29345757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29345758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29345759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29345760, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29346427 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4209859, 'mtr_portfolio_id': 29346427, 'created_at': datetime.datetime(2025, 12, 11, 20, 59, 59), 'result': '0.052427936633936974', 'result_long': None, 'result_double': None}] Qualite : 0.052427936633936974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29346427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29346427_11-12-2025_20_59_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29346427 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29346427_11-12-2025_20_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29346429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29346430, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29346431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29346432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29346433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29346434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29346435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29346436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29346437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29346438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29346439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29346440, 'pht': 3726}}" where mtr_portfolio_id = 29346427 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29346427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287368, 0.052427936633936974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29346427_11-12-2025_20_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29346429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29346430, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29346431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29346432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29346433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29346434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29346435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29346436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29346437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29346438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29346439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29346440, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29347295 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210093, 'mtr_portfolio_id': 29347295, 'created_at': datetime.datetime(2025, 12, 11, 20, 17, 2), 'result': '0.05536244604777403', 'result_long': None, 'result_double': None}] Qualite : 0.05536244604777403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29347295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347295_11-12-2025_20_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29347295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347295_11-12-2025_20_17_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29347300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29347304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29347305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347309, 'pht': 3726}}" where mtr_portfolio_id = 29347295 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29347295 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287369, 0.05536244604777403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347295_11-12-2025_20_17_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29347300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29347304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29347305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347309, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29347653 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210126, 'mtr_portfolio_id': 29347653, 'created_at': datetime.datetime(2025, 12, 11, 20, 33, 29), 'result': '0.04912007931733687', 'result_long': None, 'result_double': None}] Qualite : 0.04912007931733687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29347653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347653_11-12-2025_20_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29347653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347653_11-12-2025_20_33_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29347659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29347661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29347666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347667, 'pht': 3726}}" where mtr_portfolio_id = 29347653 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29347653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287370, 0.04912007931733687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347653_11-12-2025_20_33_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29347659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29347661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29347666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347667, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29347986 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210171, 'mtr_portfolio_id': 29347986, 'created_at': datetime.datetime(2025, 12, 11, 20, 48, 58), 'result': '0.05792362175908767', 'result_long': None, 'result_double': None}] Qualite : 0.05792362175908767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29347986 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347986_11-12-2025_20_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29347986 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347986_11-12-2025_20_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348002, 'pht': 3726}}" where mtr_portfolio_id = 29347986 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29347986 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287371, 0.05792362175908767, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29347986_11-12-2025_20_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29347991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29347992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29347993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29347994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29347995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29347996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29347997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29347998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29347999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29348418 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210236, 'mtr_portfolio_id': 29348418, 'created_at': datetime.datetime(2025, 12, 11, 21, 7), 'result': '0.03558905003175645', 'result_long': None, 'result_double': None}] Qualite : 0.03558905003175645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29348418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29348418_11-12-2025_21_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29348418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29348418_11-12-2025_21_07_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29348425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29348426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29348429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29348430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29348431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29348432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29348433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29348434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29348435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348436, 'pht': 3726}}" where mtr_portfolio_id = 29348418 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29348418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287372, 0.03558905003175645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29348418_11-12-2025_21_07_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29348425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29348426, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29348429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29348430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29348431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29348432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29348433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29348434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29348435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348436, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29348939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210337, 'mtr_portfolio_id': 29348939, 'created_at': datetime.datetime(2025, 12, 11, 21, 16, 57), 'result': '0.04087099296934644', 'result_long': None, 'result_double': None}] Qualite : 0.04087099296934644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29348939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29348939_11-12-2025_21_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29348939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29348939_11-12-2025_21_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29348942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29348943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29348944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29348946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29348947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29348950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29348951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29348952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29348953, 'pht': 3726}}" where mtr_portfolio_id = 29348939 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29348939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287373, 0.04087099296934644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29348939_11-12-2025_21_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29348942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29348943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29348944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29348945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29348946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29348947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29348948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29348949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29348950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29348951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29348952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29348953, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29349158 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210355, 'mtr_portfolio_id': 29349158, 'created_at': datetime.datetime(2025, 12, 11, 21, 33, 1), 'result': '0.0480066870087112', 'result_long': None, 'result_double': None}] Qualite : 0.0480066870087112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29349158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29349158_11-12-2025_21_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29349158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29349158_11-12-2025_21_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29349167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29349168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29349169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29349171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29349172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29349174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29349175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29349176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29349178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29349179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29349180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29349182, 'pht': 3726}}" where mtr_portfolio_id = 29349158 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29349158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287374, 0.0480066870087112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29349158_11-12-2025_21_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29349167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29349168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29349169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29349171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29349172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29349174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29349175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29349176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29349178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29349179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29349180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29349182, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29349575 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210411, 'mtr_portfolio_id': 29349575, 'created_at': datetime.datetime(2025, 12, 11, 21, 46, 57), 'result': '0.0304805149827584', 'result_long': None, 'result_double': None}] Qualite : 0.0304805149827584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29349575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29349575_11-12-2025_21_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29349575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29349575_11-12-2025_21_46_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29349590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29349591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29349592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29349593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29349594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29349595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29349596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29349597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29349598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29349599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29349600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29349601, 'pht': 3726}}" where mtr_portfolio_id = 29349575 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29349575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287375, 0.0304805149827584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29349575_11-12-2025_21_46_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29349590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29349591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29349592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29349593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29349594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29349595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29349596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29349597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29349598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29349599, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29349600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29349601, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29350021 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210481, 'mtr_portfolio_id': 29350021, 'created_at': datetime.datetime(2025, 12, 11, 22, 3), 'result': '0.042087179603058814', 'result_long': None, 'result_double': None}] Qualite : 0.042087179603058814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29350021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350021_11-12-2025_22_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29350021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350021_11-12-2025_22_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29350030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350041, 'pht': 3726}}" where mtr_portfolio_id = 29350021 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29350021 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287376, 0.042087179603058814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350021_11-12-2025_22_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29350030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350041, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29350373 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210610, 'mtr_portfolio_id': 29350373, 'created_at': datetime.datetime(2025, 12, 11, 23, 31, 10), 'result': '0.04294835138329625', 'result_long': None, 'result_double': None}] Qualite : 0.04294835138329625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29350373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350373_11-12-2025_23_31_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29350373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350373_11-12-2025_23_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29350383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350391, 'pht': 3726}}" where mtr_portfolio_id = 29350373 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29350373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287377, 0.04294835138329625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350373_11-12-2025_23_31_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29350383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350391, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29350782 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210704, 'mtr_portfolio_id': 29350782, 'created_at': datetime.datetime(2025, 12, 11, 22, 32, 58), 'result': '0.046826687145993355', 'result_long': None, 'result_double': None}] Qualite : 0.046826687145993355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29350782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350782_11-12-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29350782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350782_11-12-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29350806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350815, 'pht': 3726}}" where mtr_portfolio_id = 29350782 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29350782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287378, 0.046826687145993355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29350782_11-12-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29350799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29350801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29350802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29350803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29350805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29350806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29350808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29350809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29350810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29350812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29350813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29350815, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29351404 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210766, 'mtr_portfolio_id': 29351404, 'created_at': datetime.datetime(2025, 12, 11, 22, 48, 59), 'result': '0.05095975654647823', 'result_long': None, 'result_double': None}] Qualite : 0.05095975654647823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29351404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29351404_11-12-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29351404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29351404_11-12-2025_22_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29351422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29351423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29351424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29351425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29351426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29351427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29351428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29351429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29351430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29351431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29351432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29351433, 'pht': 3726}}" where mtr_portfolio_id = 29351404 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29351404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287379, 0.05095975654647823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29351404_11-12-2025_22_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29351422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29351423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29351424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29351425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29351426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29351427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29351428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29351429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29351430, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29351431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29351432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29351433, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29351853 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210835, 'mtr_portfolio_id': 29351853, 'created_at': datetime.datetime(2025, 12, 12, 0, 31, 13), 'result': '0.036520181205750686', 'result_long': None, 'result_double': None}] Qualite : 0.036520181205750686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29351853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29351853_12-12-2025_00_31_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29351853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29351853_12-12-2025_00_31_13.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29351855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29351856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29351857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29351858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29351859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29351860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29351861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29351862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29351863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29351864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29351865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29351866, 'pht': 3726}}" where mtr_portfolio_id = 29351853 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29351853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287380, 0.036520181205750686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29351853_12-12-2025_00_31_13.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29351855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29351856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29351857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29351858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29351859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29351860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29351861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29351862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29351863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29351864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29351865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29351866, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29352221 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210900, 'mtr_portfolio_id': 29352221, 'created_at': datetime.datetime(2025, 12, 11, 23, 17, 1), 'result': '0.03563623309357854', 'result_long': None, 'result_double': None}] Qualite : 0.03563623309357854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29352221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29352221_11-12-2025_23_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29352221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29352221_11-12-2025_23_17_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29352225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29352226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29352227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29352228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29352229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29352230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29352231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29352232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29352233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29352234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29352235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29352236, 'pht': 3726}}" where mtr_portfolio_id = 29352221 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29352221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287381, 0.03563623309357854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29352221_11-12-2025_23_17_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29352225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29352226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29352227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29352228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29352229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29352230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29352231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29352232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29352233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29352234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29352235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29352236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29352638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4210956, 'mtr_portfolio_id': 29352638, 'created_at': datetime.datetime(2025, 12, 11, 23, 32, 58), 'result': '0.037741215247000574', 'result_long': None, 'result_double': None}] Qualite : 0.037741215247000574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29352638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29352638_11-12-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29352638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29352638_11-12-2025_23_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29352671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29352672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29352673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29352674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29352675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29352676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29352677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29352678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29352679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29352680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29352681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29352682, 'pht': 3726}}" where mtr_portfolio_id = 29352638 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29352638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287382, 0.037741215247000574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29352638_11-12-2025_23_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29352671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29352672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29352673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29352674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29352675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29352676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29352677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29352678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29352679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29352680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29352681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29352682, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29353093 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4211030, 'mtr_portfolio_id': 29353093, 'created_at': datetime.datetime(2025, 12, 12, 1, 1, 9), 'result': '0.03851969063481959', 'result_long': None, 'result_double': None}] Qualite : 0.03851969063481959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29353093 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353093_11-12-2025_23_33_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29353093 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353093_11-12-2025_23_33_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353113, 'pht': 3726}}" where mtr_portfolio_id = 29353093 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29353093 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287383, 0.03851969063481959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353093_11-12-2025_23_33_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353112, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353113, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29353470 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4211093, 'mtr_portfolio_id': 29353470, 'created_at': datetime.datetime(2025, 12, 12, 1, 20), 'result': '0.03261409929505777', 'result_long': None, 'result_double': None}] Qualite : 0.03261409929505777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29353470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353470_12-12-2025_01_20_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29353470 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353470_12-12-2025_01_20_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353494, 'pht': 3726}}" where mtr_portfolio_id = 29353470 and dashboard_run_id = 2733543 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29353470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18287384, 0.03261409929505777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29353470_12-12-2025_01_20_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29353483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29353484, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29353485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29353486, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29353487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29353488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29353489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29353490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29353491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29353492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29353493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29353494, '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 (29321646,29322119,29322398,29322629,29323264,29323423,29323841,29324186,29324585,29324983,29325878,29326189,29326519,29326788,29327233,29327700,29328179,29328658,29329187,29329580,29330124,29330599,29332949,29333472,29334094,29334922,29335534,29336151,29336513,29337147,29337679,29338307,29338662,29339849,29340139,29340218,29340621,29340995,29341344,29341833,29342241,29342698,29343166,29343999,29344244,29344740,29345107,29345730,29346427,29347295,29347653,29347986,29348418,29348939,29349158,29349575,29350021,29350373,29350782,29351404,29351853,29352221,29352638,29353093,29353470) result : ((1398797446,), (1398797448,), (1398797462,), (1398797465,), (1398797468,), (1398797471,), (1398797740,), (1398797838,), (1398797840,), (1398797842,), (1398797845,), (1398797847,), (1398798031,), (1398798106,), (1398798133,), (1398798136,), (1398798138,), (1398798150,), (1398798152,), (1398798154,), (1398798156,), (1398798159,), (1398798181,), (1398798184,), (1398798187,), (1398798190,), (1398798214,), (1398798216,), (1398798217,), (1398798218,), (1398798221,), (1398798234,), (1398798236,), (1398798238,), (1398798243,), (1398798250,), (1398798252,), (1398798258,), (1398798262,), (1398798263,), (1398798265,), (1398798304,), (1398798305,), (1398798306,), (1398798307,), (1398798310,), (1398798313,), (1398798322,), (1398798324,), (1398798326,), (1398798328,), (1398798355,), (1398798357,), (1398798359,), (1398798361,), (1398798364,), (1398798402,), (1398798403,), (1398798405,), (1398798408,), (1398798411,), (1398798412,), (1398798426,), (1398798429,), (1398798579,), (1398798580,), (1398798688,), (1398798684,), (1398798718,), (1398798719,), (1398798730,), (1398798732,), (1398798735,), (1398798737,), (1398798808,), (1398798815,), (1398798818,), (1398798820,), (1398799126,), (1398799147,), (1398799180,), (1398799183,), (1398799186,), (1398799199,), (1398799201,), (1398799203,), (1398799227,), (1398799228,), (1398799229,), (1398799255,), (1398799257,), (1398799260,), (1398799263,), (1398799290,), (1398799292,), (1398799294,), (1398799296,), (1398799508,), (1398799588,), (1398799591,), (1398799594,), (1398799617,), (1398799619,), (1398799621,), (1398799675,), (1398799689,), (1398799691,), (1398799693,), (1398799695,), (1398799725,), (1398799727,), (1398799729,), (1398799731,), (1398799734,), (1398799746,), (1398799748,), (1398799750,), (1398799754,), (1398799758,), (1398799778,), (1398799780,), (1398799782,), (1398799784,), (1398799787,), (1398799805,), (1398799807,), (1398799809,), (1398799811,), (1398799814,), (1398799816,), (1398799826,), (1398799828,), (1398799831,), (1398799834,), (1398799848,), (1398799849,), (1398799850,), (1398799852,), (1398799854,), (1398799856,), (1398799862,), (1398799865,), (1398799870,), (1398799879,), (1398799882,), (1398799887,), (1398799899,), (1398799901,), (1398799902,), (1398799913,), (1398799907,), (1398799908,), (1398799911,), (1398799915,), (1398799916,), (1398799917,), (1398799918,), (1398799921,), (1398799955,), (1398799957,), (1398799959,), (1398799961,), (1398799964,), (1398799986,), (1398799988,), (1398799990,), (1398799994,), (1398800030,), (1398800033,), (1398800036,), (1398800040,), (1398800044,), (1398800048,), (1398800050,), (1398800052,), (1398800054,), (1398800057,), (1398800086,), (1398800087,), (1398800088,), (1398800089,), (1398800092,), (1398800108,), (1398800111,), (1398800113,), (1398800116,), (1398800118,), (1398800119,), (1398800132,), (1398800134,), (1398800137,), (1398800141,), (1398800167,), (1398800171,), (1398800173,), (1398800176,), (1398800179,), (1398802635,), (1398803973,), (1398803988,), (1398803990,), (1398803992,), (1398803996,), (1398804015,), (1398804018,), (1398804021,), (1398804024,), (1398804039,), (1398804132,), (1398804134,), (1398804152,), (1398804155,), (1398804158,), (1398804161,), (1398804177,), (1398804178,), (1398804180,), (1398804181,), (1398804184,), (1398804185,), (1398804218,), (1398804204,), (1398804207,), (1398804210,), (1398804213,), (1398804216,), (1398804231,), (1398804233,), (1398804235,), (1398804239,), (1398804260,), (1398804265,), (1398804270,), (1398804272,), (1398804276,), (1398804277,), (1398804289,), (1398804290,), (1398804291,), (1398804292,), (1398804316,), (1398804318,), (1398804320,), (1398804334,), (1398804336,), (1398804338,), (1398804340,), (1398804363,), (1398804365,), (1398804367,), (1398804369,), (1398804372,), (1398804373,), (1398804385,), (1398804386,), (1398804387,), (1398804390,), (1398804393,), (1398804396,), (1398804408,), (1398804409,), (1398804410,), (1398804428,), (1398804430,), (1398804432,), (1398804436,), (1398804867,), (1398805815,), (1398805858,), (1398805898,), (1398805933,), (1398806303,), (1398806338,), (1398806369,), (1398806401,), (1398806743,), (1398806746,), (1398806748,), (1398806750,), (1398806752,), (1398806754,), (1398806936,), (1398806970,), (1398806977,), (1398806979,), (1398807001,), (1398807121,), (1398807155,), (1398807186,), (1398807220,), (1398807612,), (1398807647,), (1398807673,), (1398807676,), (1398807851,), (1398807909,), (1398808001,), (1398808087,), (1398808826,), (1398808827,), (1398808828,), (1398808829,), (1398808832,), (1398808844,), (1398808859,), (1398808949,), (1398809043,), (1398809508,), (1398809543,), (1398809577,), (1398809611,), (1398809645,), (1398809678,), (1398810038,), (1398810073,), (1398810107,), (1398810140,), (1398810177,), (1398810198,), (1398810203,), (1398810204,), (1398810206,), (1398810331,), (1398810366,), (1398810401,), (1398810439,), (1398810473,), (1398810507,), (1398810576,), (1398810577,), (1398810605,), (1398810606,), (1398810608,), (1398810610,), (1398810618,), (1398810639,), (1398810655,), (1398810660,), (1398810671,), (1398810672,), (1398810684,), (1398810687,), (1398810689,), (1398810677,), (1398810679,), (1398810681,), (1398810700,), (1398810702,), (1398810704,), (1398810706,), (1398810709,), (1398810711,), (1398810731,), (1398810750,), (1398810756,), (1398810769,), (1398810846,), (1398810853,), (1398810855,), (1398810857,), (1398810860,), (1398810872,), (1398810873,), (1398810874,), (1398810877,), (1398810880,), (1398810882,), (1398810888,), (1398810891,), (1398810896,), (1398810900,), (1398810904,), (1398810919,), (1398810921,), (1398810923,), (1398810926,), (1398810928,), (1398810929,), (1398810933,), (1398810934,), (1398810940,), (1398810941,), (1398810942,), (1398810943,), (1398810945,), (1398810946,), (1398810948,), (1398810949,), (1398810951,), (1398810952,), (1398810968,), (1398810970,), (1398810972,), (1398810975,), (1398810977,), (1398810989,), (1398810991,), (1398810993,), (1398810995,), (1398811021,), (1398811028,), (1398811032,), (1398811034,), (1398811037,), (1398811040,), (1398811052,), (1398811054,), (1398811056,), (1398811057,), (1398811058,), (1398811087,), (1398811088,), (1398811090,), (1398811091,), (1398811094,), (1398811121,), (1398811107,), (1398811109,), (1398811112,), (1398811115,), (1398811118,), (1398811126,), (1398811127,), (1398811128,), (1398811141,), (1398811143,), (1398811145,), (1398811148,), (1398811151,), (1398811153,), (1398811166,), (1398811182,), (1398811184,), (1398811186,), (1398811188,), (1398811203,), (1398811206,), (1398811207,), (1398811210,), (1398811232,), (1398811234,), (1398811236,), (1398811238,), (1398811322,), (1398811342,), (1398811344,), (1398811346,), (1398811348,), (1398811369,), (1398811370,), (1398811371,), (1398811387,), (1398811389,), (1398811393,), (1398811410,), (1398811411,), (1398811412,), (1398811431,), (1398811433,), (1398811436,), (1398811468,), (1398811464,), (1398811466,), (1398811483,), (1398811485,), (1398811487,), (1398811489,), (1398811493,), (1398811513,), (1398811516,), (1398811519,), (1398811522,), (1398811525,), (1398811528,), (1398811537,), (1398811540,), (1398811543,), (1398811547,), (1398811579,), (1398811581,), (1398811583,), (1398811585,), (1398811588,), (1398811590,), (1398811603,), (1398811605,), (1398811607,), (1398811609,), (1398811612,), (1398811616,), (1398811634,), (1398811635,), (1398811638,), (1398811641,), (1398811657,), (1398811658,), (1398811659,), (1398811662,), (1398811665,), (1398811668,), (1398811680,), (1398811684,), (1398811685,), (1398811690,), (1398811693,), (1398811696,), (1398811699,), (1398811702,), (1398811718,), (1398811720,), (1398811724,), (1398811727,), (1398811730,), (1398811733,), (1398811745,), (1398811790,), (1398821602,), (1398821998,), (1398822000,), (1398822018,), (1398822019,), (1398822034,), (1398822036,), (1398822037,), (1398822038,), (1398822041,), (1398822070,), (1398822075,), (1398822079,), (1398822083,), (1398822086,), (1398822088,), (1398822100,), (1398822120,), (1398822124,), (1398822128,), (1398822143,), (1398822145,), (1398822147,), (1398822148,), (1398822149,), (1398822150,), (1398822167,), (1398822168,), (1398822172,), (1398822174,), (1398822181,), (1398822185,), (1398822188,), (1398822190,), (1398822197,), (1398822208,), (1398822211,), (1398822213,), (1398822406,), (1398822404,), (1398822423,), (1398822426,), (1398822429,), (1398822432,), (1398822434,), (1398822436,), (1398822451,), (1398822452,), (1398822453,), (1398822456,), (1398822459,), (1398822462,), (1398822469,), (1398822470,), (1398822471,), (1398822474,), (1398822477,), (1398822479,), (1398822481,), (1398822495,), (1398822498,), (1398822522,), (1398822551,), (1398822575,), (1398822590,), (1398822593,), (1398822595,), (1398822631,), (1398822720,), (1398825256,), (1398825279,), (1398825281,), (1398825282,), (1398825284,), (1398825300,), (1398825302,), (1398825304,), (1398825306,), (1398825309,), (1398825312,), (1398825331,), (1398825332,), (1398825333,), (1398825334,), (1398825337,), (1398825352,), (1398825355,), (1398825397,), (1398825401,), (1398825402,), (1398825405,), (1398825408,), (1398825411,), (1398825421,), (1398825423,), (1398825425,), (1398825427,), (1398825430,), (1398825432,), (1398825442,), (1398825444,), (1398825446,), (1398825448,), (1398825465,), (1398825466,), (1398825467,), (1398825468,), (1398825471,), (1398825494,), (1398825496,), (1398825498,), (1398825500,), (1398825503,), (1398825517,), (1398825519,), (1398825520,), (1398825523,), (1398825526,), (1398825528,), (1398825544,), (1398825549,), (1398825552,), (1398825555,), (1398825559,), (1398825560,), (1398825563,), (1398825566,), (1398825569,), (1398825572,), (1398825589,), (1398825592,), (1398825595,), (1398825596,), (1398825599,), (1398825610,), (1398825620,), (1398825623,), (1398825625,), (1398825627,), (1398825642,), (1398825633,), (1398825635,), (1398825636,), (1398825639,), (1398825649,), (1398825652,), (1398825654,), (1398825656,), (1398825659,), (1398825700,), (1398825701,), (1398825703,), (1398825704,), (1398825720,), (1398825722,), (1398825724,), (1398825725,), (1398825729,), (1398825732,), (1398825761,), (1398825764,), (1398825766,), (1398825768,), (1398825771,), (1398825787,), (1398825790,), (1398825793,), (1398825820,), (1398825822,), (1398825824,), (1398825842,), (1398825845,), (1398825848,), (1398825850,), (1398825852,), (1398825855,), (1398825868,), (1398825871,), (1398825873,), (1398825876,), (1398825878,), (1398825881,), (1398825883,), (1398825885,), (1398825904,), (1398825905,), (1398825911,), (1398825912,), (1398825915,), (1398825919,), (1398825920,), (1398825923,), (1398825924,), (1398825926,), (1398825927,), (1398825928,), (1398825936,), (1398825939,), (1398825941,), (1398825943,), (1398825945,), (1398825946,), (1398825951,), (1398825954,), (1398825957,), (1398825964,), (1398825965,), (1398825966,), (1398825968,), (1398826000,), (1398826002,), (1398826004,), (1398826005,), (1398826017,), (1398826022,), (1398826030,), (1398826033,), (1398826036,), (1398826037,), (1398826078,), (1398826049,), (1398826539,), (1398826578,), (1398826620,), (1398826652,), (1398826795,), (1398826833,), (1398826852,), (1398826863,), (1398826868,), (1398826870,), (1398826949,), (1398826955,), (1398826961,), (1398826963,), (1398826973,), (1398826977,), (1398826980,), (1398826983,), (1398826986,), (1398826996,), (1398826999,), (1398827002,), (1398827005,), (1398827007,), (1398827009,), (1398827019,), (1398827021,), (1398827023,), (1398827025,), (1398827047,), (1398827050,), (1398827053,), (1398827055,), (1398827056,), (1398827070,), (1398827073,), (1398827074,), (1398827869,), (1398827872,), (1398827873,), (1398827874,), (1398827875,), (1398827876,), (1398828077,), (1398828167,), (1398828199,), (1398828208,), (1398828233,), (1398828234,), (1398828296,), (1398828298,), (1398828299,), (1398828319,), (1398828321,), (1398828323,), (1398828325,), (1398828327,), (1398828329,), (1398828342,), (1398828344,), (1398828360,), (1398828362,), (1398828364,), (1398828367,), (1398828370,), (1398828386,), (1398828388,), (1398828391,), (1398828394,), (1398828399,), (1398828401,), (1398828406,), (1398828423,), (1398828420,), (1398828440,), (1398828442,), (1398828469,), (1398828470,), (1398828492,), (1398828494,), (1398828525,), (1398828528,), (1398828531,), (1398828534,), (1398828538,), (1398828562,), (1398828565,), (1398828567,), (1398828569,), (1398828572,), (1398828592,), (1398828593,), (1398828605,), (1398828610,), (1398828627,), (1398828629,), (1398828631,), (1398828634,), (1398828637,), (1398828639,), (1398828651,), (1398828656,), (1398828658,), (1398828676,), (1398828677,), (1398828678,), (1398828680,), (1398828682,), (1398828684,), (1398828706,), (1398828709,), (1398828711,), (1398828714,), (1398828716,), (1398828718,), (1398828722,), (1398828723,), (1398828725,), (1398828727,), (1398828728,), (1398828730,), (1398828736,), (1398828738,), (1398828740,), (1398828742,), (1398828756,), (1398828757,), (1398828758,), (1398828759,), (1398828782,), (1398828783,), (1398828784,), (1398828785,), (1398828788,), (1398828810,), (1398828813,), (1398828815,), (1398828829,), (1398828839,), (1398828861,), (1398828864,), (1398828867,), (1398828869,), (1398828873,), (1398828889,), (1398828883,), (1398828885,), (1398828887,), (1398828902,), (1398828903,), (1398828904,), (1398828905,), (1398828908,), (1398828913,), (1398828923,), (1398828925,), (1398828927,), (1398828930,), (1398828933,), (1398828935,), (1398828938,), (1398828940,), (1398828942,), (1398828944,), (1398828947,), (1398828948,), (1398828951,), (1398828954,), (1398828957,), (1398828960,), (1398828971,), (1398828974,), (1398828977,), (1398828982,), (1398828985,), (1398828988,), (1398828995,), (1398829002,), (1398829007,), (1398829008,), (1398829013,), (1398829014,), (1398829017,), (1398829018,), (1398829020,), (1398829022,), (1398829026,), (1398829027,), (1398829031,), (1398829032,), (1398829051,), (1398829054,), (1398829056,), (1398829060,), (1398829064,), (1398829078,), (1398829080,), (1398829082,), (1398829084,), (1398829093,), (1398829117,), (1398829119,), (1398829121,), (1398829123,), (1398829126,), (1398829148,), (1398829155,), (1398829161,), (1398829177,), (1398829198,), (1398829199,), (1398829200,), (1398829201,), (1398829236,), (1398829249,), (1398829251,), (1398829253,), (1398829262,), (1398829305,), (1398829306,), (1398829308,), (1398829310,), (1398829312,), (1398829319,), (1398829327,), (1398829331,), (1398829336,), (1398829347,), (1398829352,), (1398829357,), (1398829360,), (1398829362,), (1398829364,), (1398829391,), (1398829393,), (1398829395,), (1398829396,), (1398829407,), (1398829408,), (1398829419,), (1398829420,), (1398829422,), (1398829423,), (1398829424,), (1398829425,), (1398829448,), (1398829449,), (1398829455,), (1398829457,), (1398829460,), (1398829438,), (1398829440,), (1398829442,), (1398829445,), (1398829467,), (1398829468,), (1398829469,), (1398829472,), (1398829486,), (1398829488,), (1398829490,), (1398829492,), (1398829495,), (1398829496,), (1398829511,), (1398829513,), (1398829515,), (1398829517,), (1398829549,), (1398829554,), (1398829561,), (1398829562,), (1398829564,), (1398829566,), (1398829592,), (1398829594,), (1398829595,), (1398829598,), (1398829601,), (1398829624,), (1398829627,), (1398829630,), (1398829632,), (1398829635,), (1398829645,), (1398829679,), (1398829680,), (1398829681,), (1398829684,), (1398829687,), (1398829690,), (1398829712,), (1398829713,), (1398829714,), (1398829715,), (1398829717,), (1398829721,), (1398829724,), (1398829727,), (1398829729,), (1398829731,), (1398829734,), (1398829746,), (1398829748,), (1398829749,), (1398829751,), (1398829758,), (1398829764,), (1398829774,), (1398829775,), (1398829776,), (1398829777,), (1398829784,), (1398829785,), (1398829787,), (1398829788,), (1398829790,), (1398829792,), (1398829793,), (1398829795,), (1398829797,), (1398829798,), (1398829799,), (1398829800,), (1398829816,), (1398829819,), (1398829823,), (1398829827,), (1398829846,), (1398829848,), (1398829850,), (1398829852,), (1398829861,), (1398829875,), (1398829928,), (1398829931,), (1398829934,), (1398829936,), (1398829938,), (1398829940,), (1398829970,), (1398829973,), (1398829976,), (1398829979,), (1398829982,), (1398829990,), (1398830002,), (1398830006,), (1398829964,), (1398829966,), (1398830013,), (1398830014,), (1398830015,), (1398830016,), (1398830020,), (1398830022,), (1398830032,), (1398830033,), (1398830034,), (1398830035,), (1398830038,), (1398830055,), (1398830060,), (1398830062,), (1398830064,), (1398830080,), (1398830081,), (1398830082,), (1398830083,), (1398830084,), (1398830107,), (1398830113,), (1398830116,), (1398830117,), (1398830135,), (1398830137,), (1398830140,), (1398830143,), (1398830146,), (1398830150,), (1398830175,), (1398830178,), (1398830180,), (1398830182,), (1398830185,), (1398830199,), (1398830209,), (1398830210,), (1398830213,), (1398830215,), (1398830217,), (1398830231,), (1398830232,), (1398830234,), (1398830236,), (1398830239,), (1398830247,), (1398830257,), (1398830264,), (1398830266,), (1398830269,), (1398830271,), (1398830297,), (1398830298,), (1398830299,), (1398830320,), (1398830322,), (1398830324,), (1398830328,), (1398830332,), (1398830335,), (1398830345,), (1398830346,), (1398830348,), (1398830350,), (1398830352,), (1398830354,), (1398830371,), (1398830373,), (1398830376,), (1398830381,), (1398830386,), (1398830390,), (1398830412,), (1398830406,), (1398830409,), (1398830425,), (1398830428,), (1398830430,), (1398830432,), (1398830434,), (1398830436,), (1398830448,), (1398830449,), (1398830450,), (1398830451,), (1398830453,), (1398830470,), (1398830479,), (1398830480,), (1398830481,), (1398830484,), (1398830485,), (1398830497,), (1398830499,), (1398830501,), (1398830503,), (1398830506,), (1398830526,), (1398830531,), (1398830533,), (1398830536,), (1398830539,), (1398830541,), (1398830553,), (1398830555,), (1398830557,), (1398830559,), (1398830562,), (1398830575,), (1398830577,), (1398830580,), (1398830581,), (1398830582,), (1398830590,), (1398830593,), (1398830600,), (1398830607,), (1398830628,), (1398830631,), (1398830634,), (1398830635,), (1398830638,), (1398830641,), (1398830657,), (1398830658,), (1398830659,), (1398830662,), (1398830665,), (1398830668,), (1398830684,), (1398830685,), (1398830688,), (1398830691,), (1398830693,), (1398830695,), (1398830704,), (1398830706,), (1398830710,), (1398830716,), (1398830717,), (1398830718,), (1398830724,), (1398830725,), (1398830727,), (1398830728,), (1398830729,), (1398830730,), (1398830733,), (1398830734,), (1398830735,), (1398830736,), (1398830737,), (1398830738,), (1398830748,), (1398830750,), (1398830752,), (1398830755,), (1398830758,), (1398830759,), (1398830767,), (1398830769,), (1398830773,), (1398830774,), (1398830775,), (1398830776,), (1398830801,), (1398830804,), (1398830808,), (1398830810,), (1398830813,), (1398830816,), (1398830832,), (1398830825,), (1398830828,), (1398830869,), (1398830878,), (1398830879,), (1398830880,), (1398830883,), (1398830897,), (1398830898,), (1398830900,), (1398830903,), (1398830906,), (1398830908,), (1398830918,), (1398830926,), (1398830931,), (1398830933,), (1398830937,), (1398830942,), (1398830954,), (1398830979,), (1398830981,), (1398830983,), (1398830985,), (1398830988,), (1398831014,), (1398831015,), (1398831016,), (1398831017,), (1398831038,), (1398831040,), (1398831042,), (1398831077,), (1398831084,), (1398831085,), (1398831086,), (1398831089,), (1398831090,), (1398831104,), (1398831106,), (1398831109,), (1398831112,), (1398831115,), (1398831141,), (1398831147,), (1398831162,), (1398831164,), (1398831166,), (1398831168,), (1398831211,), (1398831215,), (1398831216,), (1398831217,), (1398831235,), (1398831237,), (1398831240,), (1398831243,), (1398831245,), (1398831246,), (1398831256,), (1398831259,), (1398831260,), (1398831263,), (1398831266,), (1398831269,), (1398831272,), (1398831296,), (1398831298,), (1398831307,), (1398831308,), (1398831311,), (1398831313,), (1398831318,), (1398831321,), (1398831329,), (1398831326,), (1398831327,), (1398831328,), (1398831353,), (1398831354,), (1398831375,), (1398831376,), (1398831377,), (1398831378,), (1398831381,), (1398831409,), (1398831411,), (1398831432,), (1398831434,), (1398831435,), (1398831436,), (1398831437,), (1398831449,), (1398831450,), (1398831451,), (1398831452,), (1398831455,), (1398831527,), (1398831541,), (1398831543,), (1398831545,), (1398831548,), (1398831700,), (1398831702,), (1398831726,), (1398831736,), (1398831742,), (1398831790,), (1398831921,), (1398831943,), (1398831947,), (1398832140,), (1398832192,), (1398832211,), (1398832301,), (1398832312,), (1398832363,), (1398832366,), (1398832370,), (1398832401,), (1398832547,), (1398832549,), (1398832551,), (1398832569,), (1398832606,), (1398832641,), (1398832779,), (1398848572,), (1398848795,), (1398847455,), (1398848483,), (1398848547,), (1398848555,), (1398848567,), (1398848570,), (1398848705,), (1398848712,), (1398848729,), (1398848732,), (1398848762,), (1398848763,), (1398848788,), (1398848790,), (1398848792,), (1398848801,), (1398848802,), (1398848805,), (1398848969,), (1398848977,), (1398849009,), (1398849012,), (1398849015,), (1398849115,), (1398849130,), (1398849142,), (1398849144,), (1398849174,), (1398849199,), (1398849203,), (1398849206,), (1398849210,), (1398849249,), (1398849251,), (1398849253,), (1398849255,), (1398849257,), (1398849260,), (1398849279,), (1398849315,), (1398849353,), (1398849391,), (1398849676,), (1398849681,), (1398849683,), (1398849684,), (1398849686,), (1398849981,), (1398849983,), (1398849985,), (1398849987,), (1398849988,), (1398849990,), (1398849992,), (1398849997,), (1398850004,), (1398850035,), (1398850071,), (1398850145,), (1398850152,), (1398850235,), (1398850409,), (1398850412,), (1398850415,), (1398850419,), (1398850430,), (1398850442,), (1398850517,), (1398850519,), (1398850522,), (1398850631,), (1398850509,), (1398850512,), (1398850515,), (1398850669,), (1398850671,), (1398850673,), (1398850676,), (1398850680,), (1398850700,), (1398850706,), (1398850717,), (1398850721,), (1398850723,), (1398850725,), (1398850909,), (1398850939,), (1398850970,), (1398851001,), (1398851042,), (1398851343,), (1398851384,), (1398851419,), (1398851439,), (1398851449,), (1398851475,), (1398851643,), (1398851674,), (1398851678,), (1398851681,), (1398851718,), (1398851720,), (1398851722,), (1398851726,), (1398851730,), (1398852117,), (1398852119,), (1398852162,), (1398852165,), (1398852169,), (1398852172,), (1398852178,), (1398852184,), (1398852189,), (1398852190,), (1398852354,), (1398852356,), (1398852388,), (1398852390,), (1398852421,), (1398852427,), (1398852457,), (1398852463,), (1398852505,), (1398852516,), (1398852527,), (1398852528,), (1398852643,), (1398852648,), (1398852684,), (1398852717,), (1398852756,), (1398852790,), (1398852874,), (1398852928,), (1398852934,), (1398852955,), (1398852959,), (1398852961,), (1398852985,), (1398853064,), (1398853111,), (1398853127,), (1398853184,), (1398853186,), (1398853187,), (1398853189,), (1398853198,), (1398853205,), (1398853227,), (1398853228,), (1398853249,), (1398853253,), (1398853256,), (1398853270,), (1398853275,), (1398853330,), (1398853318,), (1398853322,), (1398853326,), (1398853821,), (1398853859,), (1398853894,), (1398853928,), (1398853964,), (1398854206,), (1398854236,), (1398854271,), (1398854307,), (1398854346,), (1398854409,), (1398854835,), (1398854866,), (1398854909,), (1398854940,), (1398854950,), (1398854952,), (1398854965,), (1398854967,), (1398854970,), (1398854973,), (1398854976,), (1398854986,), (1398855005,), (1398855009,), (1398855023,), (1398855034,), (1398855037,), (1398855040,), (1398855044,), (1398855046,), (1398855072,), (1398855073,), (1398855074,), (1398855075,), (1398855084,), (1398855087,), (1398855156,), (1398855255,), (1398855285,), (1398855296,), (1398855367,), (1398855447,), (1398855467,), (1398855549,), (1398855551,), (1398855555,), (1398855809,), (1398855849,), (1398855883,), (1398855918,), (1398855953,), (1398856321,), (1398856354,), (1398856389,), (1398856423,), (1398856559,), (1398856626,), (1398856698,), (1398856779,), (1398857098,), (1398857115,), (1398857134,), (1398857440,), (1398857442,), (1398857508,), (1398857511,), (1398857514,), (1398857515,), (1398857587,), (1398857691,), (1398857772,), (1398857795,), (1398857792,), (1398857974,), (1398857975,), (1398858196,), (1398858197,), (1398858226,), (1398858255,), (1398858267,), (1398858300,), (1398858302,), (1398858304,), (1398858321,), (1398858322,), (1398858323,), (1398858329,), (1398858332,), (1398858561,), (1398858589,), (1398858591,), (1398858610,), (1398858613,), (1398858749,), (1398858750,), (1398858751,), (1398858860,), (1398858865,), (1398858890,), (1398858901,), (1398858903,), (1398858906,), (1398858929,), (1398858931,), (1398858933,), (1398858935,), (1398858938,), (1398858950,), (1398858951,), (1398858952,), (1398858953,), (1398858982,), (1398858984,), (1398859340,), (1398859377,), (1398859431,), (1398859610,), (1398859612,), (1398859614,), (1398859649,), (1398859828,), (1398859830,), (1398859832,), (1398859835,), (1398859861,), (1398859850,), (1398859852,), (1398859854,), (1398859856,), (1398859859,), (1398860046,), (1398860061,), (1398860063,), (1398860078,), (1398860079,), (1398860080,), (1398860083,), (1398860086,), (1398860088,), (1398860105,), (1398860107,), (1398860110,), (1398860192,), (1398860233,), (1398860273,), (1398860307,), (1398860746,), (1398860759,), (1398860793,), (1398860830,), (1398860864,), (1398860883,), (1398860885,), (1398860887,), (1398860914,), (1398860948,), (1398860985,), (1398861008,), (1398861015,), (1398861020,), (1398861277,), (1398861320,), (1398861323,), (1398861355,), (1398861359,), (1398861366,), (1398861416,), (1398861418,), (1398861420,), (1398861422,), (1398861425,), (1398861443,), (1398861451,), (1398861452,), (1398861453,), (1398861456,), (1398861459,), (1398861489,), (1398861491,), (1398861493,), (1398861512,), (1398861515,), (1398861518,), (1398861522,), (1398861526,), (1398861551,), (1398861552,), (1398861553,), (1398861554,), (1398861557,), (1398861560,), (1398861584,), (1398861585,), (1398861587,), (1398861590,), (1398861593,), (1398861595,), (1398861603,), (1398861605,), (1398861607,), (1398861621,), (1398861622,), (1398861623,), (1398861626,), (1398861629,), (1398861632,), (1398861658,), (1398861660,), (1398861663,), (1398861666,), (1398861669,), (1398861671,), (1398861693,), (1398861694,), (1398861699,), (1398861702,), (1398861719,), (1398861708,), (1398861710,), (1398861712,), (1398861714,), (1398861716,), (1398861731,), (1398861733,), (1398861736,), (1398861738,), (1398861946,), (1398861980,), (1398862011,), (1398862042,), (1398862047,), (1398862049,), (1398862063,), (1398862065,), (1398862067,), (1398862069,), (1398862093,), (1398862094,), (1398862095,), (1398862096,), (1398862099,), (1398862112,), (1398862114,), (1398862116,), (1398862118,), (1398862122,), (1398862152,), (1398862154,), (1398862156,), (1398862173,), (1398862174,), (1398862175,), (1398862178,), (1398862181,), (1398862184,), (1398862192,), (1398862196,), (1398862204,), (1398862242,), (1398862246,), (1398862249,), (1398862253,), (1398862256,), (1398862287,), (1398862289,), (1398862291,), (1398862294,), (1398862296,), (1398862769,), (1398863574,), (1398863449,), (1398863515,), (1398864136,), (1398864192,), (1398864232,), (1398864320,), (1398864387,), (1398864454,), (1398864603,), (1398864636,), (1398864638,), (1398864642,), (1398864646,), (1398864680,), (1398864802,), (1398864834,), (1398864872,), (1398864905,), (1398864931,), (1398864968,), (1398864971,), (1398864979,), (1398865012,), (1398865027,), (1398865039,), (1398865173,), (1398865185,), (1398865190,), (1398865200,), (1398865202,), (1398865206,), (1398865246,), (1398865248,), (1398865251,), (1398865254,), (1398865263,), (1398865264,), (1398865266,), (1398865278,), (1398865282,), (1398865284,), (1398865290,), (1398865293,), (1398865296,), (1398865300,), (1398865322,), (1398865331,), (1398865344,), (1398865347,), (1398865351,), (1398865354,), (1398865366,), (1398865368,), (1398865370,), (1398865372,), (1398865375,), (1398865398,), (1398865399,), (1398865400,), (1398865402,), (1398865410,), (1398865419,), (1398865433,), (1398865435,), (1398865437,), (1398865439,), (1398865442,), (1398865470,), (1398865473,), (1398865476,), (1398865479,), (1398865482,), (1398865485,), (1398865549,), (1398865551,), (1398865552,), (1398865555,), (1398865558,), (1398865561,), (1398865576,), (1398865577,), (1398865578,), (1398865579,), (1398865612,), (1398865623,), (1398865626,), (1398865628,), (1398865629,), (1398865637,), (1398865678,), (1398865682,), (1398865687,), (1398865690,), (1398865697,), (1398865701,), (1398865737,), (1398865740,), (1398865743,), (1398865745,), (1398865747,), (1398865767,), (1398865754,), (1398865755,), (1398865759,), (1398865763,), (1398865765,), (1398865832,), (1398865867,), (1398865893,), (1398865899,), (1398865973,), (1398865975,), (1398865977,), (1398865979,), (1398865993,), (1398866004,), (1398866061,), (1398866063,), (1398866065,), (1398866067,), (1398866101,), (1398866105,), (1398866108,), (1398866110,), (1398866112,), (1398866113,), (1398866120,), (1398866126,), (1398866146,), (1398866194,), (1398866197,), (1398866198,), (1398866200,), (1398866201,), (1398866202,), (1398866203,), (1398866215,), (1398866228,), (1398866261,), (1398866262,), (1398866271,), (1398866272,), (1398866273,), (1398866274,), (1398866292,), (1398866294,), (1398866296,), (1398866297,), (1398866302,), (1398866311,), (1398866348,), (1398866353,), (1398866354,), (1398866360,), (1398866362,), (1398866363,), (1398866366,), (1398866369,), (1398866373,), (1398866387,), (1398866389,), (1398866393,), (1398866402,), (1398866406,), (1398866410,), (1398866412,), (1398866414,), (1398866416,), (1398866423,), (1398866426,), (1398866434,), (1398866443,), (1398866444,), (1398866475,), (1398866490,), (1398866493,), (1398866496,), (1398866498,), (1398866500,), (1398866501,), (1398866505,), (1398866508,), (1398866512,), (1398866521,), (1398866529,), (1398866532,), (1398866611,), (1398866649,), (1398866683,), (1398866716,), (1398866754,), (1398866791,), (1398866826,), (1398866829,), (1398866836,), (1398866838,), (1398866842,), (1398866844,), (1398866890,), (1398866876,), (1398866879,), (1398866881,), (1398866884,), (1398866887,), (1398866905,), (1398866907,), (1398866908,), (1398866909,), (1398866912,), (1398866946,), (1398866952,), (1398866955,), (1398866958,), (1398866961,), (1398866962,), (1398866968,), (1398866991,), (1398866995,), (1398867017,), (1398867026,), (1398867027,), (1398867030,), (1398867040,), (1398867045,), (1398867089,), (1398867092,), (1398867095,), (1398867098,), (1398867100,), (1398867102,), (1398867115,), (1398867118,), (1398867120,), (1398867122,), (1398867129,), (1398867132,), (1398867134,), (1398867161,), (1398867163,), (1398867166,), (1398867169,), (1398867328,), (1398867361,), (1398867393,), (1398867407,), (1398867410,), (1398867413,), (1398867748,), (1398867803,), (1398867808,), (1398867811,), (1398867844,), (1398868233,), (1398868283,), (1398868284,), (1398868292,), (1398868330,), (1398868714,), (1398868722,), (1398868727,), (1398868760,), (1398868823,), (1398868829,), (1398868875,), (1398868876,), (1398868877,), (1398868878,), (1398868909,), (1398868913,), (1398868917,), (1398868920,), (1398868922,), (1398868924,), (1398868938,), (1398868943,), (1398868952,), (1398868953,), (1398868956,), (1398868959,), (1398868960,), (1398868961,), (1398868989,), (1398868990,), (1398868993,), (1398868995,), (1398869004,), (1398869012,), (1398869040,), (1398869077,), (1398869093,), (1398869098,), (1398869104,), (1398869124,), (1398869111,), (1398869113,), (1398869116,), (1398869120,), (1398869122,), (1398869129,), (1398869131,), (1398869133,), (1398869136,), (1398869168,), (1398869170,), (1398869172,), (1398869203,), (1398869209,), (1398869211,), (1398869366,), (1398869370,), (1398869445,), (1398869455,), (1398869462,), (1398869466,), (1398869469,), (1398869497,), (1398869498,), (1398869499,), (1398869500,), (1398869518,), (1398869521,), (1398869524,), (1398869558,), (1398869559,), (1398869560,), (1398869561,), (1398869564,), (1398869566,), (1398869594,), (1398869598,), (1398869603,), (1398869606,), (1398869609,), (1398869908,), (1398869768,), (1398869801,), (1398869837,), (1398869872,), (1398870278,), (1398870313,), (1398870346,), (1398870597,), (1398870599,), (1398870601,), (1398870603,), (1398870606,), (1398870608,), (1398870634,), (1398870670,), (1398871008,), (1398871109,), (1398871206,), (1398871299,), (1398871393,), (1398871490,), (1398872147,), (1398872202,), (1398872290,), (1398872377,), (1398872860,), (1398872895,), (1398872931,), (1398872953,), (1398872956,), (1398872960,), (1398872983,), (1398872985,), (1398872987,), (1398872990,), (1398873027,), (1398873070,), (1398873106,), (1398873139,), (1398873175,), (1398873209,), (1398873535,), (1398873568,), (1398873582,), (1398873594,), (1398873597,), (1398873620,), (1398873722,), (1398873724,), (1398873726,), (1398873747,), (1398875271,), (1398880213,), (1398880338,), (1398880363,), (1398880365,), (1398880367,), (1398880369,), (1398880384,), (1398880388,), (1398880404,), (1398880407,), (1398880408,), (1398880420,), (1398880451,), (1398880454,), (1398880959,), (1398880962,), (1398880965,), (1398880968,), (1398881260,), (1398884074,), (1398884076,), (1398884097,), (1398884123,), (1398884124,), (1398884126,), (1398884143,), (1398884145,), (1398884147,), (1398884149,), (1398884153,), (1398884197,), (1398884172,), (1398884183,), (1398884252,), (1398884254,), (1398884256,), (1398884260,), (1398884263,), (1398884268,), (1398884296,), (1398884299,), (1398884317,), (1398884319,), (1398884320,), (1398884322,), (1398884351,), (1398884353,), (1398884355,), (1398884424,), (1398884427,), (1398884446,), (1398884447,), (1398884448,), (1398884449,), (1398884451,), (1398884453,), (1398884475,), (1398884478,), (1398884481,), (1398884484,), (1398884487,), (1398884502,), (1398884504,), (1398884505,), (1398884506,), (1398884592,), (1398884594,), (1398884634,), (1398884635,), (1398884636,), (1398884638,), (1398884641,), (1398884656,), (1398884654,), (1398884655,), (1398884675,), (1398884678,), (1398884681,), (1398884684,), (1398884703,), (1398884705,), (1398884707,), (1398884709,), (1398884736,), (1398884742,), (1398884744,), (1398884747,), (1398884749,), (1398884751,), (1398884766,), (1398884769,), (1398884772,), (1398884776,), (1398884778,), (1398884780,), (1398884790,), (1398884791,), (1398884794,), (1398884800,), (1398884819,), (1398884822,), (1398884877,), (1398884881,), (1398884962,), (1398885479,), (1398885484,), (1398885503,), (1398885506,), (1398885536,), (1398885543,), (1398885545,), (1398885547,), (1398885623,), (1398885610,), (1398885613,), (1398885616,), (1398885619,), (1398885621,), (1398885646,), (1398885654,), (1398885662,), (1398885669,), (1398885691,), (1398885693,), (1398885695,), (1398885718,), (1398885720,), (1398885721,), (1398885722,), (1398885724,), (1398885738,), (1398885741,), (1398885744,), (1398885747,), (1398885750,), (1398885767,), (1398885769,), (1398885772,), (1398885774,), (1398885776,), (1398885778,), (1398885812,), (1398885821,), (1398885833,), (1398885834,), (1398885835,), (1398885838,), (1398885841,), (1398885844,), (1398885891,), (1398885896,), (1398885929,), (1398885930,), (1398885931,), (1398885932,), (1398885967,), (1398885970,), (1398885973,), (1398885976,), (1398885979,), (1398886006,), (1398886007,), (1398886008,), (1398886009,), (1398886012,), (1398886026,), (1398886029,), (1398886032,), (1398886035,), (1398886039,), (1398886042,), (1398886082,), (1398886085,), (1398886089,), (1398886093,), (1398886096,), (1398886120,), (1398886124,), (1398886128,), (1398886132,), (1398886135,), (1398886138,), (1398886147,), (1398886152,), (1398886177,), (1398886179,), (1398886182,), (1398886214,), (1398886210,), (1398886212,), (1398886248,), (1398886249,), (1398886250,), (1398886251,), (1398886253,), (1398886272,), (1398886274,), (1398886276,), (1398886278,), (1398886337,), (1398886342,), (1398886345,), (1398886366,), (1398886373,), (1398886389,), (1398886390,), (1398886391,), (1398886392,), (1398886394,), (1398886396,), (1398886420,), (1398886423,), (1398886426,), (1398886474,), (1398886476,), (1398886478,), (1398886480,), (1398886483,), (1398886511,), (1398886512,), (1398886514,), (1398886516,), (1398886532,), (1398886534,), (1398886536,), (1398886587,), (1398886588,), (1398886589,), (1398886590,), (1398886593,), (1398886596,), (1398886615,), (1398886619,), (1398886623,), (1398886627,), (1398886632,), (1398886633,), (1398886657,), (1398886660,), (1398886663,), (1398886681,), (1398886682,), (1398886687,), (1398886692,), (1398886769,), (1398886771,), (1398886773,), (1398886775,), (1398886791,), (1398886794,), (1398886796,), (1398886797,), (1398886799,), (1398886844,), (1398886834,), (1398886836,), (1398886838,), (1398886840,), (1398886842,), (1398886857,), (1398886859,), (1398886860,), (1398886861,), (1398886863,), (1398886889,), (1398886891,), (1398886893,), (1398886925,), (1398886927,), (1398886929,), (1398886931,), (1398886934,), (1398886959,), (1398886961,), (1398886963,), (1398886965,), (1398886967,), (1398886969,), (1398886985,), (1398886986,), (1398886988,), (1398886990,), (1398886993,), (1398886997,), (1398887025,), (1398887027,), (1398887029,), (1398887046,), (1398887049,), (1398887051,), (1398887053,), (1398887056,), (1398887059,), (1398887086,), (1398887087,), (1398887088,), (1398887089,), (1398887092,), (1398887110,), (1398887112,), (1398887115,), (1398887118,), (1398887143,), (1398887145,), (1398887147,), (1398887149,), (1398887152,), (1398887172,), (1398887174,), (1398887176,), (1398887177,), (1398887215,), (1398887217,), (1398887219,), (1398887232,), (1398887235,), (1398887238,), (1398887271,), (1398887273,), (1398887275,), (1398887276,), (1398887278,), (1398887316,), (1398887303,), (1398887309,), (1398887311,), (1398887313,), (1398887334,), (1398887336,), (1398887338,), (1398887358,), (1398887359,), (1398887360,), (1398887379,), (1398887381,), (1398887383,), (1398887385,), (1398887387,), (1398887390,), (1398887410,), (1398887411,), (1398887412,), (1398887413,), (1398887415,), (1398887437,), (1398887439,), (1398887441,), (1398887453,), (1398887457,), (1398887460,), (1398887464,), (1398887467,), (1398887468,), (1398887484,), (1398887486,), (1398887488,), (1398887491,), (1398887495,), (1398887499,), (1398887510,), (1398887511,), (1398887512,), (1398887513,), (1398887516,), (1398887534,), (1398887536,), (1398887538,), (1398887540,), (1398887541,), (1398887564,), (1398887566,), (1398887569,), (1398887572,), (1398887574,), (1398887578,), (1398887602,), (1398887604,), (1398887606,), (1398887608,), (1398887621,), (1398887622,), (1398887623,), (1398887624,), (1398887626,), (1398887647,), (1398887649,), (1398887651,), (1398887653,), (1398887656,), (1398887657,), (1398887671,), (1398887672,), (1398887673,), (1398887674,), (1398887677,), (1398887680,), (1398887724,), (1398887720,), (1398887722,), (1398887741,), (1398887753,), (1398887754,), (1398887757,), (1398887759,), (1398887762,), (1398887776,), (1398887780,), (1398887783,), (1398887785,), (1398887816,), (1398887818,), (1398887820,), (1398887847,), (1398887848,), (1398887849,), (1398887850,), (1398887874,), (1398887875,), (1398887876,), (1398887916,), (1398887919,), (1398887921,), (1398887923,), (1398887939,), (1398887941,), (1398887943,), (1398887945,), (1398887970,), (1398887976,), (1398888010,), (1398888012,), (1398888014,), (1398888016,), (1398888029,), (1398888035,), (1398888037,), (1398888084,), (1398888086,), (1398888112,), (1398888115,), (1398888123,), (1398888125,), (1398888128,), (1398888129,), (1398888472,), (1398888299,), (1398888332,), (1398888362,), (1398888400,), (1398888435,), (1398888789,), (1398888819,), (1398888821,), (1398888823,), (1398889434,), (1398889530,), (1398889637,), (1398889729,), (1398889823,), (1398889897,), (1398890524,), (1398890590,), (1398890658,), (1398890719,), (1398890755,), (1398890792,), (1398891080,), (1398891204,), (1398891236,), (1398891272,), (1398891310,), (1398891332,), (1398891520,), (1398891565,), (1398891638,), (1398895324,), (1398895313,), (1398895316,), (1398895318,), (1398895320,), (1398895322,), (1398895334,), (1398895336,), (1398895338,), (1398895340,), (1398895369,), (1398895371,), (1398895373,), (1398895375,), (1398895393,), (1398895395,), (1398895397,), (1398895399,), (1398895420,), (1398895422,), (1398895424,), (1398895426,), (1398895429,), (1398895432,), (1398895566,), (1398895599,), (1398895635,), (1398895673,), (1398895711,), (1398895746,), (1398895770,), (1398895773,), (1398895775,), (1398895777,), (1398895780,), (1398895787,), (1398895790,), (1398895792,), (1398895793,), (1398895804,), (1398895807,), (1398895810,), (1398895814,), (1398895818,), (1398895821,), (1398895840,), (1398895844,), (1398895847,), (1398895852,), (1398895854,), (1398895867,), (1398895868,), (1398895869,), (1398895870,), (1398895872,), (1398895875,), (1398895897,), (1398895898,), (1398895902,), (1398895967,), (1398895958,), (1398895961,), (1398895963,), (1398895965,), (1398895997,), (1398895998,), (1398895999,), (1398896017,), (1398896019,), (1398896022,), (1398896024,), (1398896075,), (1398896078,), (1398896081,), (1398896084,), (1398896086,), (1398896089,), (1398896104,), (1398896106,), (1398896108,), (1398896111,), (1398896114,), (1398896115,), (1398896130,), (1398896132,), (1398896134,), (1398896140,), (1398896144,), (1398896149,), (1398896151,), (1398896153,), (1398896156,), (1398896179,), (1398896181,), (1398896183,), (1398896185,), (1398896188,), (1398896191,), (1398896209,), (1398896212,), (1398896215,), (1398896218,), (1398896221,), (1398896224,), (1398896234,), (1398896236,), (1398896276,), (1398896283,), (1398896296,), (1398896304,), (1398896307,), (1398896310,), (1398896323,), (1398896326,), (1398896329,), (1398896332,), (1398896369,), (1398896371,), (1398896373,), (1398896398,), (1398896403,), (1398896405,), (1398896440,), (1398896558,), (1398896557,), (1398896583,), (1398896643,), (1398896645,), (1398896647,), (1398896664,), (1398896666,), (1398896668,), (1398896670,), (1398896673,), (1398896675,), (1398896691,), (1398896693,), (1398896695,), (1398896697,), (1398896712,), (1398896714,), (1398896733,), (1398896764,), (1398896767,), (1398896770,), (1398896774,), (1398896803,), (1398896806,), (1398896809,), (1398896813,), (1398896817,), (1398896933,), (1398896969,), (1398897005,), (1398897041,), (1398897076,), (1398897111,), (1398897258,), (1398897294,), (1398897336,), (1398897371,), (1398897629,), (1398898152,), (1398898187,), (1398898223,), (1398898641,), (1398898642,), (1398898748,), (1398898751,), (1398898754,), (1398899006,), (1398899042,), (1398899434,), (1398899743,), (1398899757,), (1398899877,), (1398899911,), (1398899951,), (1398900061,), (1398900084,), (1398900089,), (1398900154,), (1398900155,), (1398900156,), (1398900157,), (1398900160,), (1398900163,), (1398900175,), (1398900179,), (1398900182,), (1398900183,), (1398900186,), (1398900198,), (1398900201,), (1398900204,), (1398900207,), (1398900210,), (1398900268,), (1398900271,), (1398900272,), (1398900274,), (1398900278,), (1398900283,), (1398900341,), (1398900362,), (1398900435,), (1398900431,), (1398900482,), (1398900485,), (1398900488,), (1398900723,), (1398900742,), (1398900745,), (1398900747,), (1398900750,), (1398901009,), (1398901042,), (1398901075,), (1398901109,), (1398901125,), (1398901147,), (1398901150,), (1398901173,), (1398901174,), (1398901175,), (1398901176,), (1398901178,), (1398901216,), (1398901218,), (1398901220,), (1398901222,), (1398901225,), (1398901228,), (1398901242,), (1398901244,), (1398901246,), (1398901248,), (1398901251,), (1398901254,), (1398901276,), (1398901278,), (1398901279,), (1398901311,), (1398901313,), (1398901315,), (1398901317,), (1398901320,), (1398901323,), (1398901346,), (1398901348,), (1398901350,), (1398901352,), (1398901354,), (1398901357,), (1398901368,), (1398901370,), (1398901373,), (1398901376,), (1398901418,), (1398901428,), (1398901433,), (1398901434,), (1398901436,), (1398901438,), (1398901452,), (1398901454,), (1398904674,), (1398905221,), (1398905343,), (1398905374,), (1398905408,), (1398905447,), (1398905510,), (1398906058,), (1398906113,), (1398906189,), (1398906191,), (1398906193,), (1398906195,), (1398906198,), (1398906363,), (1398906396,), (1398906427,), (1398906462,), (1398906496,), (1398906755,), (1398906773,), (1398906775,), (1398906777,), (1398906895,), (1398906896,), (1398906897,), (1398906898,), (1398906901,), (1398907000,), (1398907002,), (1398907078,), (1398917313,), (1398917932,), (1398917966,), (1398917997,), (1398918016,), (1398918158,), (1398918196,), (1398918259,), (1398918331,), (1398918403,), (1398918848,), (1398918878,), (1398918880,), (1398919063,), (1398919065,), (1398919067,), (1398919082,), (1398919084,), (1398919086,), (1398919118,), (1398919121,), (1398919124,), (1398919127,), (1398919130,), (1398919133,), (1398919144,), (1398919146,), (1398919150,), (1398919154,), (1398919161,), (1398919172,), (1398919180,), (1398919181,), (1398919184,), (1398919186,), (1398919188,), (1398919191,), (1398919194,), (1398919212,), (1398919214,), (1398919216,), (1398919218,), (1398919221,), (1398919269,), (1398919272,), (1398919275,), (1398919278,), (1398919295,), (1398919298,), (1398919333,), (1398919331,), (1398919346,), (1398919349,), (1398919352,), (1398919355,), (1398919359,), (1398919381,), (1398919383,), (1398919385,), (1398919387,), (1398919390,), (1398919393,), (1398919408,), (1398919410,), (1398919413,), (1398919417,), (1398919421,), (1398919442,), (1398919444,), (1398919446,), (1398919448,), (1398919451,), (1398919461,), (1398919464,), (1398919467,), (1398919469,), (1398919471,), (1398919473,), (1398919511,), (1398919522,), (1398919527,), (1398919543,), (1398919545,), (1398919547,), (1398919549,), (1398919552,), (1398919584,), (1398919585,), (1398919586,), (1398919587,), (1398919590,), (1398919610,), (1398919650,), (1398919652,), (1398919675,), (1398919677,), (1398919679,), (1398919681,), (1398919691,), (1398919693,), (1398919722,), (1398919723,), (1398919725,), (1398919726,), (1398919729,), (1398919730,), (1398919746,), (1398919742,), (1398919744,), (1398919770,), (1398919772,), (1398919774,), (1398919776,), (1398919779,), (1398919782,), (1398919795,), (1398919796,), (1398919797,), (1398919825,), (1398919827,), (1398919829,), (1398919831,), (1398919844,), (1398919845,), (1398919846,), (1398919847,), (1398919850,), (1398919869,), (1398919871,), (1398919873,), (1398919875,), (1398919878,), (1398919890,), (1398919891,), (1398919892,), (1398919893,), (1398919896,), (1398919917,), (1398919919,), (1398919922,), (1398919924,), (1398919927,), (1398919928,), (1398919939,), (1398919941,), (1398919944,), (1398919948,), (1398919970,), (1398919971,), (1398919972,), (1398919973,), (1398919976,), (1398919979,), (1398919988,), (1398919990,), (1398919992,), (1398919994,), (1398919997,), (1398920002,), (1398920025,), (1398920027,), (1398920029,), (1398920032,), (1398920035,), (1398920036,), (1398920048,), (1398920049,), (1398920052,), (1398920055,), (1398920058,), (1398920061,), (1398920084,), (1398920088,), (1398920096,), (1398920098,), (1398920099,), (1398920101,), (1398920108,), (1398920109,), (1398920110,), (1398920111,), (1398920115,), (1398920117,), (1398920135,), (1398920136,), (1398920137,), (1398920139,), (1398920142,), (1398920144,), (1398920153,), (1398920154,), (1398920157,), (1398920159,), (1398920160,), (1398920161,), (1398920168,), (1398920171,), (1398920174,), (1398920176,), (1398920179,), (1398920181,), (1398920183,), (1398920185,), (1398920187,), (1398920164,), (1398920166,), (1398920189,), (1398920193,), (1398920196,), (1398920199,), (1398920206,), (1398920222,), (1398920224,), (1398920226,), (1398920228,), (1398920231,), (1398920234,), (1398920247,), (1398920248,), (1398920249,), (1398920250,), (1398920285,), (1398920288,), (1398920290,), (1398920292,), (1398920295,), (1398920298,), (1398920304,), (1398920306,), (1398920308,), (1398920310,), (1398920332,), (1398920333,), (1398920334,), (1398920341,), (1398920354,), (1398920371,), (1398920373,), (1398920375,), (1398920377,), (1398920380,), (1398920415,), (1398920416,), (1398920448,), (1398923155,), (1398923135,), (1398923695,), (1398923697,), (1398924024,), (1398924042,), (1398924044,), (1398924057,), (1398924059,), (1398924061,), (1398924079,), (1398924100,), (1398924102,), (1398924132,), (1398924125,), (1398924129,), (1398924181,), (1398924182,), (1398924183,), (1398924184,), (1398924187,), (1398924190,), (1398924649,), (1398924661,), (1398924695,), (1398924711,), (1398924714,), (1398924828,), (1398924829,), (1398924830,), (1398924831,), (1398924834,), (1398924859,), (1398924861,), (1398924863,), (1398924865,), (1398924868,), (1398924871,), (1398924877,), (1398924880,), (1398924883,), (1398924888,), (1398924891,), (1398924894,), (1398924902,), (1398924904,), (1398924911,), (1398924913,), (1398924915,), (1398924919,), (1398924925,), (1398924927,), (1398924929,), (1398924932,), (1398924935,), (1398924937,), (1398924939,), (1398924941,), (1398924966,), (1398924968,), (1398924970,), (1398924972,), (1398924975,), (1398924978,), (1398924986,), (1398924987,), (1398924988,), (1398924989,), (1398924992,), (1398924995,), (1398925014,), (1398925016,), (1398925018,), (1398925020,), (1398925033,), (1398925034,), (1398925035,), (1398925036,), (1398925039,), (1398925055,), (1398925057,), (1398925067,), (1398925076,), (1398925096,), (1398925097,), (1398925098,), (1398925099,), (1398925125,), (1398925127,), (1398925129,), (1398925131,), (1398925149,), (1398925147,), (1398925184,), (1398925223,), (1398925225,), (1398925243,), (1398925244,), (1398925245,), (1398925246,), (1398925269,), (1398925270,), (1398925271,), (1398925292,), (1398925294,), (1398925296,), (1398925298,), (1398925331,), (1398925332,), (1398925333,), (1398925334,), (1398925337,), (1398925340,), (1398925348,), (1398925350,), (1398925352,), (1398925354,), (1398925568,), (1398925573,), (1398925575,), (1398925577,), (1398925580,), (1398925583,), (1398925585,), (1398925589,), (1398925592,), (1398925595,), (1398925599,), (1398925607,), (1398925608,), (1398925609,), (1398925623,), (1398925625,), (1398925627,), (1398925629,), (1398925632,), (1398925635,), (1398925826,), (1398925827,), (1398925831,), (1398925832,), (1398925835,), (1398925909,), (1398925902,), (1398925905,), (1398925907,), (1398925921,), (1398925922,), (1398926196,), (1398926227,), (1398926251,), (1398926254,), (1398926257,), (1398926264,), (1398926266,), (1398926277,), (1398926279,), (1398926282,), (1398926284,), (1398926377,), (1398926380,), (1398926381,), (1398926382,), (1398926395,), (1398926398,), (1398926401,), (1398926403,), (1398926406,), (1398926409,), (1398926436,), (1398926438,), (1398926440,), (1398926442,), (1398926459,), (1398926460,), (1398926461,), (1398926462,), (1398926466,), (1398926468,), (1398926475,), (1398926477,), (1398926479,), (1398926482,), (1398926485,), (1398926488,), (1398926503,), (1398926504,), (1398926506,), (1398926508,), (1398926542,), (1398926544,), (1398926563,), (1398926564,), (1398926583,), (1398926584,), (1398926585,), (1398926586,), (1398926589,), (1398926592,), (1398926618,), (1398926620,), (1398926623,), (1398926627,), (1398926633,), (1398926634,), (1398926635,), (1398926636,), (1398926637,), (1398926638,), (1398926642,), (1398926645,), (1398926662,), (1398926653,), (1398926654,), (1398926655,), (1398926656,), (1398926659,), (1398926673,), (1398926677,), (1398926679,), (1398926682,), (1398926685,), (1398926687,), (1398926713,), (1398926745,), (1398926778,), (1398926818,), (1398926853,), (1398926894,), (1398927008,), (1398927045,), (1398927080,), (1398927213,), (1398927245,), (1398927277,), (1398927313,), (1398927355,), (1398927390,), (1398927699,), (1398927730,), (1398927733,), (1398927736,), (1398927757,), (1398927760,), (1398928075,), (1398928110,), (1398928145,), (1398928284,), (1398928292,), (1398928294,), (1398928296,), (1398928299,), (1398928302,), (1398928307,), (1398928309,), (1398928311,), (1398928313,), (1398928329,), (1398928331,), (1398928332,), (1398928333,), (1398928349,), (1398928389,), (1398928694,), (1398928729,), (1398928763,), (1398928804,), (1398929200,), (1398929238,), (1398929276,), (1398929312,), (1398929350,), (1398929386,), (1398929693,), (1398929695,), (1398929697,), (1398929699,), (1398929715,), (1398929717,), (1398929719,), (1398929721,), (1398929724,), (1398929727,), (1398929977,), (1398930009,), (1398930040,), (1398930775,), (1398930541,), (1398930573,), (1398930613,), (1398930686,), (1398930738,), (1398930999,), (1398931000,), (1398931001,), (1398931240,), (1398931253,), (1398931255,), (1398931282,), (1398931289,), (1398931292,), (1398931354,), (1398931355,), (1398931356,), (1398931361,), (1398931362,), (1398931365,), (1398931368,), (1398931373,), (1398931375,), (1398931404,), (1398931422,), (1398931427,), (1398931429,), (1398931438,), (1398931440,), (1398931442,), (1398931444,), (1398931447,), (1398931450,), (1398931464,), (1398931465,), (1398931466,), (1398931467,), (1398932122,), (1398932201,), (1398932270,), (1398932344,), (1398932414,), (1398932488,), (1398932948,), (1398933002,), (1398933066,), (1398933100,), (1398933664,), (1398933721,), (1398933726,), (1398933751,), (1398933765,), (1398933798,), (1398933803,), (1398933805,), (1398933807,), (1398933810,), (1398934073,), (1398934106,), (1398934139,), (1398934377,), (1398934384,), (1398934385,), (1398934386,), (1398934387,), (1398934388,), (1398934400,), (1398934401,), (1398934402,), (1398934403,), (1398934406,), (1398934409,), (1398934420,), (1398934422,), (1398934449,), (1398934442,), (1398934445,), (1398934447,), (1398934473,), (1398934475,), (1398934477,), (1398934485,), (1398934497,), (1398934500,), (1398934504,), (1398934506,), (1398934508,), (1398934510,), (1398934525,), (1398934526,), (1398934527,), (1398934528,), (1398934531,), (1398934559,), (1398934932,), (1398934969,), (1398935005,), (1398935688,), (1398935756,), (1398935817,), (1398935882,), (1398935945,), (1398936012,), (1398936463,), (1398936499,), (1398936517,), (1398936519,), (1398936522,), (1398936524,), (1398936550,), (1398936560,), (1398936593,), (1398936626,), (1398936660,), (1398936707,), (1398937182,), (1398937254,), (1398937298,), (1398937350,), (1398937385,), (1398937420,), (1398937762,), (1398937813,), (1398937855,), (1398938293,), (1398938329,), (1398938363,), (1398938401,), (1398938438,), (1398938503,), (1398938778,), (1398938785,), (1398938788,), (1398938790,), (1398938793,), (1398938862,), (1398938897,), (1398938933,), (1398938964,), (1398939483,), (1398939551,), (1398939619,), (1398939685,), (1398939764,), (1398940162,), (1398940192,), (1398940194,), (1398940195,), (1398940206,), (1398940617,), (1398940536,), (1398940555,), (1398940557,), (1398940559,), (1398940584,), (1398940636,), (1398940637,), (1398940639,), (1398940641,), (1398940644,), (1398940678,), (1398940679,), (1398940680,), (1398940681,), (1398940684,), (1398940687,), (1398940697,), (1398940699,), (1398940701,), (1398940718,), (1398940719,), (1398940720,), (1398940721,), (1398940724,), (1398940740,), (1398940742,), (1398940744,), (1398941743,), (1398942126,), (1398942166,), (1398942176,), (1398942179,), (1398942557,), (1398942458,), (1398942493,), (1398942526,), (1398942887,), (1398942953,), (1398942995,), (1398943026,), (1398943061,), (1398943486,), (1398943523,), (1398943554,), (1398943982,), (1398944018,), (1398944036,), (1398944040,), (1398944074,), (1398944109,), (1398944147,), (1398944191,), (1398944350,), (1398944487,), (1398944909,), (1398944921,), (1398945075,), (1398945514,), (1398945524,), (1398945526,), (1398945528,), (1398945531,), (1398945534,), (1398945711,), (1398945718,), (1398945720,), (1398945722,), (1398945725,), (1398945728,), (1398945739,), (1398945740,), (1398945741,), (1398945742,), (1398945837,), (1398945877,), (1398945911,), (1398945947,), (1398945980,), (1398946017,), (1398946345,), (1398946349,), (1398946350,), (1398946351,), (1398946354,), (1398946357,), (1398946547,), (1398946563,), (1398946567,), (1398946569,), (1398946602,), (1398946688,), (1398946677,), (1398946680,), (1398946683,), (1398946686,), (1398947053,), (1398947089,), (1398947127,), (1398947162,), (1398947196,), (1398947232,), (1398947402,), (1398947404,), (1398947406,), (1398947408,), (1398947628,), (1398947637,), (1398947671,), (1398947692,), (1398947696,), (1398947726,), (1398947749,), (1398947752,), (1398947755,), (1398947770,), (1398947772,), (1398947774,), (1398947775,), (1398947777,), (1398947779,), (1398947798,), (1398947800,), (1398947802,), (1398947804,), (1398947807,), (1398947810,), (1398947824,), (1398947827,), (1398947830,), (1398947857,), (1398947859,), (1398947861,), (1398947863,), (1398947866,), (1398947869,), (1398947876,), (1398947878,), (1398947880,), (1398947882,), (1398947884,), (1398947887,), (1398947904,), (1398947905,), (1398947906,), (1398947907,), (1398947922,), (1398947925,), (1398947928,), (1398947930,), (1398947933,), (1398947936,), (1398947956,), (1398947990,), (1398948026,), (1398948061,), (1398948459,), (1398948494,), (1398948528,), (1398948560,), (1398948563,), (1398948941,), (1398948991,), (1398949043,), (1398949054,), (1398949064,), (1398949194,), (1398949185,), (1398949188,), (1398949191,), (1398949236,), (1398949237,), (1398949239,), (1398949240,), (1398949242,), (1398949255,), (1398949257,), (1398949259,), (1398949261,), (1398949265,), (1398949292,), (1398949294,), (1398949298,), (1398949301,), (1398949309,), (1398949315,), (1398949319,), (1398949323,), (1398949325,), (1398949327,), (1398949345,), (1398949347,), (1398949348,), (1398949349,), (1398949616,), (1398949649,), (1398949682,), (1398950102,), (1398950138,), (1398950171,), (1398950206,), (1398950239,), (1398950521,), (1398950522,), (1398950523,), (1398950524,), (1398950526,), (1398950529,), (1398950552,), (1398950554,), (1398950556,), (1398950558,), (1398950939,), (1398950962,), (1398950971,), (1398950973,), (1398950999,), (1398951035,), (1398951036,), (1398951037,), (1398951038,), (1398951041,), (1398951052,), (1398951054,), (1398951056,), (1398951058,), (1398951061,), (1398951079,), (1398951080,), (1398951081,), (1398951082,), (1398951098,), (1398951100,), (1398951103,), (1398951105,), (1398951108,), (1398951112,), (1398951148,), (1398951119,), (1398951123,), (1398951125,), (1398951884,), (1398951949,), (1398952020,), (1398952086,), (1398952155,), (1398952681,), (1398952682,), (1398952683,), (1398952684,), (1398952686,), (1398952688,), (1398952929,), (1398952960,), (1398952967,), (1398953002,), (1398953795,), (1398953871,), (1398953934,), (1398953968,), (1398954005,), (1398954039,), (1398954152,), (1398954153,), (1398954175,), (1398954205,), (1398954437,), (1398954450,), (1398954485,), (1398954499,), (1398954509,), (1398954512,), (1398954520,), (1398954521,), (1398954522,), (1398954523,), (1398954526,), (1398954546,), (1398954548,), (1398954550,), (1398954552,), (1398954555,), (1398954573,), (1398954575,), (1398954577,), (1398954579,), (1398954600,), (1398954602,), (1398954603,), (1398954604,), (1398954607,), (1398954621,), (1398954624,), (1398954626,), (1398954628,), (1398954631,), (1398954648,), (1398954706,), (1398954787,), (1398954832,), (1398955535,), (1398955572,), (1398955607,), (1398955643,), (1398955677,), (1398955719,), (1398955965,), (1398955967,), (1398955968,), (1398955969,), (1398955993,), (1398956028,), (1398956337,), (1398956349,), (1398956381,), (1398956387,), (1398956405,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11122025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29345107]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152] map_info['map_portfolio_photo'] : {29345107: [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152]} final : True mtd_id 4302 list_pids : [1398900435, 1398900362, 1398900341, 1398900283, 1398900278, 1398900274, 1398900272, 1398900271, 1398900268, 1398900210, 1398900207, 1398900204, 1398900201, 1398900198, 1398900186, 1398900183, 1398900182, 1398900179, 1398900175, 1398900163, 1398900160, 1398900157, 1398900156, 1398900155, 1398900154, 1398900089, 1398900084, 1398900061, 1398899951, 1398899911, 1398899877, 1398899757, 1398899743, 1398899434, 1398899042, 1398899006, 1398898754, 1398898751, 1398898748, 1398898642, 1398898641, 1398898223, 1398898187, 1398898152] Looping around the photos to save general results len do output : 1 /29345107Didn'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, '4212479') ('4302', '29345107', '1398900435', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900362', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900341', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900283', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900278', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900274', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900272', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900271', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900268', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900210', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900207', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900204', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900201', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900198', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900186', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900183', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900182', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900179', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900175', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900163', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900160', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900157', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900156', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900155', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900154', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900089', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900084', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398900061', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899951', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899911', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899877', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899757', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899743', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899434', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899042', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398899006', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898754', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898751', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898748', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898642', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898641', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898223', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898187', None, None, None, None, None, '4212479') ('4302', None, None, None, None, None, None, None, '4212479') ('4302', '29345107', '1398898152', None, None, None, None, None, '4212479') 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', None, '29345107', 'None', None, None, None, None, '4212479'), ('4302', '29345107', '1398900435', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900362', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900341', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900283', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900278', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900274', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900272', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900271', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900268', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900210', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900207', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900204', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900201', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900198', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900186', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900183', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900182', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900179', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900175', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900163', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900160', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900157', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900156', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900155', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900154', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900089', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900084', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398900061', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899951', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899911', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899877', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899757', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899743', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899434', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899042', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398899006', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898754', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898751', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898748', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898642', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898641', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898223', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898187', None, None, None, None, None, '4212479'), ('4302', '29345107', '1398898152', None, None, None, None, None, '4212479')] time used for this insertion : 0.02070903778076172 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.719042539596558 time spend to save output : 0.02126455307006836 total time spend for step 5 : 6.740307092666626 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 (4212479) 3.32user 2.08system 0:25.26elapsed 21%CPU (0avgtext+0avgdata 174708maxresident)k 272inputs+33184outputs (1major+95672minor)pagefaults 0swaps