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 : 632937 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 (4052359) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4052359) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28520950 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4052359'] with mtr_portfolio_ids : ['28520950'] and first list_photo_ids : [] new path : /proc/632937/ Name: python3 Umask: 0002 State: R (running) Tgid: 632937 Ngid: 0 Pid: 632937 PPid: 632935 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 632937 NSpid: 632937 NSpgid: 632574 NSsid: 632574 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99520 kB VmRSS: 99520 kB RssAnon: 59904 kB RssFile: 39616 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 548 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: 40 nonvoluntary_ctxt_switches: 137 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '632937', 'Ngid': '0', 'Pid': '632937', 'PPid': '632935', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '632937', 'NSpid': '632937', 'NSpgid': '632574', 'NSsid': '632574', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99520 kB', 'VmRSS': '99520 kB', 'RssAnon': '59904 kB', 'RssFile': '39616 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '548 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': '40', 'nonvoluntary_ctxt_switches': '137'} ('datou_batch_current', '632937', '1106908', '0', '1106884', '865636', '99520', b'', 'marlene', '4052359') 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 (28520950) 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 (4052359 ) ) 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 (28520950) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1394365071, 'portfolio_id': 28520950}, {'photo_id': 1394365013, 'portfolio_id': 28520950}, {'photo_id': 1394365007, 'portfolio_id': 28520950}, {'photo_id': 1394365001, 'portfolio_id': 28520950}, {'photo_id': 1394364846, 'portfolio_id': 28520950}, {'photo_id': 1394364815, 'portfolio_id': 28520950}, {'photo_id': 1394364805, 'portfolio_id': 28520950}, {'photo_id': 1394364023, 'portfolio_id': 28520950}, {'photo_id': 1394363687, 'portfolio_id': 28520950}, {'photo_id': 1394363619, 'portfolio_id': 28520950}, {'photo_id': 1394363542, 'portfolio_id': 28520950}, {'photo_id': 1394363363, 'portfolio_id': 28520950}, {'photo_id': 1394363330, 'portfolio_id': 28520950}, {'photo_id': 1394363296, 'portfolio_id': 28520950}, {'photo_id': 1394363258, 'portfolio_id': 28520950}, {'photo_id': 1394363199, 'portfolio_id': 28520950}, {'photo_id': 1394363196, 'portfolio_id': 28520950}, {'photo_id': 1394363193, 'portfolio_id': 28520950}, {'photo_id': 1394363187, 'portfolio_id': 28520950}, {'photo_id': 1394363167, 'portfolio_id': 28520950}, {'photo_id': 1394363130, 'portfolio_id': 28520950}, {'photo_id': 1394363061, 'portfolio_id': 28520950}, {'photo_id': 1394363031, 'portfolio_id': 28520950}, {'photo_id': 1394363027, 'portfolio_id': 28520950}, {'photo_id': 1394363024, 'portfolio_id': 28520950}, {'photo_id': 1394363022, 'portfolio_id': 28520950}, {'photo_id': 1394362981, 'portfolio_id': 28520950}, {'photo_id': 1394362980, 'portfolio_id': 28520950}, {'photo_id': 1394362979, 'portfolio_id': 28520950}, {'photo_id': 1394362978, 'portfolio_id': 28520950}, {'photo_id': 1394362967, 'portfolio_id': 28520950}, {'photo_id': 1394362909, 'portfolio_id': 28520950}, {'photo_id': 1394362872, 'portfolio_id': 28520950}, {'photo_id': 1394362837, 'portfolio_id': 28520950}, {'photo_id': 1394362798, 'portfolio_id': 28520950}, {'photo_id': 1394362761, 'portfolio_id': 28520950}, {'photo_id': 1394362727, 'portfolio_id': 28520950}, {'photo_id': 1394362520, 'portfolio_id': 28520950}, {'photo_id': 1394362518, 'portfolio_id': 28520950}, {'photo_id': 1394362382, 'portfolio_id': 28520950}, {'photo_id': 1394362379, 'portfolio_id': 28520950}, {'photo_id': 1394362375, 'portfolio_id': 28520950}, {'photo_id': 1394362348, 'portfolio_id': 28520950}] map_portfolio_id_photo_id: {28520950: [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348]} ##### 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.016035795211791992 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Nov 15 05:45:28 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 (28520950) 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 : 28520950 get user id for portfolio 28520950 get sub ptf for main ptf 28520950, type 3726 and hashtags ['mal_croppe', 'flou', 'Teint_Dans_La_Masse', 'kraft', 'papier', 'environnement', 'metal', 'Carton_gris', 'plastique', 'Carton_brun', 'autre_refus', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28520950 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','Teint_Dans_La_Masse','kraft','papier','environnement','metal','Carton_gris','plastique','Carton_brun','autre_refus','cartonnette')) 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`=28520950 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','Teint_Dans_La_Masse','kraft','papier','environnement','metal','Carton_gris','plastique','Carton_brun','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28520950, 'sub_port_id': 28520997, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328940, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'plastique': {'main_port_id': 28520950, 'sub_port_id': 28520998, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328941, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'papier': {'main_port_id': 28520950, 'sub_port_id': 28520999, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328942, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'Carton_gris': {'main_port_id': 28520950, 'sub_port_id': 28521000, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328943, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'mal_croppe': {'main_port_id': 28520950, 'sub_port_id': 28521001, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328944, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'cartonnette': {'main_port_id': 28520950, 'sub_port_id': 28521002, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328945, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'Carton_brun': {'main_port_id': 28520950, 'sub_port_id': 28521003, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328946, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'autre_refus': {'main_port_id': 28520950, 'sub_port_id': 28521004, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328947, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'kraft': {'main_port_id': 28520950, 'sub_port_id': 28521005, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328948, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'environnement': {'main_port_id': 28520950, 'sub_port_id': 28521006, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328949, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'metal': {'main_port_id': 28520950, 'sub_port_id': 28521007, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328950, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 28520950, 'sub_port_id': 28521008, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328951, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28520997 , 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=28520950 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 (28520997) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28520998 , 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=28520950 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 (28520998) result : ((1394363401,), (1394364559,), (1394364985,), (1394364997,), (1394364998,), (1394365983,), (1394365984,), (1394366670,), (1394367631,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28520999 , 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=28520950 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 (28520999) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521000 , 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=28520950 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 (28521000) result : ((1394364547,), (1394364672,), (1394364990,), (1394364991,), (1394365974,), (1394365975,), (1394367620,), (1394367621,), (1394367622,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521001 , 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=28520950 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 (28521001) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521002 , 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=28520950 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 (28521002) result : ((1394364145,), (1394364147,), (1394364553,), (1394364554,), (1394364682,), (1394364981,), (1394364992,), (1394364993,), (1394365059,), (1394365060,), (1394365061,), (1394365977,), (1394365978,), (1394367625,), (1394367626,), (1394367627,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521003 , 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=28520950 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 (28521003) result : ((1394363399,), (1394364556,), (1394364557,), (1394364558,), (1394364983,), (1394364984,), (1394364994,), (1394364995,), (1394364996,), (1394365980,), (1394365981,), (1394365982,), (1394367155,), (1394367628,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521004 , 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=28520950 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 (28521004) result : ((1394363398,), (1394364980,), (1394364988,), (1394364989,), (1394365972,), (1394365973,), (1394367617,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521005 , 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=28520950 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 (28521005) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521006 , 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=28520950 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 (28521006) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521007 , 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=28520950 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 (28521007) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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 28521008 , 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=28520950 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 (28521008) result : ((1394363395,), (1394363396,), (1394364530,), (1394364655,), (1394364987,), (1394365058,), (1394365969,), (1394367154,), (1394367613,), (1394367614,), (1394367615,), (1394367616,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28520950) result : ((1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,)) 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`=28520950 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','Teint_Dans_La_Masse','kraft','papier','environnement','metal','Carton_gris','plastique','Carton_brun','autre_refus','cartonnette')) 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`=28520950 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','Teint_Dans_La_Masse','kraft','papier','environnement','metal','Carton_gris','plastique','Carton_brun','autre_refus','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28520950, 'sub_port_id': 28521010, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328952, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'plastique': {'main_port_id': 28520950, 'sub_port_id': 28521011, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328953, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'papier': {'main_port_id': 28520950, 'sub_port_id': 28521012, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328954, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'Carton_gris': {'main_port_id': 28520950, 'sub_port_id': 28521013, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328955, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'mal_croppe': {'main_port_id': 28520950, 'sub_port_id': 28521014, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328956, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'cartonnette': {'main_port_id': 28520950, 'sub_port_id': 28521015, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328957, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'Carton_brun': {'main_port_id': 28520950, 'sub_port_id': 28521016, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328958, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'autre_refus': {'main_port_id': 28520950, 'sub_port_id': 28521017, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328959, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'kraft': {'main_port_id': 28520950, 'sub_port_id': 28521018, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328960, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'environnement': {'main_port_id': 28520950, 'sub_port_id': 28521019, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328961, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'metal': {'main_port_id': 28520950, 'sub_port_id': 28521020, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328962, 'last_updated_at': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 8, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}, 'Teint_Dans_La_Masse': {'main_port_id': 28520950, 'sub_port_id': 28521021, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19328963, 'last_updated_at': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_desc': datetime.datetime(2025, 11, 14, 9, 2, 31), 'last_updated_at_asc': datetime.datetime(2025, 11, 14, 8, 49, 32)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521010,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28520997 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521011,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28520998 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521012,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28520999 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521013,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521000 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521014,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521001 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521015,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521002 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521016,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521003 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521017,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521004 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521018,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521005 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521019,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521006 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521020,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521007 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28521021,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28521008 lien utilise dans velours : https://marlene.fotonower.com/velours/28521010,28521011,28521012,28521013,28521014,28521015,28521016,28521017,28521018,28521019,28521020,28521021?tags=flou,plastique,papier,Carton_gris,mal_croppe,cartonnette,Carton_brun,autre_refus,kraft,environnement,metal,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28520950]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348] map_info['map_portfolio_photo'] : {28520950: [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348]} final : False mtd_id 4302 list_pids : [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348] Looping around the photos to save general results len do output : 1 /28520950. 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, '4052359') ('4302', '28520950', '1394365071', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365013', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365007', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365001', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364846', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364815', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364805', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364023', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363687', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363619', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363542', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363363', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363330', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363296', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363258', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363199', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363196', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363193', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363187', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363167', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363130', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363061', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363031', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363027', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363024', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363022', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362981', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362980', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362979', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362978', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362967', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362909', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362872', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362837', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362798', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362761', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362727', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362520', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362518', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362382', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362379', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362375', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362348', None, None, None, None, None, '4052359') 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', None, '28520950', "{'flou': 28520997, 'plastique': 28520998, 'papier': 28520999, 'Carton_gris': 28521000, 'mal_croppe': 28521001, 'cartonnette': 28521002, 'Carton_brun': 28521003, 'autre_refus': 28521004, 'kraft': 28521005, 'environnement': 28521006, 'metal': 28521007, 'Teint_Dans_La_Masse': 28521008}", None, None, None, None, '4052359'), ('4302', '28520950', '1394365071', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365013', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365007', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365001', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364846', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364815', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364805', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364023', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363687', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363619', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363542', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363363', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363330', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363296', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363258', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363199', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363196', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363193', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363187', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363167', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363130', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363061', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363031', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363027', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363024', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363022', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362981', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362980', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362979', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362978', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362967', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362909', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362872', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362837', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362798', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362761', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362727', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362520', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362518', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362382', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362379', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362375', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362348', None, None, None, None, None, '4052359')] time used for this insertion : 0.022913217544555664 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.755568504333496 time spend to save output : 0.02347564697265625 total time spend for step 1 : 1.7790441513061523 step2:final Sat Nov 15 05:45:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (28520950) 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 28520950 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1394362382,1394362379,1394362375,1394362348,1394362520,1394362518,1394362909,1394362872,1394362837,1394362798,1394362761,1394362727,1394362981,1394362980,1394362979,1394362978,1394362967,1394363061,1394363031,1394363027,1394363024,1394363022,1394363130,1394363199,1394363196,1394363193,1394363187,1394363167,1394363363,1394363330,1394363296,1394363258,1394363687,1394363619,1394363542,1394364846,1394364023,1394364815,1394364805,1394365013,1394365007,1394365001,1394365071); 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([28520950]) Inside saveOutput : final : False verbose : True original output for save of step final : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} new output for save of step final : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348] map_info['map_portfolio_photo'] : {28520950: [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348]} final : False mtd_id 4302 list_pids : [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348] Looping around the photos to save general results len do output : 43 /1394365071.Didn't retrieve data . /1394365013.Didn't retrieve data . /1394365007.Didn't retrieve data . /1394365001.Didn't retrieve data . /1394364846.Didn't retrieve data . /1394364815.Didn't retrieve data . /1394364805.Didn't retrieve data . /1394364023.Didn't retrieve data . /1394363687.Didn't retrieve data . /1394363619.Didn't retrieve data . /1394363542.Didn't retrieve data . /1394363363.Didn't retrieve data . /1394363330.Didn't retrieve data . /1394363296.Didn't retrieve data . /1394363258.Didn't retrieve data . /1394363199.Didn't retrieve data . /1394363196.Didn't retrieve data . /1394363193.Didn't retrieve data . /1394363187.Didn't retrieve data . /1394363167.Didn't retrieve data . /1394363130.Didn't retrieve data . /1394363061.Didn't retrieve data . /1394363031.Didn't retrieve data . /1394363027.Didn't retrieve data . /1394363024.Didn't retrieve data . /1394363022.Didn't retrieve data . /1394362981.Didn't retrieve data . /1394362980.Didn't retrieve data . /1394362979.Didn't retrieve data . /1394362978.Didn't retrieve data . /1394362967.Didn't retrieve data . /1394362909.Didn't retrieve data . /1394362872.Didn't retrieve data . /1394362837.Didn't retrieve data . /1394362798.Didn't retrieve data . /1394362761.Didn't retrieve data . /1394362727.Didn't retrieve data . /1394362520.Didn't retrieve data . /1394362518.Didn't retrieve data . /1394362382.Didn't retrieve data . /1394362379.Didn't retrieve data . /1394362375.Didn't retrieve data . /1394362348.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, '4052359') ('4302', '28520950', '1394365071', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365013', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365007', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365001', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364846', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364815', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364805', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364023', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363687', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363619', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363542', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363363', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363330', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363296', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363258', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363199', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363196', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363193', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363187', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363167', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363130', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363061', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363031', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363027', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363024', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363022', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362981', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362980', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362979', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362978', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362967', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362909', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362872', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362837', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362798', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362761', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362727', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362520', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362518', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362382', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362379', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362375', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362348', None, None, None, None, None, '4052359') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 129 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', '28520950', '1394365071', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394365013', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394365007', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394365001', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394364846', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394364815', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394364805', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394364023', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363687', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363619', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363542', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363363', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363330', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363296', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363258', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363199', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363196', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363193', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363187', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363167', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363130', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363061', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363031', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363027', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363024', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394363022', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362981', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362980', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362979', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362978', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362967', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362909', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362872', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362837', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362798', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362761', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362727', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362520', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362518', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362382', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362379', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362375', '0.066598235774505', None, None, None, None, '4052359'), ('4302', '28520950', '1394362348', '0.066598235774505', None, None, None, None, '4052359')] time used for this insertion : 0.022439956665039062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07595086097717285 time spend to save output : 0.024121522903442383 total time spend for step 2 : 0.10007238388061523 step3:velours_tree Sat Nov 15 05:45:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {28520950: [{'flou': 28520997, 'plastique': 28520998, 'papier': 28520999, 'Carton_gris': 28521000, 'mal_croppe': 28521001, 'cartonnette': 28521002, 'Carton_brun': 28521003, 'autre_refus': 28521004, 'kraft': 28521005, 'environnement': 28521006, 'metal': 28521007, 'Teint_Dans_La_Masse': 28521008}]} input_args_next_step : {28520950: ()} output_args : {28520950: [{'flou': 28520997, 'plastique': 28520998, 'papier': 28520999, 'Carton_gris': 28521000, 'mal_croppe': 28521001, 'cartonnette': 28521002, 'Carton_brun': 28521003, 'autre_refus': 28521004, 'kraft': 28521005, 'environnement': 28521006, 'metal': 28521007, 'Teint_Dans_La_Masse': 28521008}]} args : 28520950 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': 28520997, 'plastique': 28520998, 'papier': 28520999, 'Carton_gris': 28521000, 'mal_croppe': 28521001, 'cartonnette': 28521002, 'Carton_brun': 28521003, 'autre_refus': 28521004, 'kraft': 28521005, 'environnement': 28521006, 'metal': 28521007, 'Teint_Dans_La_Masse': 28521008},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28520950) 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([28520950]) 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.27953243255615234 time spend to save output : 4.220008850097656e-05 total time spend for step 3 : 0.2795746326446533 step4:send_mail_cod Sat Nov 15 05:45:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} input_args_next_step : {1394365071: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394365071 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394365013 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394365007 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394365001 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394364846 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394364815 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394364805 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394364023 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363687 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363619 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363542 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363363 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363330 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363296 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363258 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363199 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363196 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363193 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363187 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363167 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363130 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363061 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363031 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363027 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363024 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394363022 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362981 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362980 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362979 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362978 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362967 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362909 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362872 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362837 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362798 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362761 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362727 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362520 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362518 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362382 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362379 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362375 depend.output_id : 0 input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ()} output_args : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',)} args : 1394362348 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 : {28520950: [{'flou': 28520997, 'plastique': 28520998, 'papier': 28520999, 'Carton_gris': 28521000, 'mal_croppe': 28521001, 'cartonnette': 28521002, 'Carton_brun': 28521003, 'autre_refus': 28521004, 'kraft': 28521005, 'environnement': 28521006, 'metal': 28521007, 'Teint_Dans_La_Masse': 28521008}]} input_args_next_step : {1394365071: ('0.066598235774505',), 1394365013: ('0.066598235774505',), 1394365007: ('0.066598235774505',), 1394365001: ('0.066598235774505',), 1394364846: ('0.066598235774505',), 1394364815: ('0.066598235774505',), 1394364805: ('0.066598235774505',), 1394364023: ('0.066598235774505',), 1394363687: ('0.066598235774505',), 1394363619: ('0.066598235774505',), 1394363542: ('0.066598235774505',), 1394363363: ('0.066598235774505',), 1394363330: ('0.066598235774505',), 1394363296: ('0.066598235774505',), 1394363258: ('0.066598235774505',), 1394363199: ('0.066598235774505',), 1394363196: ('0.066598235774505',), 1394363193: ('0.066598235774505',), 1394363187: ('0.066598235774505',), 1394363167: ('0.066598235774505',), 1394363130: ('0.066598235774505',), 1394363061: ('0.066598235774505',), 1394363031: ('0.066598235774505',), 1394363027: ('0.066598235774505',), 1394363024: ('0.066598235774505',), 1394363022: ('0.066598235774505',), 1394362981: ('0.066598235774505',), 1394362980: ('0.066598235774505',), 1394362979: ('0.066598235774505',), 1394362978: ('0.066598235774505',), 1394362967: ('0.066598235774505',), 1394362909: ('0.066598235774505',), 1394362872: ('0.066598235774505',), 1394362837: ('0.066598235774505',), 1394362798: ('0.066598235774505',), 1394362761: ('0.066598235774505',), 1394362727: ('0.066598235774505',), 1394362520: ('0.066598235774505',), 1394362518: ('0.066598235774505',), 1394362382: ('0.066598235774505',), 1394362379: ('0.066598235774505',), 1394362375: ('0.066598235774505',), 1394362348: ('0.066598235774505',), 28520950: ()} output_args : {28520950: [{'flou': 28520997, 'plastique': 28520998, 'papier': 28520999, 'Carton_gris': 28521000, 'mal_croppe': 28521001, 'cartonnette': 28521002, 'Carton_brun': 28521003, 'autre_refus': 28521004, 'kraft': 28521005, 'environnement': 28521006, 'metal': 28521007, 'Teint_Dans_La_Masse': 28521008}]} args : 28520950 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 :44, first value : ('0.066598235774505',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28520950) 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 (1394365071,1394365013,1394365007,1394365001,1394364846,1394364815,1394364805,1394364023,1394363687,1394363619,1394363542,1394363363,1394363330,1394363296,1394363258,1394363199,1394363196,1394363193,1394363187,1394363167,1394363130,1394363061,1394363031,1394363027,1394363024,1394363022,1394362981,1394362980,1394362979,1394362978,1394362967,1394362909,1394362872,1394362837,1394362798,1394362761,1394362727,1394362520,1394362518,1394362382,1394362379,1394362375,1394362348) Found this number of photos: 43 ##### Call download_photos : nb_thread : 5 begin to download photo : 1394362348 begin to download photo : 1394362837 begin to download photo : 1394363024 begin to download photo : 1394363199 begin to download photo : 1394364805 download finish for photo 1394362837 begin to download photo : 1394362872 download finish for photo 1394364805 begin to download photo : 1394364815 download finish for photo 1394363199 begin to download photo : 1394363258 download finish for photo 1394363024 begin to download photo : 1394363027 download finish for photo 1394362348 begin to download photo : 1394362375 download finish for photo 1394363258 begin to download photo : 1394363296 download finish for photo 1394364815 begin to download photo : 1394364846 download finish for photo 1394362872 begin to download photo : 1394362909 download finish for photo 1394363027 begin to download photo : 1394363031 download finish for photo 1394363031 begin to download photo : 1394363061 download finish for photo 1394362909 begin to download photo : 1394362967 download finish for photo 1394364846 begin to download photo : 1394365001 download finish for photo 1394362375 begin to download photo : 1394362379 download finish for photo 1394363296 begin to download photo : 1394363330 download finish for photo 1394363061 begin to download photo : 1394363130 download finish for photo 1394365001 begin to download photo : 1394365007 download finish for photo 1394362967 begin to download photo : 1394362978 download finish for photo 1394362379 begin to download photo : 1394362382 download finish for photo 1394363330 begin to download photo : 1394363363 download finish for photo 1394362978 begin to download photo : 1394362979 download finish for photo 1394363130 begin to download photo : 1394363167 download finish for photo 1394365007 begin to download photo : 1394365013 download finish for photo 1394363363 begin to download photo : 1394363542 download finish for photo 1394362382 begin to download photo : 1394362518 download finish for photo 1394362979 begin to download photo : 1394362980 download finish for photo 1394363542 begin to download photo : 1394363619 download finish for photo 1394363167 begin to download photo : 1394363187 download finish for photo 1394362518 begin to download photo : 1394362520 download finish for photo 1394365013 begin to download photo : 1394365071 download finish for photo 1394362980 begin to download photo : 1394362981 download finish for photo 1394363187 begin to download photo : 1394363193 download finish for photo 1394363619 begin to download photo : 1394363687 download finish for photo 1394365071 download finish for photo 1394362520 begin to download photo : 1394362727 download finish for photo 1394362981 begin to download photo : 1394363022 download finish for photo 1394363193 begin to download photo : 1394363196 download finish for photo 1394362727 begin to download photo : 1394362761 download finish for photo 1394363687 begin to download photo : 1394364023 download finish for photo 1394363196 download finish for photo 1394363022 download finish for photo 1394364023 download finish for photo 1394362761 begin to download photo : 1394362798 download finish for photo 1394362798 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette285209971763181932/ length of list_filenames : 43 ; length of list_pids : 43 ; length of list_args : 43 results_Auto_P28520950_15-11-2025_05_45_32.pdf 28520997 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=28520997 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette285209971763181932 28520998 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=28520998 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394363401: '1763106787_1827256_1394362967_93e8143a71758be22d74d1741b80dd5b_rle_crop_4033227401_0.png', 1394364559: '1763107027_1836109_1394363330_e43f5d1ff66b3415be7c0c285f178591_rle_crop_4033232618_0.png', 1394364985: '1763107105_1843824_1394363167_4c79943b3f1f031f0efe9e54ed21de6b_rle_crop_4033237356_0.png', 1394364997: '1763107148_1844503_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241093_0.png', 1394364998: '1763107148_1844503_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241109_0.png', 1394365983: '1763107386_1856992_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241093_0.png', 1394365984: '1763107386_1856992_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241109_0.png', 1394366670: '1763107466_1860731_1394365001_7b3a7302062bce89b809bcdde2c2123d_rle_crop_4033248936_0.png', 1394367631: '1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249189_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/6b8b4ecea3ce19c567c1e0652d77ae24_36171549.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/8ea571b49c0a99712e4026efe2dd7e4d_16514070.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/bfaaad8c017476d5143922561460feff_57625976.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/3ee044938fbfeb8acceabc6d392ad9cc_16168253.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/bb5b1f33fd490ef11a9093f9a64414ae_61248438.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/3ee044938fbfeb8acceabc6d392ad9cc_4829233.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/bb5b1f33fd490ef11a9093f9a64414ae_92875365.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/5bd2ce36fcac663e55761f9aa9d35d98_6069220.png change filename to text .imagette285209981763181932/ imagette285209981763181932/1763107148_1844503_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241109_0.png.png imagette285209981763181932/1763107105_1843824_1394363167_4c79943b3f1f031f0efe9e54ed21de6b_rle_crop_4033237356_0.png.png imagette285209981763181932/1763107148_1844503_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241093_0.png.png imagette285209981763181932/1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249189_0.png.png imagette285209981763181932/1763107027_1836109_1394363330_e43f5d1ff66b3415be7c0c285f178591_rle_crop_4033232618_0.png.png imagette285209981763181932/1763107466_1860731_1394365001_7b3a7302062bce89b809bcdde2c2123d_rle_crop_4033248936_0.png.png imagette285209981763181932/1763107386_1856992_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241093_0.png.png imagette285209981763181932/1763106787_1827256_1394362967_93e8143a71758be22d74d1741b80dd5b_rle_crop_4033227401_0.png.png imagette285209981763181932/1763107386_1856992_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241109_0.png.png imagette285210011763181933/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/233dd00c9c092bdcbdbf8999ca46ea3d_20195827.png imagette285209981763181932 28521001 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=28521001 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette285210011763181933 28521002 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=28521002 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394364145: '1763106906_1831323_1394363031_b3611ce2d0c0c7a7f909eaeaf4fe4959_rle_crop_4033228154_0.png', 1394364147: '1763106906_1831323_1394363031_b3611ce2d0c0c7a7f909eaeaf4fe4959_rle_crop_4033228159_0.png', 1394364553: '1763107027_1836109_1394363330_e43f5d1ff66b3415be7c0c285f178591_rle_crop_4033232613_0.png', 1394364554: '1763107027_1836109_1394363258_97842a570f32a4e09a841a369ad0fec2_rle_crop_4033232634_0.png', 1394364682: '1763107048_1837163_1394363542_067ca515d863e33813a3faae46291a5c_rle_crop_4033232711_0.png', 1394364981: '1763107105_1843824_1394363187_4cb252c561fddc25891a0b8987d7025e_rle_crop_4033236938_0.png', 1394364992: '1763107148_1844503_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241084_0.png', 1394364993: '1763107148_1844503_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241102_0.png', 1394365059: '1763107227_1849164_1394364815_7e1e159e3e33327321a9c482f1a14d54_rle_crop_4033241406_0.png', 1394365060: '1763107227_1849164_1394364815_7e1e159e3e33327321a9c482f1a14d54_rle_crop_4033241408_0.png', 1394365061: '1763107227_1849164_1394364815_7e1e159e3e33327321a9c482f1a14d54_rle_crop_4033241404_0.png', 1394365977: '1763107386_1856992_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241084_0.png', 1394365978: '1763107386_1856992_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241102_0.png', 1394367625: '1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249183_0.png', 1394367626: '1763107746_1874924_1394362382_306417986b8045ae5fe1e3a4a2921ed5_rle_crop_4033249198_0.png', 1394367627: '1763107746_1874924_1394362375_0f7e978337a5a01b3349c86e433c50f4_rle_crop_4033249215_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/f2e56beeed0b1d3b813b048ab390807c_85807049.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/d7f6642d8bcaea3c2dbcc6783ac69f4d_33496855.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/18dadbf7d84d9d4f13b93a84f116e68e_37519497.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/c647affe775dffcfdad3bb0110f30758_40355111.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/3fe70462cbc7e35a55a21b4398a560be_48616575.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/27c1dc32adb387c4ea17f0f6a0e4315f_4594792.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/387e9568a9ed9c0d3240d776d8676916_67139965.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/27d9aa7107a11869586d1c02dd25f88b_93901240.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/8bfe169ff25e5330f03e2c7e7a287168_12533772.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/c5353713ff9d0ccf3c175eb0ed18fa54_206204.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/90ab78022d2bf83d86aa32265487e681_50361054.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/387e9568a9ed9c0d3240d776d8676916_21906498.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/27d9aa7107a11869586d1c02dd25f88b_402876.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/98239f76fa436baf96b347f58b78f294_12971316.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/71999625a70022c2024274da9ee9fef2_92283429.png change filename to text .imagette285210021763181933/ imagette285210021763181933/1763107227_1849164_1394364815_7e1e159e3e33327321a9c482f1a14d54_rle_crop_4033241404_0.png.png imagette285210021763181933/1763107027_1836109_1394363330_e43f5d1ff66b3415be7c0c285f178591_rle_crop_4033232613_0.png.png imagette285210021763181933/1763107386_1856992_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241102_0.png.png imagette285210021763181933/1763107746_1874924_1394362375_0f7e978337a5a01b3349c86e433c50f4_rle_crop_4033249215_0.png.png imagette285210021763181933/1763107227_1849164_1394364815_7e1e159e3e33327321a9c482f1a14d54_rle_crop_4033241408_0.png.png imagette285210021763181933/1763107227_1849164_1394364815_7e1e159e3e33327321a9c482f1a14d54_rle_crop_4033241406_0.png.png imagette285210021763181933/1763107148_1844503_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241084_0.png.png imagette285210021763181933/1763107148_1844503_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241102_0.png.png imagette285210021763181933/1763107746_1874924_1394362382_306417986b8045ae5fe1e3a4a2921ed5_rle_crop_4033249198_0.png.png imagette285210021763181933/1763106906_1831323_1394363031_b3611ce2d0c0c7a7f909eaeaf4fe4959_rle_crop_4033228159_0.png.png imagette285210021763181933/1763106906_1831323_1394363031_b3611ce2d0c0c7a7f909eaeaf4fe4959_rle_crop_4033228154_0.png.png imagette285210021763181933/1763107027_1836109_1394363258_97842a570f32a4e09a841a369ad0fec2_rle_crop_4033232634_0.png.png imagette285210021763181933/1763107105_1843824_1394363187_4cb252c561fddc25891a0b8987d7025e_rle_crop_4033236938_0.png.png imagette285210021763181933/1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249183_0.png.png imagette285210021763181933/1763107048_1837163_1394363542_067ca515d863e33813a3faae46291a5c_rle_crop_4033232711_0.png.png imagette285210021763181933/1763107386_1856992_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241084_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/b669ccf485763e018aeb3ce244d24c3b_74303752.png imagette285210021763181933 28521004 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=28521004 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394363398: '1763106787_1827256_1394362978_0b02c8ac6640a2fbd5bbf47d4d277be7_rle_crop_4033227390_0.png', 1394364980: '1763107105_1843824_1394363363_e0d558d32e9bfb825f9bef90a6ff0c69_rle_crop_4033235916_0.png', 1394364988: '1763107148_1844503_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241094_0.png', 1394364989: '1763107148_1844503_1394362761_fa165d6d427c1e74f5acda75a40191d0_rle_crop_4033241115_0.png', 1394365972: '1763107386_1856992_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241094_0.png', 1394365973: '1763107386_1856992_1394362761_fa165d6d427c1e74f5acda75a40191d0_rle_crop_4033241115_0.png', 1394367617: '1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249188_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/f286326beaaa477e000c50b29822b88a_21846567.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/1adc77b1ae8da69bec83f65bd125079b_89762212.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/e865c6d17fb18887e2d207f551889596_45222722.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/f48265a89fa7c6b23c18f97c7a50efe8_51581059.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/e865c6d17fb18887e2d207f551889596_32944032.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/f48265a89fa7c6b23c18f97c7a50efe8_19469884.png change filename to text .imagette285210041763181935/ imagette285210041763181935/1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249188_0.png.png imagette285210041763181935/1763107148_1844503_1394362761_fa165d6d427c1e74f5acda75a40191d0_rle_crop_4033241115_0.png.png imagette285210041763181935/1763106787_1827256_1394362978_0b02c8ac6640a2fbd5bbf47d4d277be7_rle_crop_4033227390_0.png.png imagette285210041763181935/1763107386_1856992_1394362761_fa165d6d427c1e74f5acda75a40191d0_rle_crop_4033241115_0.png.png imagette285210041763181935/1763107386_1856992_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241094_0.png.png imagette285210041763181935/1763107148_1844503_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241094_0.png.png imagette285210041763181935/1763107105_1843824_1394363363_e0d558d32e9bfb825f9bef90a6ff0c69_rle_crop_4033235916_0.png.png imagette285210051763181936/ imagette285210071763181936/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/372b9106f7556d77309958e569ec86a4_75241384.png imagette285210041763181935 28521005 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=28521005 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette285210051763181936 28521007 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=28521007 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette285210071763181936 28521000 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=28521000 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394364547: '1763107027_1836109_1394363687_8e7414da07cf21bda29d321247fc29f2_rle_crop_4033232608_0.png', 1394364672: '1763107048_1837163_1394363619_c7e8f3ba186478232fd17b3dc511d821_rle_crop_4033232702_0.png', 1394364990: '1763107148_1844503_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241100_0.png', 1394364991: '1763107148_1844503_1394362761_fa165d6d427c1e74f5acda75a40191d0_rle_crop_4033241119_0.png', 1394365974: '1763107386_1856992_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241100_0.png', 1394365975: '1763107386_1856992_1394362761_fa165d6d427c1e74f5acda75a40191d0_rle_crop_4033241119_0.png', 1394367620: '1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249182_0.png', 1394367621: '1763107746_1874924_1394362375_0f7e978337a5a01b3349c86e433c50f4_rle_crop_4033249214_0.png', 1394367622: '1763107746_1874924_1394362348_b7405fbde1230112859f3e185a05f1c4_rle_crop_4033249224_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/70dcabf3f51e6dbba3ff053fbcb88da2_11760106.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/404ab5370c104a7cafb50df484b48068_13253589.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/9d77f388030b4f8dee24042d5169685c_97805964.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/8b15851fd0e323c48f47e4f85f0f603c_9267596.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/9d77f388030b4f8dee24042d5169685c_16382744.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/8b15851fd0e323c48f47e4f85f0f603c_23130550.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/7b08551acc4fb9dcbdf5cc42e07403b0_41353572.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/81a4b27080c586299a363c80a9fc26f5_94350675.png change filename to text .imagette285210001763181936/ imagette285210001763181936/1763107746_1874924_1394362375_0f7e978337a5a01b3349c86e433c50f4_rle_crop_4033249214_0.png.png imagette285210001763181936/1763107048_1837163_1394363619_c7e8f3ba186478232fd17b3dc511d821_rle_crop_4033232702_0.png.png imagette285210001763181936/1763107746_1874924_1394362348_b7405fbde1230112859f3e185a05f1c4_rle_crop_4033249224_0.png.png imagette285210001763181936/1763107386_1856992_1394362761_fa165d6d427c1e74f5acda75a40191d0_rle_crop_4033241119_0.png.png imagette285210001763181936/1763107148_1844503_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241100_0.png.png imagette285210001763181936/1763107386_1856992_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241100_0.png.png imagette285210001763181936/1763107148_1844503_1394362761_fa165d6d427c1e74f5acda75a40191d0_rle_crop_4033241119_0.png.png imagette285210001763181936/1763107027_1836109_1394363687_8e7414da07cf21bda29d321247fc29f2_rle_crop_4033232608_0.png.png imagette285210001763181936/1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249182_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/d9be748e807276f4740709e97e44abf2_88730136.png imagette285210001763181936 28521003 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=28521003 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394363399: '1763106787_1827256_1394362980_d527d0b71344ad352626f9fb28fa2b2c_rle_crop_4033227364_0.png', 1394364556: '1763107027_1836109_1394363687_8e7414da07cf21bda29d321247fc29f2_rle_crop_4033232606_0.png', 1394364557: '1763107027_1836109_1394363330_e43f5d1ff66b3415be7c0c285f178591_rle_crop_4033232620_0.png', 1394364558: '1763107027_1836109_1394363296_0344021ef5cdca97fd6fcf4b02e4db35_rle_crop_4033232625_0.png', 1394364983: '1763107105_1843824_1394363193_51d443e353cacbe60eca56c34463139d_rle_crop_4033235932_0.png', 1394364984: '1763107105_1843824_1394363187_4cb252c561fddc25891a0b8987d7025e_rle_crop_4033236941_0.png', 1394364994: '1763107148_1844503_1394362981_4f2ca5583944d4881c1ec81b1853432d_rle_crop_4033241069_0.png', 1394364995: '1763107148_1844503_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241089_0.png', 1394364996: '1763107148_1844503_1394362727_270031b852f4aaf80e4523a2862bdd26_rle_crop_4033241131_0.png', 1394365980: '1763107386_1856992_1394362981_4f2ca5583944d4881c1ec81b1853432d_rle_crop_4033241069_0.png', 1394365981: '1763107386_1856992_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241089_0.png', 1394365982: '1763107386_1856992_1394362727_270031b852f4aaf80e4523a2862bdd26_rle_crop_4033241131_0.png', 1394367155: '1763107506_1861552_1394365013_d048a4dfce36c929f467f49896e20e16_rle_crop_4033248977_0.png', 1394367628: '1763107746_1874924_1394362375_0f7e978337a5a01b3349c86e433c50f4_rle_crop_4033249216_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/90dd4e79eec561ed61e63ae35ab76666_68568354.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/027a09ab0eca8a7a1be722453126c4a4_99140028.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/ba9d374ebc32dfe871d4be19debc7bb0_11712191.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/72f63ef0dc1588c2f14fcd4ae7343ec5_53555390.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/09fa631638cc137537996432cf12622b_19397144.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/f9a7a80792bcb4a3ad26c7c00190fcc1_41097716.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/cda10541f62fbf5bb260790d2049b72d_46768231.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/e31aa45965bbdedd238849508ddda562_23966679.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/9ddd920cf2f0149291f8809db28c75d6_33582420.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/cda10541f62fbf5bb260790d2049b72d_36053553.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/e31aa45965bbdedd238849508ddda562_38610235.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/9ddd920cf2f0149291f8809db28c75d6_40694408.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/22aaccd001853e3c44d993a96b27e00b_48067530.png change filename to text .imagette285210031763181937/ imagette285210031763181937/1763106787_1827256_1394362980_d527d0b71344ad352626f9fb28fa2b2c_rle_crop_4033227364_0.png.png imagette285210031763181937/1763107027_1836109_1394363330_e43f5d1ff66b3415be7c0c285f178591_rle_crop_4033232620_0.png.png imagette285210031763181937/1763107506_1861552_1394365013_d048a4dfce36c929f467f49896e20e16_rle_crop_4033248977_0.png.png imagette285210031763181937/1763107386_1856992_1394362981_4f2ca5583944d4881c1ec81b1853432d_rle_crop_4033241069_0.png.png imagette285210031763181937/1763107105_1843824_1394363193_51d443e353cacbe60eca56c34463139d_rle_crop_4033235932_0.png.png imagette285210031763181937/1763107105_1843824_1394363187_4cb252c561fddc25891a0b8987d7025e_rle_crop_4033236941_0.png.png imagette285210031763181937/1763107027_1836109_1394363296_0344021ef5cdca97fd6fcf4b02e4db35_rle_crop_4033232625_0.png.png imagette285210031763181937/1763107148_1844503_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241089_0.png.png imagette285210031763181937/1763107148_1844503_1394362981_4f2ca5583944d4881c1ec81b1853432d_rle_crop_4033241069_0.png.png imagette285210031763181937/1763107386_1856992_1394362837_a02eb230f19e51f29d780b81d1726f73_rle_crop_4033241089_0.png.png imagette285210031763181937/1763107148_1844503_1394362727_270031b852f4aaf80e4523a2862bdd26_rle_crop_4033241131_0.png.png imagette285210031763181937/1763107386_1856992_1394362727_270031b852f4aaf80e4523a2862bdd26_rle_crop_4033241131_0.png.png imagette285210031763181937/1763107027_1836109_1394363687_8e7414da07cf21bda29d321247fc29f2_rle_crop_4033232606_0.png.png imagette285210031763181937/1763107746_1874924_1394362375_0f7e978337a5a01b3349c86e433c50f4_rle_crop_4033249216_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/7d23bdb6423c84fdcc4bd2a122691f6c_81637066.png imagette285210031763181937 28521008 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=28521008 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394363395: '1763106787_1827256_1394362979_8c261ece36705bfb7fa314a2971a3272_rle_crop_4033227382_0.png', 1394363396: '1763106787_1827256_1394362978_0b02c8ac6640a2fbd5bbf47d4d277be7_rle_crop_4033227392_0.png', 1394364530: '1763107027_1836109_1394363687_8e7414da07cf21bda29d321247fc29f2_rle_crop_4033232607_0.png', 1394364655: '1763107048_1837163_1394363619_c7e8f3ba186478232fd17b3dc511d821_rle_crop_4033232707_0.png', 1394364987: '1763107148_1844503_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241104_0.png', 1394365058: '1763107227_1849164_1394364805_7ee421cb20c280d0e0930d1b5059aa78_rle_crop_4033241422_0.png', 1394365969: '1763107386_1856992_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241104_0.png', 1394367154: '1763107506_1861552_1394365013_d048a4dfce36c929f467f49896e20e16_rle_crop_4033248976_0.png', 1394367613: '1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249181_0.png', 1394367614: '1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249186_0.png', 1394367615: '1763107746_1874924_1394362382_306417986b8045ae5fe1e3a4a2921ed5_rle_crop_4033249202_0.png', 1394367616: '1763107746_1874924_1394362379_e8e00fa70662ab9a335b56bd6f871d94_rle_crop_4033249209_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/0b495faa7d2bce6da049a928d874941b_49180061.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/0c05c8b7dc605d97a51e252ec181b72c_17923046.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/f237d27a07946c615cce9289db4549cc_42861547.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/e75e36e2c3abec2fb428ec807aeeb783_64579216.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/2a736f6b0e11ec902388331458472e1e_43608709.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/e18be8bdf3fc0c36b6d200751739a592_43919750.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/2a736f6b0e11ec902388331458472e1e_92619047.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/3585fa59682a842a625a4185c3c94355_84134449.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/9edc820de4c525c689b86c29617c98b6_33632468.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/b54cf2bffb93debee5ec0449b42ff821_90450831.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/14dc88d943b51adf63a7a9a1590470ff_93691638.png change filename to text .imagette285210081763181939/ imagette285210081763181939/1763107506_1861552_1394365013_d048a4dfce36c929f467f49896e20e16_rle_crop_4033248976_0.png.png imagette285210081763181939/1763107227_1849164_1394364805_7ee421cb20c280d0e0930d1b5059aa78_rle_crop_4033241422_0.png.png imagette285210081763181939/1763107148_1844503_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241104_0.png.png imagette285210081763181939/1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249181_0.png.png imagette285210081763181939/1763107746_1874924_1394362520_42ed8417d66c219c780811a67c6ea082_rle_crop_4033249186_0.png.png imagette285210081763181939/1763106787_1827256_1394362979_8c261ece36705bfb7fa314a2971a3272_rle_crop_4033227382_0.png.png imagette285210081763181939/1763107048_1837163_1394363619_c7e8f3ba186478232fd17b3dc511d821_rle_crop_4033232707_0.png.png imagette285210081763181939/1763107027_1836109_1394363687_8e7414da07cf21bda29d321247fc29f2_rle_crop_4033232607_0.png.png imagette285210081763181939/1763106787_1827256_1394362978_0b02c8ac6640a2fbd5bbf47d4d277be7_rle_crop_4033227392_0.png.png imagette285210081763181939/1763107746_1874924_1394362379_e8e00fa70662ab9a335b56bd6f871d94_rle_crop_4033249209_0.png.png imagette285210081763181939/1763107746_1874924_1394362382_306417986b8045ae5fe1e3a4a2921ed5_rle_crop_4033249202_0.png.png imagette285210081763181939/1763107386_1856992_1394362798_3164edd10c743abb1759ca8c6f31c94a_rle_crop_4033241104_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/b18141a8754bd9f8d4b7fafc6217302b_32268484.png imagette285210081763181939 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28520950 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28521010,28521011,28521012,28521013,28521014,28521015,28521016,28521017,28521018,28521019,28521020,28521021?tags=flou,plastique,papier,Carton_gris,mal_croppe,cartonnette,Carton_brun,autre_refus,kraft,environnement,metal,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1394365071] : ('0.066598235774505',) no score found for photo 1394365071 We are sending mail with results at report@fotonower.com args[1394365013] : ('0.066598235774505',) no score found for photo 1394365013 We are sending mail with results at report@fotonower.com args[1394365007] : ('0.066598235774505',) no score found for photo 1394365007 We are sending mail with results at report@fotonower.com args[1394365001] : ('0.066598235774505',) no score found for photo 1394365001 We are sending mail with results at report@fotonower.com args[1394364846] : ('0.066598235774505',) no score found for photo 1394364846 We are sending mail with results at report@fotonower.com args[1394364815] : ('0.066598235774505',) no score found for photo 1394364815 We are sending mail with results at report@fotonower.com args[1394364805] : ('0.066598235774505',) no score found for photo 1394364805 We are sending mail with results at report@fotonower.com args[1394364023] : ('0.066598235774505',) no score found for photo 1394364023 We are sending mail with results at report@fotonower.com args[1394363687] : ('0.066598235774505',) no score found for photo 1394363687 We are sending mail with results at report@fotonower.com args[1394363619] : ('0.066598235774505',) no score found for photo 1394363619 We are sending mail with results at report@fotonower.com args[1394363542] : ('0.066598235774505',) no score found for photo 1394363542 We are sending mail with results at report@fotonower.com args[1394363363] : ('0.066598235774505',) no score found for photo 1394363363 We are sending mail with results at report@fotonower.com args[1394363330] : ('0.066598235774505',) no score found for photo 1394363330 We are sending mail with results at report@fotonower.com args[1394363296] : ('0.066598235774505',) no score found for photo 1394363296 We are sending mail with results at report@fotonower.com args[1394363258] : ('0.066598235774505',) no score found for photo 1394363258 We are sending mail with results at report@fotonower.com args[1394363199] : ('0.066598235774505',) no score found for photo 1394363199 We are sending mail with results at report@fotonower.com args[1394363196] : ('0.066598235774505',) no score found for photo 1394363196 We are sending mail with results at report@fotonower.com args[1394363193] : ('0.066598235774505',) no score found for photo 1394363193 We are sending mail with results at report@fotonower.com args[1394363187] : ('0.066598235774505',) no score found for photo 1394363187 We are sending mail with results at report@fotonower.com args[1394363167] : ('0.066598235774505',) no score found for photo 1394363167 We are sending mail with results at report@fotonower.com args[1394363130] : ('0.066598235774505',) no score found for photo 1394363130 We are sending mail with results at report@fotonower.com args[1394363061] : ('0.066598235774505',) no score found for photo 1394363061 We are sending mail with results at report@fotonower.com args[1394363031] : ('0.066598235774505',) no score found for photo 1394363031 We are sending mail with results at report@fotonower.com args[1394363027] : ('0.066598235774505',) no score found for photo 1394363027 We are sending mail with results at report@fotonower.com args[1394363024] : ('0.066598235774505',) no score found for photo 1394363024 We are sending mail with results at report@fotonower.com args[1394363022] : ('0.066598235774505',) no score found for photo 1394363022 We are sending mail with results at report@fotonower.com args[1394362981] : ('0.066598235774505',) no score found for photo 1394362981 We are sending mail with results at report@fotonower.com args[1394362980] : ('0.066598235774505',) no score found for photo 1394362980 We are sending mail with results at report@fotonower.com args[1394362979] : ('0.066598235774505',) no score found for photo 1394362979 We are sending mail with results at report@fotonower.com args[1394362978] : ('0.066598235774505',) no score found for photo 1394362978 We are sending mail with results at report@fotonower.com args[1394362967] : ('0.066598235774505',) no score found for photo 1394362967 We are sending mail with results at report@fotonower.com args[1394362909] : ('0.066598235774505',) no score found for photo 1394362909 We are sending mail with results at report@fotonower.com args[1394362872] : ('0.066598235774505',) no score found for photo 1394362872 We are sending mail with results at report@fotonower.com args[1394362837] : ('0.066598235774505',) no score found for photo 1394362837 We are sending mail with results at report@fotonower.com args[1394362798] : ('0.066598235774505',) no score found for photo 1394362798 We are sending mail with results at report@fotonower.com args[1394362761] : ('0.066598235774505',) no score found for photo 1394362761 We are sending mail with results at report@fotonower.com args[1394362727] : ('0.066598235774505',) no score found for photo 1394362727 We are sending mail with results at report@fotonower.com args[1394362520] : ('0.066598235774505',) no score found for photo 1394362520 We are sending mail with results at report@fotonower.com args[1394362518] : ('0.066598235774505',) no score found for photo 1394362518 We are sending mail with results at report@fotonower.com args[1394362382] : ('0.066598235774505',) no score found for photo 1394362382 We are sending mail with results at report@fotonower.com args[1394362379] : ('0.066598235774505',) no score found for photo 1394362379 We are sending mail with results at report@fotonower.com args[1394362375] : ('0.066598235774505',) no score found for photo 1394362375 We are sending mail with results at report@fotonower.com args[1394362348] : ('0.066598235774505',) no score found for photo 1394362348 We are sending mail with results at report@fotonower.com refus_total : 0.066598235774505 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=28520950 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_P28520950_15-11-2025_05_45_32.pdf results_Auto_P28520950_15-11-2025_05_45_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520950_15-11-2025_05_45_32.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','28520950','results_Auto_P28520950_15-11-2025_05_45_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520950_15-11-2025_05_45_32.pdf','pdf','','0.55','0.066598235774505') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28520950]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348] map_info['map_portfolio_photo'] : {28520950: [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348]} final : False mtd_id 4302 list_pids : [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348] 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, '4052359') ('4302', '28520950', '1394365071', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365013', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365007', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365001', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364846', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364815', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364805', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364023', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363687', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363619', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363542', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363363', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363330', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363296', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363258', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363199', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363196', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363193', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363187', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363167', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363130', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363061', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363031', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363027', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363024', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363022', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362981', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362980', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362979', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362978', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362967', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362909', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362872', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362837', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362798', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362761', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362727', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362520', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362518', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362382', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362379', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362375', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362348', None, None, None, None, None, '4052359') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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', '28520950', '1394365071', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365013', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365007', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365001', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364846', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364815', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364805', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364023', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363687', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363619', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363542', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363363', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363330', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363296', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363258', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363199', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363196', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363193', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363187', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363167', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363130', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363061', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363031', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363027', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363024', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363022', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362981', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362980', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362979', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362978', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362967', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362909', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362872', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362837', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362798', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362761', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362727', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362520', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362518', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362382', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362379', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362375', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362348', None, None, None, None, None, '4052359')] time used for this insertion : 0.019854307174682617 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.208559513092041 time spend to save output : 0.02032923698425293 total time spend for step 4 : 12.228888750076294 step5:split_time_score Sat Nov 15 05:45:43 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 : ['28520950'] 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 : [('28520950',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28520950) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1394364805: {'path': 'temp/1763181930_632937_1394364805_7ee421cb20c280d0e0930d1b5059aa78.jpg', 'extension': 'jpg'}, 1394364815: {'path': 'temp/1763181930_632937_1394364815_7e1e159e3e33327321a9c482f1a14d54.jpg', 'extension': 'jpg'}, 1394364846: {'path': 'temp/1763181930_632937_1394364846_20b4b50449e32b3737d17e2366d2afe6.jpg', 'extension': 'jpg'}, 1394365001: {'path': 'temp/1763181930_632937_1394365001_7b3a7302062bce89b809bcdde2c2123d.jpg', 'extension': 'jpg'}, 1394365007: {'path': 'temp/1763181930_632937_1394365007_ff2bf2b8494e1385ca56cf6045a6b41e.jpg', 'extension': 'jpg'}, 1394365013: {'path': 'temp/1763181930_632937_1394365013_d048a4dfce36c929f467f49896e20e16.jpg', 'extension': 'jpg'}, 1394365071: {'path': 'temp/1763181930_632937_1394365071_5f1b3b3165a04823b067de26efefadee.jpg', 'extension': 'jpg'}, 1394363024: {'path': 'temp/1763181930_632937_1394363024_6b4dced3ed8b110ac1d53a0829b27043.jpg', 'extension': 'jpg'}, 1394363027: {'path': 'temp/1763181930_632937_1394363027_2923f3cbf00996459c5b481f60a5d599.jpg', 'extension': 'jpg'}, 1394363031: {'path': 'temp/1763181930_632937_1394363031_b3611ce2d0c0c7a7f909eaeaf4fe4959.jpg', 'extension': 'jpg'}, 1394363061: {'path': 'temp/1763181930_632937_1394363061_993c5d9d710c1bc9385c5126bdcbddab.jpg', 'extension': 'jpg'}, 1394363130: {'path': 'temp/1763181930_632937_1394363130_89de330584cc86a2603c4223c6feeb05.jpg', 'extension': 'jpg'}, 1394363167: {'path': 'temp/1763181930_632937_1394363167_4c79943b3f1f031f0efe9e54ed21de6b.jpg', 'extension': 'jpg'}, 1394363187: {'path': 'temp/1763181930_632937_1394363187_4cb252c561fddc25891a0b8987d7025e.jpg', 'extension': 'jpg'}, 1394363193: {'path': 'temp/1763181930_632937_1394363193_51d443e353cacbe60eca56c34463139d.jpg', 'extension': 'jpg'}, 1394363196: {'path': 'temp/1763181930_632937_1394363196_bc9411c56eb54c58f704bfa247373191.jpg', 'extension': 'jpg'}, 1394362837: {'path': 'temp/1763181930_632937_1394362837_a02eb230f19e51f29d780b81d1726f73.jpg', 'extension': 'jpg'}, 1394362872: {'path': 'temp/1763181930_632937_1394362872_7a48b703dfca1349cad4652e27dfc728.jpg', 'extension': 'jpg'}, 1394362909: {'path': 'temp/1763181930_632937_1394362909_b0cb90f9a611517c3dd51ff31c1bf48c.jpg', 'extension': 'jpg'}, 1394362967: {'path': 'temp/1763181930_632937_1394362967_93e8143a71758be22d74d1741b80dd5b.jpg', 'extension': 'jpg'}, 1394362978: {'path': 'temp/1763181930_632937_1394362978_0b02c8ac6640a2fbd5bbf47d4d277be7.jpg', 'extension': 'jpg'}, 1394362979: {'path': 'temp/1763181930_632937_1394362979_8c261ece36705bfb7fa314a2971a3272.jpg', 'extension': 'jpg'}, 1394362980: {'path': 'temp/1763181930_632937_1394362980_d527d0b71344ad352626f9fb28fa2b2c.jpg', 'extension': 'jpg'}, 1394362981: {'path': 'temp/1763181930_632937_1394362981_4f2ca5583944d4881c1ec81b1853432d.jpg', 'extension': 'jpg'}, 1394363022: {'path': 'temp/1763181930_632937_1394363022_263177ffa8354fe363199def97db5007.jpg', 'extension': 'jpg'}, 1394363199: {'path': 'temp/1763181930_632937_1394363199_e1d8c77e19664edf7bbddccba92a8a0f.jpg', 'extension': 'jpg'}, 1394363258: {'path': 'temp/1763181930_632937_1394363258_97842a570f32a4e09a841a369ad0fec2.jpg', 'extension': 'jpg'}, 1394363296: {'path': 'temp/1763181930_632937_1394363296_0344021ef5cdca97fd6fcf4b02e4db35.jpg', 'extension': 'jpg'}, 1394363330: {'path': 'temp/1763181930_632937_1394363330_e43f5d1ff66b3415be7c0c285f178591.jpg', 'extension': 'jpg'}, 1394363363: {'path': 'temp/1763181930_632937_1394363363_e0d558d32e9bfb825f9bef90a6ff0c69.jpg', 'extension': 'jpg'}, 1394363542: {'path': 'temp/1763181930_632937_1394363542_067ca515d863e33813a3faae46291a5c.jpg', 'extension': 'jpg'}, 1394363619: {'path': 'temp/1763181930_632937_1394363619_c7e8f3ba186478232fd17b3dc511d821.jpg', 'extension': 'jpg'}, 1394363687: {'path': 'temp/1763181930_632937_1394363687_8e7414da07cf21bda29d321247fc29f2.jpg', 'extension': 'jpg'}, 1394364023: {'path': 'temp/1763181930_632937_1394364023_7b952a867ff08df49660d91f027560b8.jpg', 'extension': 'jpg'}, 1394362348: {'path': 'temp/1763181930_632937_1394362348_b7405fbde1230112859f3e185a05f1c4.jpg', 'extension': 'jpg'}, 1394362375: {'path': 'temp/1763181930_632937_1394362375_0f7e978337a5a01b3349c86e433c50f4.jpg', 'extension': 'jpg'}, 1394362379: {'path': 'temp/1763181930_632937_1394362379_e8e00fa70662ab9a335b56bd6f871d94.jpg', 'extension': 'jpg'}, 1394362382: {'path': 'temp/1763181930_632937_1394362382_306417986b8045ae5fe1e3a4a2921ed5.jpg', 'extension': 'jpg'}, 1394362518: {'path': 'temp/1763181930_632937_1394362518_fa88b7464c1cf5c0219ae87c36e232b6.jpg', 'extension': 'jpg'}, 1394362520: {'path': 'temp/1763181930_632937_1394362520_42ed8417d66c219c780811a67c6ea082.jpg', 'extension': 'jpg'}, 1394362727: {'path': 'temp/1763181930_632937_1394362727_270031b852f4aaf80e4523a2862bdd26.jpg', 'extension': 'jpg'}, 1394362761: {'path': 'temp/1763181930_632937_1394362761_fa165d6d427c1e74f5acda75a40191d0.jpg', 'extension': 'jpg'}, 1394362798: {'path': 'temp/1763181930_632937_1394362798_3164edd10c743abb1759ca8c6f31c94a.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 = 28520950; (('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 = 28520950 group by h (('08', 43),) 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=28520950 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 (28520950) 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 (28520950) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14112025 28520950 Nombre de photos uploadées : 43 / 23040 (0%) 14112025 28520950 Nombre de photos taguées (types de déchets): 0 / 43 (0%) 14112025 28520950 Nombre de photos taguées (volume) : 0 / 43 (0%) [{'photo_id': 1394362382, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/306417986b8045ae5fe1e3a4a2921ed5.jpg', 'username': None, 'uploaded_at': 1763106367, 'text': 'image_14112025_08_45_04_010157m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1394362379, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/e8e00fa70662ab9a335b56bd6f871d94.jpg', 'username': None, 'uploaded_at': 1763106367, 'text': 'image_14112025_08_45_24_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1394362375, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/0f7e978337a5a01b3349c86e433c50f4.jpg', 'username': None, 'uploaded_at': 1763106367, 'text': 'image_14112025_08_45_34_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1394362348, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/14/b7405fbde1230112859f3e185a05f1c4.jpg', 'username': None, 'uploaded_at': 1763106367, 'text': 'image_14112025_08_45_44_010134m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ??????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022954940795898438 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28520950, '2025-11-14' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2577932,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21191883087158203 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= 2577932 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28504025, 'dashboard_result_id': 17294358, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28504025_15-11-2025_05_34_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28504047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28504048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28504050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28504051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28504052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28504053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28504054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28504055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28504056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28504057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28504058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28504059, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28504648, 'dashboard_result_id': 17294359, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28504648_15-11-2025_05_35_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28504652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28504653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28504654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28504655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28504656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28504657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28504658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28504659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28504660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28504661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28504662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28504663, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28505140, 'dashboard_result_id': 17294360, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28505140_15-11-2025_05_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28505162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28505163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28505164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28505165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28505166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28505167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28505168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28505169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28505170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28505171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28505173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28505175, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28505764, 'dashboard_result_id': 17294361, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28505764_15-11-2025_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28505805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28505806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28505807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28505808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28505809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28505810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28505811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28505812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28505813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28505814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28505815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28505816, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28507316, 'dashboard_result_id': 17294362, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507316_15-11-2025_05_36_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28507317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507328, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28507473, 'dashboard_result_id': 17294363, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507473_15-11-2025_05_36_11.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28507486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507487, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28507781, 'dashboard_result_id': 17294364, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507781_15-11-2025_05_36_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28507794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507799, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28508415, 'dashboard_result_id': 17294365, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28508415_15-11-2025_05_37_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28508425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28508426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28508427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28508428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28508429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28508430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28508431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28508432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28508433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28508434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28508435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28508436, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28508891, 'dashboard_result_id': 17294366, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28508891_15-11-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28508900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28508901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28508902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28508903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28508904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28508905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28508906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28508907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28508908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28508909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28508910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28508911, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28509308, 'dashboard_result_id': 17294367, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28509308_15-11-2025_05_37_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28509334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28509335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28509336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28509337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28509338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28509339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28509340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28509341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28509342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28509343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28509344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28509345, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28509755, 'dashboard_result_id': 17294368, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28509755_15-11-2025_05_38_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28509765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28509766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28509767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28509768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28509769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28509770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28509771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28509772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28509773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28509774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28509775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28509776, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28510403, 'dashboard_result_id': 17294369, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28510403_15-11-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28510412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28510413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28510414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28510415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28510416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28510417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28510418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28510419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28510420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28510421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28510422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28510423, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28510787, 'dashboard_result_id': 17294370, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28510787_15-11-2025_05_39_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28510820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28510821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28510822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28510823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28510824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28510825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28510826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28510827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28510828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28510829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28510830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28510831, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28511242, 'dashboard_result_id': 17294371, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28511242_15-11-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28511246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28511247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28511248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28511249, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28511250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28511251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28511252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28511253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28511254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28511255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28511256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28511257, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28511755, 'dashboard_result_id': 17294372, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28511755_15-11-2025_05_39_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28511767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28511768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28511769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28511770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28511771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28511772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28511773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28511774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28511775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28511776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28511777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28511778, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28512579, 'dashboard_result_id': 17294373, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28512579_15-11-2025_05_39_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28512583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28512584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28512585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28512586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28512587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28512588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28512589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28512590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28512591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28512592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28512593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28512594, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28512841, 'dashboard_result_id': 17294374, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28512841_15-11-2025_05_40_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28512845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28512846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28512847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28512848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28512849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28512850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28512851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28512852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28512853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28512854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28512855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28512856, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28513210, 'dashboard_result_id': 17294375, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28513210_15-11-2025_05_41_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28513213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28513214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28513215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28513216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28513217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28513218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28513219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28513220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28513221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28513222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28513223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28513224, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28513700, 'dashboard_result_id': 17294376, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28513700_15-11-2025_05_41_15.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28513705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28513706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28513707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28513708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28513709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28513710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28513711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28513712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28513713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28513714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28513715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28513716, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28514065, 'dashboard_result_id': 17294377, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28514065_15-11-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28514069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28514070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28514071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28514072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28514073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28514074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28514075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28514076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28514077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28514078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28514079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28514080, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28514662, 'dashboard_result_id': 17294378, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28514662_15-11-2025_05_41_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28514700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28514701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28514702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28514703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28514704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28514705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28514706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28514707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28514708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28514709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28514710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28514711, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28515109, 'dashboard_result_id': 17294379, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515109_15-11-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28515122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515127, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28515499, 'dashboard_result_id': 17294380, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515499_15-11-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28515500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515511, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28515934, 'dashboard_result_id': 17294381, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515934_15-11-2025_05_43_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28515989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515991, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28516710, 'dashboard_result_id': 17294382, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28516710_14-11-2025_07_32_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28516788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28516790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28516791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28516792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28516794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28516795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28516796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28516798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28516799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28516800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28516802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28516803, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28517657, 'dashboard_result_id': 17294383, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28517657_15-11-2025_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28517662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28517663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28517664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28517665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28517666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28517667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28517668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28517669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28517670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28517671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28517672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28517673, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28518111, 'dashboard_result_id': 17294384, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518111_15-11-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28518154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28518155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28518156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28518157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28518158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28518159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28518160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28518162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28518163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28518164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28518165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28518166, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28518734, 'dashboard_result_id': 17294385, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518734_15-11-2025_05_44_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28518809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28518810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28518811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28518812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28518813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28518814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28518815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28518816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28518817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28518818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28518819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28518820, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28519463, 'dashboard_result_id': 17294386, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28519463_15-11-2025_05_44_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28519505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28519506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28519507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28519508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28519509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28519510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28519511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28519512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28519513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28519514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28519515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28519516, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28520133, 'dashboard_result_id': 17294387, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520133_14-11-2025_08_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28520165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28520166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28520167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28520168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28520169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28520170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28520171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28520172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28520173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28520174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28520175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28520176, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28520950, 'dashboard_result_id': 17294388, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520950_14-11-2025_09_02_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28520997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28520998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28520999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28521000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28521001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28521002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28521003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28521004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28521005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28521006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28521007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28521008, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28522900, 'dashboard_result_id': 17294389, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28522900_14-11-2025_09_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28522906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28522907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28522908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28522909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28522910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28522911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28522912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28522913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28522914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28522915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28522916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28522917, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28523481, 'dashboard_result_id': 17294390, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28523481_14-11-2025_10_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28523518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28523519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28523520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28523521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28523522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28523523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28523524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28523525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28523526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28523527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28523528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28523529, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28524276, 'dashboard_result_id': 17294391, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28524276_14-11-2025_10_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28524326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28524327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28524328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28524329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28524330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28524331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28524332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28524333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28524334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28524335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28524336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28524337, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28525320, 'dashboard_result_id': 17294392, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28525320_14-11-2025_10_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28525368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28525369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28525370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28525371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28525372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28525373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28525374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28525375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28525376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28525377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28525378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28525379, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28526009, 'dashboard_result_id': 17294393, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28526009_14-11-2025_10_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28526091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28526092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28526093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28526094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28526095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28526096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28526097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28526098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28526099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28526100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28526101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28526102, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28526684, 'dashboard_result_id': 17294394, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28526684_14-11-2025_11_04_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28526736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28526737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28526738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28526739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28526740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28526741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28526742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28526743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28526744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28526745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28526746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28526747, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28527312, 'dashboard_result_id': 17294395, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28527312_14-11-2025_11_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28527383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28527384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28527385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28527386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28527387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28527388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28527389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28527390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28527391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28527392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28527393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28527394, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28528168, 'dashboard_result_id': 17294396, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28528168_14-11-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28528212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28528213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28528214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28528215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28528216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28528217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28528218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28528219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28528220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28528221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28528222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28528223, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28529089, 'dashboard_result_id': 17294397, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28529089_14-11-2025_11_46_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28529109, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28529110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28529111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28529112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28529113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28529114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28529115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28529116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28529117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28529118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28529119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28529120, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28529948, 'dashboard_result_id': 17294398, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28529948_14-11-2025_12_03_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28529991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28529992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28529993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28529994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28529995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28529996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28529997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28529998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28529999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28530000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28530001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28530002, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28530646, 'dashboard_result_id': 17294399, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28530646_14-11-2025_12_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28530655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28530656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28530657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28530658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28530659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28530660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28530661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28530662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28530663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28530664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28530665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28530666, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28531845, 'dashboard_result_id': 17294400, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28531845_14-11-2025_14_06_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28531847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28531848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28531849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28531850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28531851, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28531852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28531853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28531854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28531855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28531856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28531857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28531858, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28531910, 'dashboard_result_id': 17294401, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28531910_15-11-2025_05_44_53.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28531946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28531947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28531948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28531949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28531950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28531951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28531952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28531953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28531954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28531955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28531956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28531957, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28532098, 'dashboard_result_id': 17294402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532098_14-11-2025_15_28_47.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28532111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28532112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28532113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28532114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28532115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28532116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28532117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28532118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28532119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28532120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28532121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28532122, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28532395, 'dashboard_result_id': 17294403, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532395_14-11-2025_15_15_13.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28532404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28532405, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28532406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28532407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28532408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28532409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28532410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28532411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28532412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28532413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28532414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28532415, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28532777, 'dashboard_result_id': 17294404, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532777_14-11-2025_15_11_45.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28532790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28532791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28532792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28532793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28532794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28532795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28532796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28532797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28532798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28532799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28532800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28532801, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28533543, 'dashboard_result_id': 17294405, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28533543_14-11-2025_15_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28533590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28533591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28533592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28533593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28533594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28533595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28533596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28533597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28533598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28533599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28533600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28533601, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28534450, 'dashboard_result_id': 17294406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28534450_14-11-2025_15_32_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28534490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28534491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28534492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28534493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28534494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28534495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28534496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28534497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28534498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28534499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28534500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28534501, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28535230, 'dashboard_result_id': 17294407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28535230_14-11-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28535292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28535293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28535294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28535295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28535296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28535297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28535298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28535299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28535300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28535301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28535302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28535303, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28535809, 'dashboard_result_id': 17294408, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28535809_14-11-2025_16_05_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28535864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28535865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28535866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28535867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28535868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28535869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28535870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28535871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28535872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28535873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28535874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28535875, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28536747, 'dashboard_result_id': 17294409, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28536747_14-11-2025_16_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28536785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28536786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28536787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28536788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28536789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28536790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28536791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28536792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28536793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28536794, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28536795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28536796, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28537308, 'dashboard_result_id': 17294410, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28537308_14-11-2025_16_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28537358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28537359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28537360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28537361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28537362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28537363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28537364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28537365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28537366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28537367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28537368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28537369, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28537945, 'dashboard_result_id': 17294411, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28537945_14-11-2025_16_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28537978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28537979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28537980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28537981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28537982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28537983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28537984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28537985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28537986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28537987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28537988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28537989, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28538597, 'dashboard_result_id': 17294412, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28538597_14-11-2025_17_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28538606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28538607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28538608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28538609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28538610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28538611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28538612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28538613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28538614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28538615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28538616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28538617, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28539026, 'dashboard_result_id': 17294413, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28539026_14-11-2025_17_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28539062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28539063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28539064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28539065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28539066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28539067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28539068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28539069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28539070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28539071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28539072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28539073, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28539556, 'dashboard_result_id': 17294414, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28539556_14-11-2025_17_54_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28539598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28539599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28539600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28539601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28539602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28539603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28539604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28539605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28539606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28539607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28539608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28539609, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28540905, 'dashboard_result_id': 17294415, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540905_14-11-2025_18_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28540908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28540909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28540910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28540911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28540912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28540913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28540914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28540915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28540916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28540917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28540918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28540919, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28541377, 'dashboard_result_id': 17294416, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28541377_14-11-2025_18_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28541380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28541381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28541382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28541383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28541384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28541385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28541386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28541387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28541388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28541389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28541390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28541391, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28541745, 'dashboard_result_id': 17294417, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28541745_14-11-2025_18_49_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28541761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28541762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28541763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28541764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28541765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28541766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28541767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28541768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28541770, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28541771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28541772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28541773, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28542400, 'dashboard_result_id': 17294418, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28542400_14-11-2025_19_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28542404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28542405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28542407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28542408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28542409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28542410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28542411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28542412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28542413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28542414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28542415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28542416, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28542780, 'dashboard_result_id': 17294419, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28542780_14-11-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28542787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28542788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28542789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28542790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28542791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28542792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28542793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28542794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28542795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28542796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28542797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28542798, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28543357, 'dashboard_result_id': 17294420, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28543357_14-11-2025_19_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28543382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28543383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28543384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28543385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28543386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28543387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28543388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28543389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28543390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28543391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28543392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28543393, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28543927, 'dashboard_result_id': 17294421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28543927_14-11-2025_19_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28543935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28543936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28543937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28543938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28543939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28543940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28543941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28543942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28543944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28543945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28543946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28543947, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28544438, 'dashboard_result_id': 17294422, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28544438_14-11-2025_20_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28544464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28544465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28544466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28544467, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28544468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28544469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28544470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28544471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28544472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28544473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28544474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28544475, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28544931, 'dashboard_result_id': 17294423, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28544931_14-11-2025_20_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28544938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28544940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28544941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28544942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28544943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28544944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28544945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28544946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28544947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28544949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28544950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28544951, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28545641, 'dashboard_result_id': 17294424, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28545641_14-11-2025_20_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28545645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28545646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28545647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28545648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28545649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28545650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28545651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28545652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28545653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28545654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28545655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28545656, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28546062, 'dashboard_result_id': 17294425, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28546062_14-11-2025_21_06_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28546090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28546091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28546092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28546093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28546094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28546095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28546096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28546097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28546098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28546099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28546100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28546101, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28546882, 'dashboard_result_id': 17294426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28546882_14-11-2025_21_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28546886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28546887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28546888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28546889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28546890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28546891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28546892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28546893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28546894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28546895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28546896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28546897, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28547170, 'dashboard_result_id': 17294427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28547170_14-11-2025_21_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28547177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28547178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28547179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28547180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28547181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28547182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28547183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28547184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28547185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28547186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28547187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28547188, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28547636, 'dashboard_result_id': 17294428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28547636_14-11-2025_21_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28547653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28547654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28547655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28547656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28547657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28547658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28547659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28547660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28547661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28547662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28547663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28547664, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28548166, 'dashboard_result_id': 17294429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28548166_14-11-2025_22_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28548191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28548192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28548193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28548194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28548195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28548196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28548197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28548198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28548199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28548200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28548201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28548202, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28548676, 'dashboard_result_id': 17294430, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28548676_14-11-2025_22_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28548693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28548694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28548695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28548696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28548697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28548698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28548699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28548701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28548702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28548703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28548704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28548705, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28549106, 'dashboard_result_id': 17294431, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28549106_14-11-2025_22_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28549131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28549132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28549133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28549134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28549135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28549136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28549137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28549138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28549139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28549140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28549141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28549142, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28549586, 'dashboard_result_id': 17294432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28549586_14-11-2025_22_59_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28549602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28549603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28549604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28549605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28549606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28549607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28549608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28549609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28549610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28549611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28549612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28549613, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28550448, 'dashboard_result_id': 17294433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28550448_14-11-2025_23_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28550451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28550452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28550453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28550454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28550455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28550456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28550457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28550458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28550459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28550460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28550461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28550462, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28551050, 'dashboard_result_id': 17294434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28551050_14-11-2025_23_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28551094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28551095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28551096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28551097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28551098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28551099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28551100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28551101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28551102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28551103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28551104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28551105, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28551646, 'dashboard_result_id': 17294435, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28551646_14-11-2025_23_51_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28551679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28551681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28551682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28551683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28551684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28551685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28551686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28551687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28551688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28551689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28551690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28551691, 'pht': 3726}}"}, {'dashboat_entry_day': 2577932, 'dashboard_run_id': 2594003, 'mtr_portfolio_id': 28552305, 'dashboard_result_id': 17294436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28552305_15-11-2025_02_19_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28552313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28552314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28552315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28552316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28552317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28552318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28552319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28552320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28552321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28552322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28552323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28552324, '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 = 28504025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052329, 'mtr_portfolio_id': 28504025, 'created_at': datetime.datetime(2025, 11, 15, 5, 34, 30), 'result': '0.05302022705959674', 'result_long': None, 'result_double': None}] Qualite : 0.05302022705959674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28504025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28504025_15-11-2025_05_34_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28504025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28504025_15-11-2025_05_34_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28504047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28504048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28504050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28504051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28504052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28504053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28504054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28504055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28504056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28504057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28504058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28504059, 'pht': 3726}}" where mtr_portfolio_id = 28504025 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28504025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294358, 0.05302022705959674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28504025_15-11-2025_05_34_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28504047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28504048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28504050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28504051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28504052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28504053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28504054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28504055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28504056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28504057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28504058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28504059, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28504648 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052330, 'mtr_portfolio_id': 28504648, 'created_at': datetime.datetime(2025, 11, 15, 5, 35), 'result': '0.029397044996053397', 'result_long': None, 'result_double': None}] Qualite : 0.029397044996053397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28504648 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28504648_15-11-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28504648 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28504648_15-11-2025_05_35_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28504652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28504653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28504654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28504655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28504656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28504657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28504658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28504659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28504660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28504661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28504662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28504663, 'pht': 3726}}" where mtr_portfolio_id = 28504648 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28504648 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294359, 0.029397044996053397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28504648_15-11-2025_05_35_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28504652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28504653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28504654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28504655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28504656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28504657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28504658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28504659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28504660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28504661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28504662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28504663, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28505140 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052331, 'mtr_portfolio_id': 28505140, 'created_at': datetime.datetime(2025, 11, 15, 5, 35, 33), 'result': '0.028427374531361193', 'result_long': None, 'result_double': None}] Qualite : 0.028427374531361193 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28505140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28505140_15-11-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28505140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28505140_15-11-2025_05_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28505162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28505163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28505164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28505165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28505166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28505167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28505168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28505169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28505170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28505171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28505173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28505175, 'pht': 3726}}" where mtr_portfolio_id = 28505140 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28505140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294360, 0.028427374531361193, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28505140_15-11-2025_05_35_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28505162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28505163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28505164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28505165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28505166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28505167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28505168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28505169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28505170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28505171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28505173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28505175, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28505764 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052332, 'mtr_portfolio_id': 28505764, 'created_at': datetime.datetime(2025, 11, 15, 5, 35, 30), 'result': '0.058774614602034106', 'result_long': None, 'result_double': None}] Qualite : 0.058774614602034106 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28505764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28505764_15-11-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28505764 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28505764_15-11-2025_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28505805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28505806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28505807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28505808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28505809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28505810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28505811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28505812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28505813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28505814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28505815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28505816, 'pht': 3726}}" where mtr_portfolio_id = 28505764 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28505764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294361, 0.058774614602034106, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28505764_15-11-2025_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28505805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28505806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28505807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28505808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28505809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28505810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28505811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28505812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28505813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28505814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28505815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28505816, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28507316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052333, 'mtr_portfolio_id': 28507316, 'created_at': datetime.datetime(2025, 11, 15, 5, 35, 59), 'result': '0.04992322005212625', 'result_long': None, 'result_double': None}] Qualite : 0.04992322005212625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28507316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507316_15-11-2025_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28507316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507316_15-11-2025_05_36_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28507317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507328, 'pht': 3726}}" where mtr_portfolio_id = 28507316 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28507316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294362, 0.04992322005212625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507316_15-11-2025_05_36_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28507317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507328, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28507473 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052334, 'mtr_portfolio_id': 28507473, 'created_at': datetime.datetime(2025, 11, 15, 5, 36, 8), 'result': '0.04650765438997653', 'result_long': None, 'result_double': None}] Qualite : 0.04650765438997653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28507473 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507473_15-11-2025_05_36_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28507473 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507473_15-11-2025_05_36_11.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28507486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507487, 'pht': 3726}}" where mtr_portfolio_id = 28507473 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28507473 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294363, 0.04650765438997653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507473_15-11-2025_05_36_11.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28507486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28507781 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052335, 'mtr_portfolio_id': 28507781, 'created_at': datetime.datetime(2025, 11, 15, 5, 36, 32), 'result': '0.075315275153753', 'result_long': None, 'result_double': None}] Qualite : 0.075315275153753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28507781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507781_15-11-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28507781 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507781_15-11-2025_05_36_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28507794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507799, 'pht': 3726}}" where mtr_portfolio_id = 28507781 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28507781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294364, 0.075315275153753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28507781_15-11-2025_05_36_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28507788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28507789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28507790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28507791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28507792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28507793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28507794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28507795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28507796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28507797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28507798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28507799, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28508415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052336, 'mtr_portfolio_id': 28508415, 'created_at': datetime.datetime(2025, 11, 15, 5, 37), 'result': '0.042436246027215824', 'result_long': None, 'result_double': None}] Qualite : 0.042436246027215824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28508415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28508415_15-11-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28508415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28508415_15-11-2025_05_37_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28508425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28508426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28508427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28508428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28508429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28508430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28508431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28508432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28508433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28508434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28508435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28508436, 'pht': 3726}}" where mtr_portfolio_id = 28508415 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28508415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294365, 0.042436246027215824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28508415_15-11-2025_05_37_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28508425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28508426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28508427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28508428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28508429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28508430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28508431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28508432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28508433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28508434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28508435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28508436, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28508891 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052337, 'mtr_portfolio_id': 28508891, 'created_at': datetime.datetime(2025, 11, 15, 5, 37, 32), 'result': '0.06742428035289565', 'result_long': None, 'result_double': None}] Qualite : 0.06742428035289565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28508891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28508891_15-11-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28508891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28508891_15-11-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28508900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28508901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28508902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28508903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28508904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28508905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28508906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28508907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28508908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28508909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28508910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28508911, 'pht': 3726}}" where mtr_portfolio_id = 28508891 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28508891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294366, 0.06742428035289565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28508891_15-11-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28508900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28508901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28508902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28508903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28508904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28508905, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28508906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28508907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28508908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28508909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28508910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28508911, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28509308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052338, 'mtr_portfolio_id': 28509308, 'created_at': datetime.datetime(2025, 11, 15, 5, 37, 30), 'result': '0.047470908125171574', 'result_long': None, 'result_double': None}] Qualite : 0.047470908125171574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28509308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28509308_15-11-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28509308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28509308_15-11-2025_05_37_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28509334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28509335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28509336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28509337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28509338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28509339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28509340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28509341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28509342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28509343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28509344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28509345, 'pht': 3726}}" where mtr_portfolio_id = 28509308 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28509308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294367, 0.047470908125171574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28509308_15-11-2025_05_37_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28509334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28509335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28509336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28509337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28509338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28509339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28509340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28509341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28509342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28509343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28509344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28509345, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28509755 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052339, 'mtr_portfolio_id': 28509755, 'created_at': datetime.datetime(2025, 11, 15, 5, 37, 59), 'result': '0.0407378005175998', 'result_long': None, 'result_double': None}] Qualite : 0.0407378005175998 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28509755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28509755_15-11-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28509755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28509755_15-11-2025_05_38_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28509765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28509766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28509767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28509768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28509769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28509770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28509771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28509772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28509773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28509774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28509775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28509776, 'pht': 3726}}" where mtr_portfolio_id = 28509755 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28509755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294368, 0.0407378005175998, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28509755_15-11-2025_05_38_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28509765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28509766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28509767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28509768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28509769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28509770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28509771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28509772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28509773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28509774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28509775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28509776, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28510403 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052340, 'mtr_portfolio_id': 28510403, 'created_at': datetime.datetime(2025, 11, 15, 5, 38, 29), 'result': '0.05003296708169255', 'result_long': None, 'result_double': None}] Qualite : 0.05003296708169255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28510403 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28510403_15-11-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28510403 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28510403_15-11-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28510412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28510413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28510414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28510415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28510416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28510417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28510418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28510419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28510420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28510421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28510422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28510423, 'pht': 3726}}" where mtr_portfolio_id = 28510403 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28510403 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294369, 0.05003296708169255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28510403_15-11-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28510412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28510413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28510414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28510415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28510416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28510417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28510418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28510419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28510420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28510421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28510422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28510423, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28510787 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052341, 'mtr_portfolio_id': 28510787, 'created_at': datetime.datetime(2025, 11, 15, 5, 38, 59), 'result': '0.05313524868304918', 'result_long': None, 'result_double': None}] Qualite : 0.05313524868304918 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28510787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28510787_15-11-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28510787 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28510787_15-11-2025_05_39_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28510820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28510821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28510822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28510823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28510824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28510825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28510826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28510827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28510828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28510829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28510830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28510831, 'pht': 3726}}" where mtr_portfolio_id = 28510787 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28510787 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294370, 0.05313524868304918, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28510787_15-11-2025_05_39_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28510820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28510821, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28510822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28510823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28510824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28510825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28510826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28510827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28510828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28510829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28510830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28510831, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28511242 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052342, 'mtr_portfolio_id': 28511242, 'created_at': datetime.datetime(2025, 11, 15, 5, 39, 27), 'result': '0.04199554305628836', 'result_long': None, 'result_double': None}] Qualite : 0.04199554305628836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28511242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28511242_15-11-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28511242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28511242_15-11-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28511246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28511247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28511248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28511249, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28511250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28511251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28511252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28511253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28511254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28511255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28511256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28511257, 'pht': 3726}}" where mtr_portfolio_id = 28511242 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28511242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294371, 0.04199554305628836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28511242_15-11-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28511246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28511247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28511248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28511249, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28511250, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28511251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28511252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28511253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28511254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28511255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28511256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28511257, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28511755 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052343, 'mtr_portfolio_id': 28511755, 'created_at': datetime.datetime(2025, 11, 15, 5, 39, 28), 'result': '0.053265030714923424', 'result_long': None, 'result_double': None}] Qualite : 0.053265030714923424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28511755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28511755_15-11-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28511755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28511755_15-11-2025_05_39_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28511767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28511768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28511769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28511770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28511771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28511772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28511773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28511774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28511775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28511776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28511777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28511778, 'pht': 3726}}" where mtr_portfolio_id = 28511755 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28511755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294372, 0.053265030714923424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28511755_15-11-2025_05_39_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28511767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28511768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28511769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28511770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28511771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28511772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28511773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28511774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28511775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28511776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28511777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28511778, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28512579 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052344, 'mtr_portfolio_id': 28512579, 'created_at': datetime.datetime(2025, 11, 15, 5, 39, 56), 'result': '0.07849929464211021', 'result_long': None, 'result_double': None}] Qualite : 0.07849929464211021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28512579 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28512579_15-11-2025_05_39_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28512579 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28512579_15-11-2025_05_39_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28512583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28512584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28512585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28512586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28512587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28512588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28512589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28512590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28512591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28512592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28512593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28512594, 'pht': 3726}}" where mtr_portfolio_id = 28512579 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28512579 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294373, 0.07849929464211021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28512579_15-11-2025_05_39_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28512583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28512584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28512585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28512586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28512587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28512588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28512589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28512590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28512591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28512592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28512593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28512594, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28512841 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052345, 'mtr_portfolio_id': 28512841, 'created_at': datetime.datetime(2025, 11, 15, 5, 40, 31), 'result': '0.04258513102699804', 'result_long': None, 'result_double': None}] Qualite : 0.04258513102699804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28512841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28512841_15-11-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28512841 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28512841_15-11-2025_05_40_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28512845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28512846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28512847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28512848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28512849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28512850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28512851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28512852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28512853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28512854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28512855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28512856, 'pht': 3726}}" where mtr_portfolio_id = 28512841 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28512841 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294374, 0.04258513102699804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28512841_15-11-2025_05_40_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28512845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28512846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28512847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28512848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28512849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28512850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28512851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28512852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28512853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28512854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28512855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28512856, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28513210 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052346, 'mtr_portfolio_id': 28513210, 'created_at': datetime.datetime(2025, 11, 15, 5, 41), 'result': '0.06439396303869123', 'result_long': None, 'result_double': None}] Qualite : 0.06439396303869123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28513210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28513210_15-11-2025_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28513210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28513210_15-11-2025_05_41_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28513213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28513214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28513215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28513216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28513217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28513218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28513219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28513220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28513221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28513222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28513223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28513224, 'pht': 3726}}" where mtr_portfolio_id = 28513210 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28513210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294375, 0.06439396303869123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28513210_15-11-2025_05_41_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28513213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28513214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28513215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28513216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28513217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28513218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28513219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28513220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28513221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28513222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28513223, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28513224, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28513700 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052347, 'mtr_portfolio_id': 28513700, 'created_at': datetime.datetime(2025, 11, 15, 5, 41, 13), 'result': '0.04898936114460869', 'result_long': None, 'result_double': None}] Qualite : 0.04898936114460869 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28513700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28513700_15-11-2025_05_41_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28513700 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28513700_15-11-2025_05_41_15.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28513705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28513706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28513707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28513708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28513709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28513710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28513711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28513712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28513713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28513714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28513715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28513716, 'pht': 3726}}" where mtr_portfolio_id = 28513700 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28513700 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294376, 0.04898936114460869, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28513700_15-11-2025_05_41_15.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28513705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28513706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28513707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28513708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28513709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28513710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28513711, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28513712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28513713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28513714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28513715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28513716, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28514065 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052348, 'mtr_portfolio_id': 28514065, 'created_at': datetime.datetime(2025, 11, 15, 5, 41, 32), 'result': '0.03716394071638359', 'result_long': None, 'result_double': None}] Qualite : 0.03716394071638359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28514065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28514065_15-11-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28514065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28514065_15-11-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28514069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28514070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28514071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28514072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28514073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28514074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28514075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28514076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28514077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28514078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28514079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28514080, 'pht': 3726}}" where mtr_portfolio_id = 28514065 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28514065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294377, 0.03716394071638359, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28514065_15-11-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28514069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28514070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28514071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28514072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28514073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28514074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28514075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28514076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28514077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28514078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28514079, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28514080, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28514662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052349, 'mtr_portfolio_id': 28514662, 'created_at': datetime.datetime(2025, 11, 15, 5, 41, 29), 'result': '0.05281671668809159', 'result_long': None, 'result_double': None}] Qualite : 0.05281671668809159 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28514662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28514662_15-11-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28514662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28514662_15-11-2025_05_41_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28514700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28514701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28514702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28514703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28514704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28514705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28514706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28514707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28514708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28514709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28514710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28514711, 'pht': 3726}}" where mtr_portfolio_id = 28514662 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28514662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294378, 0.05281671668809159, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28514662_15-11-2025_05_41_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28514700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28514701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28514702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28514703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28514704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28514705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28514706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28514707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28514708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28514709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28514710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28514711, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28515109 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052350, 'mtr_portfolio_id': 28515109, 'created_at': datetime.datetime(2025, 11, 15, 5, 41, 59), 'result': '0.0385559208676523', 'result_long': None, 'result_double': None}] Qualite : 0.0385559208676523 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28515109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515109_15-11-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28515109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515109_15-11-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28515122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515127, 'pht': 3726}}" where mtr_portfolio_id = 28515109 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28515109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294379, 0.0385559208676523, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515109_15-11-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28515122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515127, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28515499 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052351, 'mtr_portfolio_id': 28515499, 'created_at': datetime.datetime(2025, 11, 15, 5, 42, 29), 'result': '0.043875301524015316', 'result_long': None, 'result_double': None}] Qualite : 0.043875301524015316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28515499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515499_15-11-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28515499 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515499_15-11-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28515500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515511, 'pht': 3726}}" where mtr_portfolio_id = 28515499 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28515499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294380, 0.043875301524015316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515499_15-11-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28515500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515511, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28515934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052352, 'mtr_portfolio_id': 28515934, 'created_at': datetime.datetime(2025, 11, 15, 5, 42, 59), 'result': '0.047187275029648916', 'result_long': None, 'result_double': None}] Qualite : 0.047187275029648916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28515934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515934_15-11-2025_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28515934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515934_15-11-2025_05_43_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28515989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515991, 'pht': 3726}}" where mtr_portfolio_id = 28515934 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28515934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294381, 0.047187275029648916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28515934_15-11-2025_05_43_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28515980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28515981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28515982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28515983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28515984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28515985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28515986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28515987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28515988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28515989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28515990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28515991, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28516710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052353, 'mtr_portfolio_id': 28516710, 'created_at': datetime.datetime(2025, 11, 15, 5, 43, 31), 'result': '0.03923626154775399', 'result_long': None, 'result_double': None}] Qualite : 0.03923626154775399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28516710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28516710_14-11-2025_07_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28516710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28516710_14-11-2025_07_32_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28516788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28516790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28516791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28516792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28516794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28516795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28516796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28516798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28516799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28516800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28516802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28516803, 'pht': 3726}}" where mtr_portfolio_id = 28516710 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28516710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294382, 0.03923626154775399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28516710_14-11-2025_07_32_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28516788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28516790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28516791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28516792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28516794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28516795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28516796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28516798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28516799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28516800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28516802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28516803, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28517657 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052354, 'mtr_portfolio_id': 28517657, 'created_at': datetime.datetime(2025, 11, 15, 5, 43, 28), 'result': '0.03781183449810953', 'result_long': None, 'result_double': None}] Qualite : 0.03781183449810953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28517657 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28517657_15-11-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28517657 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28517657_15-11-2025_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28517662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28517663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28517664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28517665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28517666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28517667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28517668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28517669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28517670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28517671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28517672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28517673, 'pht': 3726}}" where mtr_portfolio_id = 28517657 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28517657 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294383, 0.03781183449810953, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28517657_15-11-2025_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28517662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28517663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28517664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28517665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28517666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28517667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28517668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28517669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28517670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28517671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28517672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28517673, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28518111 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052355, 'mtr_portfolio_id': 28518111, 'created_at': datetime.datetime(2025, 11, 15, 5, 43, 59), 'result': '0.029536799463999352', 'result_long': None, 'result_double': None}] Qualite : 0.029536799463999352 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28518111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518111_15-11-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28518111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518111_15-11-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28518154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28518155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28518156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28518157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28518158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28518159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28518160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28518162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28518163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28518164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28518165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28518166, 'pht': 3726}}" where mtr_portfolio_id = 28518111 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28518111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294384, 0.029536799463999352, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518111_15-11-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28518154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28518155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28518156, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28518157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28518158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28518159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28518160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28518162, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28518163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28518164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28518165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28518166, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28518734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052356, 'mtr_portfolio_id': 28518734, 'created_at': datetime.datetime(2025, 11, 15, 5, 44, 30), 'result': '0.06712203969690358', 'result_long': None, 'result_double': None}] Qualite : 0.06712203969690358 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28518734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518734_15-11-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28518734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518734_15-11-2025_05_44_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28518809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28518810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28518811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28518812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28518813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28518814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28518815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28518816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28518817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28518818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28518819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28518820, 'pht': 3726}}" where mtr_portfolio_id = 28518734 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28518734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294385, 0.06712203969690358, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28518734_15-11-2025_05_44_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28518809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28518810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28518811, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28518812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28518813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28518814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28518815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28518816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28518817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28518818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28518819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28518820, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28519463 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052357, 'mtr_portfolio_id': 28519463, 'created_at': datetime.datetime(2025, 11, 15, 5, 44, 56), 'result': '0.0697201837164822', 'result_long': None, 'result_double': None}] Qualite : 0.0697201837164822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28519463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28519463_15-11-2025_05_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28519463 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28519463_15-11-2025_05_44_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28519505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28519506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28519507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28519508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28519509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28519510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28519511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28519512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28519513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28519514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28519515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28519516, 'pht': 3726}}" where mtr_portfolio_id = 28519463 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28519463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294386, 0.0697201837164822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28519463_15-11-2025_05_44_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28519505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28519506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28519507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28519508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28519509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28519510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28519511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28519512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28519513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28519514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28519515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28519516, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28520133 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052358, 'mtr_portfolio_id': 28520133, 'created_at': datetime.datetime(2025, 11, 15, 5, 45, 27), 'result': '0.056250983619067545', 'result_long': None, 'result_double': None}] Qualite : 0.056250983619067545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28520133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520133_14-11-2025_08_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28520133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520133_14-11-2025_08_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28520165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28520166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28520167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28520168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28520169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28520170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28520171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28520172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28520173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28520174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28520175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28520176, 'pht': 3726}}" where mtr_portfolio_id = 28520133 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28520133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294387, 0.056250983619067545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520133_14-11-2025_08_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28520165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28520166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28520167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28520168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28520169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28520170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28520171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28520172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28520173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28520174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28520175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28520176, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28520950 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4052359, 'mtr_portfolio_id': 28520950, 'created_at': datetime.datetime(2025, 11, 15, 5, 45, 30), 'result': '0.066598235774505', 'result_long': None, 'result_double': None}] Qualite : 0.066598235774505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28520950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520950_15-11-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28520950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520950_15-11-2025_05_45_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28520997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28520998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28520999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28521000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28521001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28521002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28521003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28521004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28521005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28521006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28521007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28521008, 'pht': 3726}}" where mtr_portfolio_id = 28520950 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28520950 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294388, 0.066598235774505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28520950_15-11-2025_05_45_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28520997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28520998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28520999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28521000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28521001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28521002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28521003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28521004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28521005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28521006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28521007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28521008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28522900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4045920, 'mtr_portfolio_id': 28522900, 'created_at': datetime.datetime(2025, 11, 14, 9, 47), 'result': '0.04915416585213224', 'result_long': None, 'result_double': None}] Qualite : 0.04915416585213224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28522900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28522900_14-11-2025_09_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28522900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28522900_14-11-2025_09_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28522906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28522907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28522908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28522909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28522910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28522911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28522912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28522913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28522914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28522915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28522916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28522917, 'pht': 3726}}" where mtr_portfolio_id = 28522900 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28522900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294389, 0.04915416585213224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28522900_14-11-2025_09_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28522906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28522907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28522908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28522909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28522910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28522911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28522912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28522913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28522914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28522915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28522916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28522917, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28523481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4045967, 'mtr_portfolio_id': 28523481, 'created_at': datetime.datetime(2025, 11, 14, 10, 2, 59), 'result': '0.0415121541040781', 'result_long': None, 'result_double': None}] Qualite : 0.0415121541040781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28523481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28523481_14-11-2025_10_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28523481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28523481_14-11-2025_10_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28523518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28523519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28523520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28523521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28523522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28523523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28523524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28523525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28523526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28523527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28523528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28523529, 'pht': 3726}}" where mtr_portfolio_id = 28523481 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28523481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294390, 0.0415121541040781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28523481_14-11-2025_10_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28523518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28523519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28523520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28523521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28523522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28523523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28523524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28523525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28523526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28523527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28523528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28523529, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28524276 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046067, 'mtr_portfolio_id': 28524276, 'created_at': datetime.datetime(2025, 11, 14, 10, 18, 59), 'result': '0.049010130812033224', 'result_long': None, 'result_double': None}] Qualite : 0.049010130812033224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28524276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28524276_14-11-2025_10_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28524276 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28524276_14-11-2025_10_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28524326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28524327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28524328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28524329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28524330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28524331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28524332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28524333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28524334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28524335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28524336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28524337, 'pht': 3726}}" where mtr_portfolio_id = 28524276 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28524276 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294391, 0.049010130812033224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28524276_14-11-2025_10_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28524326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28524327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28524328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28524329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28524330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28524331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28524332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28524333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28524334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28524335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28524336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28524337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28525320 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046146, 'mtr_portfolio_id': 28525320, 'created_at': datetime.datetime(2025, 11, 14, 10, 32, 59), 'result': '0.043722390369706286', 'result_long': None, 'result_double': None}] Qualite : 0.043722390369706286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28525320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28525320_14-11-2025_10_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28525320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28525320_14-11-2025_10_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28525368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28525369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28525370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28525371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28525372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28525373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28525374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28525375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28525376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28525377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28525378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28525379, 'pht': 3726}}" where mtr_portfolio_id = 28525320 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28525320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294392, 0.043722390369706286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28525320_14-11-2025_10_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28525368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28525369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28525370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28525371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28525372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28525373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28525374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28525375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28525376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28525377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28525378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28525379, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28526009 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046221, 'mtr_portfolio_id': 28526009, 'created_at': datetime.datetime(2025, 11, 14, 10, 47), 'result': '0.031035291806945316', 'result_long': None, 'result_double': None}] Qualite : 0.031035291806945316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28526009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28526009_14-11-2025_10_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28526009 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28526009_14-11-2025_10_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28526091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28526092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28526093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28526094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28526095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28526096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28526097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28526098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28526099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28526100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28526101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28526102, 'pht': 3726}}" where mtr_portfolio_id = 28526009 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28526009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294393, 0.031035291806945316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28526009_14-11-2025_10_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28526091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28526092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28526093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28526094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28526095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28526096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28526097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28526098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28526099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28526100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28526101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28526102, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28526684 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046299, 'mtr_portfolio_id': 28526684, 'created_at': datetime.datetime(2025, 11, 14, 11, 4, 29), 'result': '0.07598564903223892', 'result_long': None, 'result_double': None}] Qualite : 0.07598564903223892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28526684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28526684_14-11-2025_11_04_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28526684 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28526684_14-11-2025_11_04_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28526736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28526737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28526738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28526739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28526740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28526741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28526742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28526743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28526744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28526745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28526746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28526747, 'pht': 3726}}" where mtr_portfolio_id = 28526684 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28526684 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294394, 0.07598564903223892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28526684_14-11-2025_11_04_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28526736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28526737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28526738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28526739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28526740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28526741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28526742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28526743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28526744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28526745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28526746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28526747, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28527312 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046398, 'mtr_portfolio_id': 28527312, 'created_at': datetime.datetime(2025, 11, 14, 11, 16, 58), 'result': '0.04503341800964791', 'result_long': None, 'result_double': None}] Qualite : 0.04503341800964791 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28527312 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28527312_14-11-2025_11_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28527312 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28527312_14-11-2025_11_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28527383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28527384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28527385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28527386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28527387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28527388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28527389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28527390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28527391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28527392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28527393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28527394, 'pht': 3726}}" where mtr_portfolio_id = 28527312 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28527312 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294395, 0.04503341800964791, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28527312_14-11-2025_11_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28527383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28527384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28527385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28527386, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28527387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28527388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28527389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28527390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28527391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28527392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28527393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28527394, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28528168 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046480, 'mtr_portfolio_id': 28528168, 'created_at': datetime.datetime(2025, 11, 14, 11, 32, 58), 'result': '0.05561770882760546', 'result_long': None, 'result_double': None}] Qualite : 0.05561770882760546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28528168 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28528168_14-11-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28528168 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28528168_14-11-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28528212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28528213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28528214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28528215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28528216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28528217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28528218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28528219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28528220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28528221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28528222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28528223, 'pht': 3726}}" where mtr_portfolio_id = 28528168 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28528168 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294396, 0.05561770882760546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28528168_14-11-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28528212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28528213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28528214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28528215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28528216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28528217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28528218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28528219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28528220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28528221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28528222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28528223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28529089 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046588, 'mtr_portfolio_id': 28529089, 'created_at': datetime.datetime(2025, 11, 14, 11, 46, 56), 'result': '0.06016940669994798', 'result_long': None, 'result_double': None}] Qualite : 0.06016940669994798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28529089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28529089_14-11-2025_11_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28529089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28529089_14-11-2025_11_46_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28529109, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28529110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28529111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28529112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28529113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28529114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28529115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28529116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28529117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28529118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28529119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28529120, 'pht': 3726}}" where mtr_portfolio_id = 28529089 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28529089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294397, 0.06016940669994798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28529089_14-11-2025_11_46_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28529109, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28529110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28529111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28529112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28529113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28529114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28529115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28529116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28529117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28529118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28529119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28529120, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28529948 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046717, 'mtr_portfolio_id': 28529948, 'created_at': datetime.datetime(2025, 11, 14, 12, 3, 28), 'result': '0.04892202747289102', 'result_long': None, 'result_double': None}] Qualite : 0.04892202747289102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28529948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28529948_14-11-2025_12_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28529948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28529948_14-11-2025_12_03_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28529991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28529992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28529993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28529994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28529995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28529996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28529997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28529998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28529999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28530000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28530001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28530002, 'pht': 3726}}" where mtr_portfolio_id = 28529948 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28529948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294398, 0.04892202747289102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28529948_14-11-2025_12_03_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28529991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28529992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28529993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28529994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28529995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28529996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28529997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28529998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28529999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28530000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28530001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28530002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28530646 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4046812, 'mtr_portfolio_id': 28530646, 'created_at': datetime.datetime(2025, 11, 14, 12, 36, 59), 'result': '0.03994541060018897', 'result_long': None, 'result_double': None}] Qualite : 0.03994541060018897 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28530646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28530646_14-11-2025_12_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28530646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28530646_14-11-2025_12_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28530655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28530656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28530657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28530658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28530659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28530660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28530661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28530662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28530663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28530664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28530665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28530666, 'pht': 3726}}" where mtr_portfolio_id = 28530646 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28530646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294399, 0.03994541060018897, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28530646_14-11-2025_12_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28530655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28530656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28530657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28530658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28530659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28530660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28530661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28530662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28530663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28530664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28530665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28530666, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28531845 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28531845 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28531845 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28531845 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28531845 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28531845 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28531845_14-11-2025_14_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28531845 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28531845_14-11-2025_14_06_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28531847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28531848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28531849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28531850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28531851, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28531852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28531853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28531854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28531855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28531856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28531857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28531858, 'pht': 3726}}" where mtr_portfolio_id = 28531845 and dashboard_run_id = 2594003 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28531910 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28531910 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28531910 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28531910 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28531910 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28531910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28531910_14-11-2025_14_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28531910 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28531910_14-11-2025_14_18_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28531946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28531947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28531948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28531949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28531950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28531951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28531952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28531953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28531954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28531955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28531956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28531957, 'pht': 3726}}" where mtr_portfolio_id = 28531910 and dashboard_run_id = 2594003 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532098 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532098 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28532098 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532098 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532098 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28532098 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532098_14-11-2025_14_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28532098 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532098_14-11-2025_14_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28532111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28532112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28532113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28532114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28532115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28532116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28532117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28532118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28532119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28532120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28532121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28532122, 'pht': 3726}}" where mtr_portfolio_id = 28532098 and dashboard_run_id = 2594003 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532395 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532395 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28532395 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532395 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532395 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28532395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532395_14-11-2025_14_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28532395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532395_14-11-2025_14_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28532404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28532405, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28532406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28532407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28532408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28532409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28532410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28532411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28532412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28532413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28532414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28532415, 'pht': 3726}}" where mtr_portfolio_id = 28532395 and dashboard_run_id = 2594003 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28532777 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4047872, 'mtr_portfolio_id': 28532777, 'created_at': datetime.datetime(2025, 11, 14, 15, 4, 58), 'result': '0.08848237824000353', 'result_long': None, 'result_double': None}] Qualite : 0.08848237824000353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28532777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532777_14-11-2025_15_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28532777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532777_14-11-2025_15_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28532790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28532791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28532792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28532793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28532794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28532795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28532796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28532797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28532798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28532799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28532800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28532801, 'pht': 3726}}" where mtr_portfolio_id = 28532777 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28532777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294404, 0.08848237824000353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28532777_14-11-2025_15_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28532790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28532791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28532792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28532793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28532794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28532795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28532796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28532797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28532798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28532799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28532800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28532801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28533543 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4048198, 'mtr_portfolio_id': 28533543, 'created_at': datetime.datetime(2025, 11, 14, 15, 16, 58), 'result': '0.058365408862735495', 'result_long': None, 'result_double': None}] Qualite : 0.058365408862735495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28533543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28533543_14-11-2025_15_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28533543 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28533543_14-11-2025_15_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28533590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28533591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28533592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28533593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28533594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28533595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28533596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28533597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28533598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28533599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28533600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28533601, 'pht': 3726}}" where mtr_portfolio_id = 28533543 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28533543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294405, 0.058365408862735495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28533543_14-11-2025_15_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28533590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28533591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28533592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28533593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28533594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28533595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28533596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28533597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28533598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28533599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28533600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28533601, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28534450 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4048520, 'mtr_portfolio_id': 28534450, 'created_at': datetime.datetime(2025, 11, 14, 15, 32, 56), 'result': '0.04400347877194321', 'result_long': None, 'result_double': None}] Qualite : 0.04400347877194321 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28534450 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28534450_14-11-2025_15_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28534450 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28534450_14-11-2025_15_32_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28534490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28534491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28534492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28534493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28534494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28534495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28534496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28534497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28534498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28534499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28534500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28534501, 'pht': 3726}}" where mtr_portfolio_id = 28534450 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28534450 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294406, 0.04400347877194321, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28534450_14-11-2025_15_32_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28534490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28534491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28534492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28534493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28534494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28534495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28534496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28534497, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28534498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28534499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28534500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28534501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28535230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4048782, 'mtr_portfolio_id': 28535230, 'created_at': datetime.datetime(2025, 11, 14, 15, 46, 58), 'result': '0.03725112151311155', 'result_long': None, 'result_double': None}] Qualite : 0.03725112151311155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28535230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28535230_14-11-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28535230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28535230_14-11-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28535292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28535293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28535294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28535295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28535296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28535297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28535298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28535299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28535300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28535301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28535302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28535303, 'pht': 3726}}" where mtr_portfolio_id = 28535230 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28535230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294407, 0.03725112151311155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28535230_14-11-2025_15_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28535292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28535293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28535294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28535295, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28535296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28535297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28535298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28535299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28535300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28535301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28535302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28535303, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28535809 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4048941, 'mtr_portfolio_id': 28535809, 'created_at': datetime.datetime(2025, 11, 14, 16, 5), 'result': '0.037197282129831005', 'result_long': None, 'result_double': None}] Qualite : 0.037197282129831005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28535809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28535809_14-11-2025_16_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28535809 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28535809_14-11-2025_16_05_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28535864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28535865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28535866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28535867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28535868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28535869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28535870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28535871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28535872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28535873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28535874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28535875, 'pht': 3726}}" where mtr_portfolio_id = 28535809 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28535809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294408, 0.037197282129831005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28535809_14-11-2025_16_05_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28535864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28535865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28535866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28535867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28535868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28535869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28535870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28535871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28535872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28535873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28535874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28535875, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28536747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049127, 'mtr_portfolio_id': 28536747, 'created_at': datetime.datetime(2025, 11, 14, 16, 16, 57), 'result': '0.042237133831310204', 'result_long': None, 'result_double': None}] Qualite : 0.042237133831310204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28536747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28536747_14-11-2025_16_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28536747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28536747_14-11-2025_16_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28536785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28536786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28536787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28536788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28536789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28536790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28536791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28536792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28536793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28536794, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28536795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28536796, 'pht': 3726}}" where mtr_portfolio_id = 28536747 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28536747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294409, 0.042237133831310204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28536747_14-11-2025_16_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28536785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28536786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28536787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28536788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28536789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28536790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28536791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28536792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28536793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28536794, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28536795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28536796, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28537308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049220, 'mtr_portfolio_id': 28537308, 'created_at': datetime.datetime(2025, 11, 14, 16, 32, 59), 'result': '0.04277451634815516', 'result_long': None, 'result_double': None}] Qualite : 0.04277451634815516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28537308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28537308_14-11-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28537308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28537308_14-11-2025_16_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28537358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28537359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28537360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28537361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28537362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28537363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28537364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28537365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28537366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28537367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28537368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28537369, 'pht': 3726}}" where mtr_portfolio_id = 28537308 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28537308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294410, 0.04277451634815516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28537308_14-11-2025_16_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28537358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28537359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28537360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28537361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28537362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28537363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28537364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28537365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28537366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28537367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28537368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28537369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28537945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049283, 'mtr_portfolio_id': 28537945, 'created_at': datetime.datetime(2025, 11, 14, 16, 48, 59), 'result': '0.05227677841175051', 'result_long': None, 'result_double': None}] Qualite : 0.05227677841175051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28537945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28537945_14-11-2025_16_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28537945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28537945_14-11-2025_16_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28537978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28537979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28537980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28537981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28537982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28537983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28537984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28537985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28537986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28537987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28537988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28537989, 'pht': 3726}}" where mtr_portfolio_id = 28537945 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28537945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294411, 0.05227677841175051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28537945_14-11-2025_16_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28537978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28537979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28537980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28537981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28537982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28537983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28537984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28537985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28537986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28537987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28537988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28537989, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28538597 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049377, 'mtr_portfolio_id': 28538597, 'created_at': datetime.datetime(2025, 11, 14, 17, 2, 58), 'result': '0.053975584805261', 'result_long': None, 'result_double': None}] Qualite : 0.053975584805261 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28538597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28538597_14-11-2025_17_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28538597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28538597_14-11-2025_17_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28538606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28538607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28538608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28538609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28538610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28538611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28538612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28538613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28538614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28538615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28538616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28538617, 'pht': 3726}}" where mtr_portfolio_id = 28538597 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28538597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294412, 0.053975584805261, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28538597_14-11-2025_17_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28538606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28538607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28538608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28538609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28538610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28538611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28538612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28538613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28538614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28538615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28538616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28538617, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28539026 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049454, 'mtr_portfolio_id': 28539026, 'created_at': datetime.datetime(2025, 11, 14, 17, 16, 57), 'result': '0.05240821427488009', 'result_long': None, 'result_double': None}] Qualite : 0.05240821427488009 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28539026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28539026_14-11-2025_17_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28539026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28539026_14-11-2025_17_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28539062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28539063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28539064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28539065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28539066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28539067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28539068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28539069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28539070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28539071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28539072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28539073, 'pht': 3726}}" where mtr_portfolio_id = 28539026 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28539026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294413, 0.05240821427488009, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28539026_14-11-2025_17_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28539062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28539063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28539064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28539065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28539066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28539067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28539068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28539069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28539070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28539071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28539072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28539073, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28539556 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049528, 'mtr_portfolio_id': 28539556, 'created_at': datetime.datetime(2025, 11, 14, 17, 54, 59), 'result': '0.05230780065236461', 'result_long': None, 'result_double': None}] Qualite : 0.05230780065236461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28539556 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28539556_14-11-2025_17_54_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28539556 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28539556_14-11-2025_17_54_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28539598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28539599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28539600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28539601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28539602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28539603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28539604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28539605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28539606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28539607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28539608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28539609, 'pht': 3726}}" where mtr_portfolio_id = 28539556 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28539556 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294414, 0.05230780065236461, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28539556_14-11-2025_17_54_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28539598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28539599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28539600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28539601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28539602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28539603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28539604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28539605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28539606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28539607, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28539608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28539609, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28540905 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049716, 'mtr_portfolio_id': 28540905, 'created_at': datetime.datetime(2025, 11, 14, 18, 18, 59), 'result': '0.051935651890104635', 'result_long': None, 'result_double': None}] Qualite : 0.051935651890104635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28540905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540905_14-11-2025_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28540905 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540905_14-11-2025_18_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28540908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28540909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28540910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28540911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28540912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28540913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28540914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28540915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28540916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28540917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28540918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28540919, 'pht': 3726}}" where mtr_portfolio_id = 28540905 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28540905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294415, 0.051935651890104635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28540905_14-11-2025_18_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28540908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28540909, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28540910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28540911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28540912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28540913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28540914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28540915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28540916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28540917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28540918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28540919, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28541377 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049750, 'mtr_portfolio_id': 28541377, 'created_at': datetime.datetime(2025, 11, 14, 18, 32, 59), 'result': '0.04492897412312507', 'result_long': None, 'result_double': None}] Qualite : 0.04492897412312507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28541377 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28541377_14-11-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28541377 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28541377_14-11-2025_18_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28541380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28541381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28541382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28541383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28541384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28541385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28541386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28541387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28541388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28541389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28541390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28541391, 'pht': 3726}}" where mtr_portfolio_id = 28541377 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28541377 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294416, 0.04492897412312507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28541377_14-11-2025_18_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28541380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28541381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28541382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28541383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28541384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28541385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28541386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28541387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28541388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28541389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28541390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28541391, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28541745 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049794, 'mtr_portfolio_id': 28541745, 'created_at': datetime.datetime(2025, 11, 14, 18, 49, 30), 'result': '0.03389527565446223', 'result_long': None, 'result_double': None}] Qualite : 0.03389527565446223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28541745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28541745_14-11-2025_18_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28541745 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28541745_14-11-2025_18_49_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28541761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28541762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28541763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28541764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28541765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28541766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28541767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28541768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28541770, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28541771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28541772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28541773, 'pht': 3726}}" where mtr_portfolio_id = 28541745 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28541745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294417, 0.03389527565446223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28541745_14-11-2025_18_49_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28541761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28541762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28541763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28541764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28541765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28541766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28541767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28541768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28541770, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28541771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28541772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28541773, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28542400 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049872, 'mtr_portfolio_id': 28542400, 'created_at': datetime.datetime(2025, 11, 14, 19, 4, 59), 'result': '0.030329010104803617', 'result_long': None, 'result_double': None}] Qualite : 0.030329010104803617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28542400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28542400_14-11-2025_19_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28542400 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28542400_14-11-2025_19_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28542404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28542405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28542407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28542408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28542409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28542410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28542411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28542412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28542413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28542414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28542415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28542416, 'pht': 3726}}" where mtr_portfolio_id = 28542400 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28542400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294418, 0.030329010104803617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28542400_14-11-2025_19_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28542404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28542405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28542407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28542408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28542409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28542410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28542411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28542412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28542413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28542414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28542415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28542416, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28542780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4049939, 'mtr_portfolio_id': 28542780, 'created_at': datetime.datetime(2025, 11, 14, 19, 16, 59), 'result': '0.0452089471256184', 'result_long': None, 'result_double': None}] Qualite : 0.0452089471256184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28542780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28542780_14-11-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28542780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28542780_14-11-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28542787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28542788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28542789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28542790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28542791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28542792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28542793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28542794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28542795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28542796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28542797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28542798, 'pht': 3726}}" where mtr_portfolio_id = 28542780 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28542780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294419, 0.0452089471256184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28542780_14-11-2025_19_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28542787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28542788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28542789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28542790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28542791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28542792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28542793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28542794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28542795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28542796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28542797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28542798, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28543357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050001, 'mtr_portfolio_id': 28543357, 'created_at': datetime.datetime(2025, 11, 14, 19, 37), 'result': '0.046134022582937494', 'result_long': None, 'result_double': None}] Qualite : 0.046134022582937494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28543357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28543357_14-11-2025_19_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28543357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28543357_14-11-2025_19_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28543382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28543383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28543384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28543385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28543386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28543387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28543388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28543389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28543390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28543391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28543392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28543393, 'pht': 3726}}" where mtr_portfolio_id = 28543357 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28543357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294420, 0.046134022582937494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28543357_14-11-2025_19_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28543382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28543383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28543384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28543385, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28543386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28543387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28543388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28543389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28543390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28543391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28543392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28543393, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28543927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050063, 'mtr_portfolio_id': 28543927, 'created_at': datetime.datetime(2025, 11, 14, 19, 48, 56), 'result': '0.03019973242181325', 'result_long': None, 'result_double': None}] Qualite : 0.03019973242181325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28543927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28543927_14-11-2025_19_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28543927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28543927_14-11-2025_19_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28543935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28543936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28543937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28543938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28543939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28543940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28543941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28543942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28543944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28543945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28543946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28543947, 'pht': 3726}}" where mtr_portfolio_id = 28543927 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28543927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294421, 0.03019973242181325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28543927_14-11-2025_19_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28543935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28543936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28543937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28543938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28543939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28543940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28543941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28543942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28543944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28543945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28543946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28543947, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28544438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050134, 'mtr_portfolio_id': 28544438, 'created_at': datetime.datetime(2025, 11, 14, 20, 3, 30), 'result': '0.04291533831432242', 'result_long': None, 'result_double': None}] Qualite : 0.04291533831432242 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28544438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28544438_14-11-2025_20_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28544438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28544438_14-11-2025_20_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28544464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28544465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28544466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28544467, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28544468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28544469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28544470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28544471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28544472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28544473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28544474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28544475, 'pht': 3726}}" where mtr_portfolio_id = 28544438 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28544438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294422, 0.04291533831432242, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28544438_14-11-2025_20_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28544464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28544465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28544466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28544467, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28544468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28544469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28544470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28544471, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28544472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28544473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28544474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28544475, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28544931 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050200, 'mtr_portfolio_id': 28544931, 'created_at': datetime.datetime(2025, 11, 14, 20, 16, 58), 'result': '0.051426036561258597', 'result_long': None, 'result_double': None}] Qualite : 0.051426036561258597 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28544931 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28544931_14-11-2025_20_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28544931 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28544931_14-11-2025_20_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28544938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28544940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28544941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28544942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28544943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28544944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28544945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28544946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28544947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28544949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28544950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28544951, 'pht': 3726}}" where mtr_portfolio_id = 28544931 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28544931 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294423, 0.051426036561258597, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28544931_14-11-2025_20_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28544938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28544940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28544941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28544942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28544943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28544944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28544945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28544946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28544947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28544949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28544950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28544951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28545641 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050267, 'mtr_portfolio_id': 28545641, 'created_at': datetime.datetime(2025, 11, 14, 20, 32, 56), 'result': '0.059737019477075166', 'result_long': None, 'result_double': None}] Qualite : 0.059737019477075166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28545641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28545641_14-11-2025_20_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28545641 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28545641_14-11-2025_20_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28545645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28545646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28545647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28545648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28545649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28545650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28545651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28545652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28545653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28545654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28545655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28545656, 'pht': 3726}}" where mtr_portfolio_id = 28545641 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28545641 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294424, 0.059737019477075166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28545641_14-11-2025_20_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28545645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28545646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28545647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28545648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28545649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28545650, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28545651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28545652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28545653, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28545654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28545655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28545656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28546062 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050330, 'mtr_portfolio_id': 28546062, 'created_at': datetime.datetime(2025, 11, 14, 21, 6, 56), 'result': '0.031149289650415357', 'result_long': None, 'result_double': None}] Qualite : 0.031149289650415357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28546062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28546062_14-11-2025_21_06_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28546062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28546062_14-11-2025_21_06_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28546090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28546091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28546092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28546093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28546094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28546095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28546096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28546097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28546098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28546099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28546100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28546101, 'pht': 3726}}" where mtr_portfolio_id = 28546062 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28546062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294425, 0.031149289650415357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28546062_14-11-2025_21_06_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28546090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28546091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28546092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28546093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28546094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28546095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28546096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28546097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28546098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28546099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28546100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28546101, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28546882 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050428, 'mtr_portfolio_id': 28546882, 'created_at': datetime.datetime(2025, 11, 14, 21, 18, 58), 'result': '0.023751869554117115', 'result_long': None, 'result_double': None}] Qualite : 0.023751869554117115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28546882 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28546882_14-11-2025_21_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28546882 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28546882_14-11-2025_21_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28546886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28546887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28546888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28546889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28546890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28546891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28546892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28546893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28546894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28546895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28546896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28546897, 'pht': 3726}}" where mtr_portfolio_id = 28546882 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28546882 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294426, 0.023751869554117115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28546882_14-11-2025_21_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28546886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28546887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28546888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28546889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28546890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28546891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28546892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28546893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28546894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28546895, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28546896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28546897, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28547170 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050463, 'mtr_portfolio_id': 28547170, 'created_at': datetime.datetime(2025, 11, 14, 21, 32, 56), 'result': '0.041211541809627945', 'result_long': None, 'result_double': None}] Qualite : 0.041211541809627945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28547170 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28547170_14-11-2025_21_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28547170 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28547170_14-11-2025_21_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28547177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28547178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28547179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28547180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28547181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28547182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28547183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28547184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28547185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28547186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28547187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28547188, 'pht': 3726}}" where mtr_portfolio_id = 28547170 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28547170 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294427, 0.041211541809627945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28547170_14-11-2025_21_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28547177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28547178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28547179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28547180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28547181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28547182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28547183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28547184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28547185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28547186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28547187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28547188, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28547636 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050539, 'mtr_portfolio_id': 28547636, 'created_at': datetime.datetime(2025, 11, 14, 21, 46, 58), 'result': '0.04010441769087829', 'result_long': None, 'result_double': None}] Qualite : 0.04010441769087829 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28547636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28547636_14-11-2025_21_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28547636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28547636_14-11-2025_21_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28547653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28547654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28547655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28547656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28547657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28547658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28547659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28547660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28547661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28547662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28547663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28547664, 'pht': 3726}}" where mtr_portfolio_id = 28547636 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28547636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294428, 0.04010441769087829, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28547636_14-11-2025_21_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28547653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28547654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28547655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28547656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28547657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28547658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28547659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28547660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28547661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28547662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28547663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28547664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28548166 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050628, 'mtr_portfolio_id': 28548166, 'created_at': datetime.datetime(2025, 11, 14, 22, 2, 58), 'result': '0.06849856920185654', 'result_long': None, 'result_double': None}] Qualite : 0.06849856920185654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28548166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28548166_14-11-2025_22_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28548166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28548166_14-11-2025_22_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28548191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28548192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28548193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28548194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28548195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28548196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28548197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28548198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28548199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28548200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28548201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28548202, 'pht': 3726}}" where mtr_portfolio_id = 28548166 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28548166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294429, 0.06849856920185654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28548166_14-11-2025_22_02_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28548191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28548192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28548193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28548194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28548195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28548196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28548197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28548198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28548199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28548200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28548201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28548202, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28548676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050708, 'mtr_portfolio_id': 28548676, 'created_at': datetime.datetime(2025, 11, 14, 22, 16, 59), 'result': '0.049803297998308564', 'result_long': None, 'result_double': None}] Qualite : 0.049803297998308564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28548676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28548676_14-11-2025_22_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28548676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28548676_14-11-2025_22_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28548693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28548694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28548695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28548696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28548697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28548698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28548699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28548701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28548702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28548703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28548704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28548705, 'pht': 3726}}" where mtr_portfolio_id = 28548676 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28548676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294430, 0.049803297998308564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28548676_14-11-2025_22_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28548693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28548694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28548695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28548696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28548697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28548698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28548699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28548701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28548702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28548703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28548704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28548705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28549106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050780, 'mtr_portfolio_id': 28549106, 'created_at': datetime.datetime(2025, 11, 14, 22, 33), 'result': '0.057715677352840625', 'result_long': None, 'result_double': None}] Qualite : 0.057715677352840625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28549106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28549106_14-11-2025_22_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28549106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28549106_14-11-2025_22_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28549131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28549132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28549133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28549134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28549135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28549136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28549137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28549138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28549139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28549140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28549141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28549142, 'pht': 3726}}" where mtr_portfolio_id = 28549106 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28549106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294431, 0.057715677352840625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28549106_14-11-2025_22_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28549131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28549132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28549133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28549134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28549135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28549136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28549137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28549138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28549139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28549140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28549141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28549142, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28549586 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4050847, 'mtr_portfolio_id': 28549586, 'created_at': datetime.datetime(2025, 11, 14, 22, 59), 'result': '0.04724485205851519', 'result_long': None, 'result_double': None}] Qualite : 0.04724485205851519 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28549586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28549586_14-11-2025_22_59_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28549586 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28549586_14-11-2025_22_59_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28549602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28549603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28549604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28549605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28549606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28549607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28549608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28549609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28549610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28549611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28549612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28549613, 'pht': 3726}}" where mtr_portfolio_id = 28549586 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28549586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294432, 0.04724485205851519, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28549586_14-11-2025_22_59_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28549602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28549603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28549604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28549605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28549606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28549607, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28549608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28549609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28549610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28549611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28549612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28549613, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28550448 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4051023, 'mtr_portfolio_id': 28550448, 'created_at': datetime.datetime(2025, 11, 14, 23, 18, 59), 'result': '0.05220945181692421', 'result_long': None, 'result_double': None}] Qualite : 0.05220945181692421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28550448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28550448_14-11-2025_23_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28550448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28550448_14-11-2025_23_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28550451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28550452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28550453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28550454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28550455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28550456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28550457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28550458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28550459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28550460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28550461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28550462, 'pht': 3726}}" where mtr_portfolio_id = 28550448 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28550448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294433, 0.05220945181692421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28550448_14-11-2025_23_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28550451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28550452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28550453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28550454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28550455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28550456, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28550457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28550458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28550459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28550460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28550461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28550462, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28551050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4051076, 'mtr_portfolio_id': 28551050, 'created_at': datetime.datetime(2025, 11, 14, 23, 32, 58), 'result': '0.05288919719888092', 'result_long': None, 'result_double': None}] Qualite : 0.05288919719888092 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28551050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28551050_14-11-2025_23_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28551050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28551050_14-11-2025_23_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28551094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28551095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28551096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28551097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28551098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28551099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28551100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28551101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28551102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28551103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28551104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28551105, 'pht': 3726}}" where mtr_portfolio_id = 28551050 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28551050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294434, 0.05288919719888092, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28551050_14-11-2025_23_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28551094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28551095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28551096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28551097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28551098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28551099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28551100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28551101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28551102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28551103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28551104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28551105, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28551646 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4051145, 'mtr_portfolio_id': 28551646, 'created_at': datetime.datetime(2025, 11, 14, 23, 51), 'result': '0.06385476902603873', 'result_long': None, 'result_double': None}] Qualite : 0.06385476902603873 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28551646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28551646_14-11-2025_23_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28551646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28551646_14-11-2025_23_51_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28551679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28551681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28551682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28551683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28551684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28551685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28551686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28551687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28551688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28551689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28551690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28551691, 'pht': 3726}}" where mtr_portfolio_id = 28551646 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28551646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294435, 0.06385476902603873, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28551646_14-11-2025_23_51_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28551679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28551681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28551682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28551683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28551684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28551685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28551686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28551687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28551688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28551689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28551690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28551691, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28552305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4051216, 'mtr_portfolio_id': 28552305, 'created_at': datetime.datetime(2025, 11, 15, 2, 19, 58), 'result': '0.04953975651479011', 'result_long': None, 'result_double': None}] Qualite : 0.04953975651479011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28552305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28552305_15-11-2025_02_19_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28552305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28552305_15-11-2025_02_19_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28552313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28552314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28552315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28552316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28552317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28552318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28552319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28552320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28552321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28552322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28552323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28552324, 'pht': 3726}}" where mtr_portfolio_id = 28552305 and dashboard_run_id = 2594003 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28552305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17294436, 0.04953975651479011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28552305_15-11-2025_02_19_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28552313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28552314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28552315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28552316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28552317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28552318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28552319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28552320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28552321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28552322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28552323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28552324, '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 (28504025,28504648,28505140,28505764,28507316,28507473,28507781,28508415,28508891,28509308,28509755,28510403,28510787,28511242,28511755,28512579,28512841,28513210,28513700,28514065,28514662,28515109,28515499,28515934,28516710,28517657,28518111,28518734,28519463,28520133,28520950,28522900,28523481,28524276,28525320,28526009,28526684,28527312,28528168,28529089,28529948,28530646,28531845,28531910,28532098,28532395,28532777,28533543,28534450,28535230,28535809,28536747,28537308,28537945,28538597,28539026,28539556,28540905,28541377,28541745,28542400,28542780,28543357,28543927,28544438,28544931,28545641,28546062,28546882,28547170,28547636,28548166,28548676,28549106,28549586,28550448,28551050,28551646,28552305) result : ((1394299320,), (1394299411,), (1394299499,), (1394299914,), (1394299966,), (1394300004,), (1394300038,), (1394300262,), (1394300265,), (1394300513,), (1394300516,), (1394300526,), (1394300558,), (1394300594,), (1394300885,), (1394300909,), (1394300933,), (1394301226,), (1394301251,), (1394301275,), (1394301303,), (1394301305,), (1394301463,), (1394301483,), (1394301492,), (1394301499,), (1394301523,), (1394301528,), (1394301538,), (1394301541,), (1394301589,), (1394301632,), (1394301662,), (1394301685,), (1394301867,), (1394301891,), (1394301917,), (1394302218,), (1394302244,), (1394302267,), (1394302296,), (1394302324,), (1394302356,), (1394302572,), (1394302597,), (1394302623,), (1394302647,), (1394303143,), (1394303171,), (1394303228,), (1394303282,), (1394303810,), (1394303840,), (1394303874,), (1394304021,), (1394304045,), (1394304069,), (1394304097,), (1394304279,), (1394304283,), (1394304288,), (1394304290,), (1394304292,), (1394304295,), (1394304404,), (1394304428,), (1394304456,), (1394304463,), (1394304660,), (1394304576,), (1394304612,), (1394304637,), (1394304951,), (1394306708,), (1394307675,), (1394308198,), (1394308223,), (1394308245,), (1394308281,), (1394308759,), (1394308781,), (1394308810,), (1394308849,), (1394309023,), (1394309024,), (1394309026,), (1394309049,), (1394309097,), (1394309125,), (1394309480,), (1394309482,), (1394309485,), (1394309502,), (1394309505,), (1394309509,), (1394309511,), (1394309426,), (1394309452,), (1394309474,), (1394309609,), (1394309640,), (1394309669,), (1394309879,), (1394309905,), (1394309927,), (1394310204,), (1394310229,), (1394310253,), (1394310278,), (1394310371,), (1394310373,), (1394310377,), (1394310388,), (1394310573,), (1394310733,), (1394310799,), (1394310852,), (1394310973,), (1394311672,), (1394311701,), (1394311752,), (1394311981,), (1394312006,), (1394312153,), (1394312171,), (1394312194,), (1394312220,), (1394312250,), (1394312478,), (1394312503,), (1394312529,), (1394312551,), (1394312579,), (1394312608,), (1394313480,), (1394313474,), (1394313542,), (1394313566,), (1394313571,), (1394313600,), (1394313602,), (1394313604,), (1394313606,), (1394313621,), (1394313628,), (1394313630,), (1394313633,), (1394313635,), (1394313637,), (1394313646,), (1394313648,), (1394313650,), (1394313653,), (1394313657,), (1394313838,), (1394313863,), (1394313888,), (1394313915,), (1394313939,), (1394314188,), (1394314203,), (1394314205,), (1394314208,), (1394314361,), (1394314376,), (1394314399,), (1394314403,), (1394314414,), (1394314567,), (1394314593,), (1394314619,), (1394314647,), (1394314929,), (1394314954,), (1394314982,), (1394314993,), (1394314994,), (1394314995,), (1394315049,), (1394315122,), (1394315125,), (1394315136,), (1394315160,), (1394315248,), (1394315256,), (1394315260,), (1394315264,), (1394315279,), (1394315283,), (1394315288,), (1394315294,), (1394315299,), (1394315322,), (1394320424,), (1394320461,), (1394320509,), (1394320554,), (1394320575,), (1394320598,), (1394320601,), (1394320604,), (1394320607,), (1394320612,), (1394320616,), (1394320625,), (1394320627,), (1394320650,), (1394320654,), (1394320657,), (1394320660,), (1394320663,), (1394320674,), (1394320685,), (1394320689,), (1394320693,), (1394320698,), (1394320729,), (1394320748,), (1394320752,), (1394320755,), (1394320760,), (1394320790,), (1394320785,), (1394320818,), (1394320821,), (1394320824,), (1394320829,), (1394320834,), (1394320848,), (1394320852,), (1394320856,), (1394320877,), (1394320886,), (1394320891,), (1394320936,), (1394320938,), (1394320941,), (1394320944,), (1394320960,), (1394320963,), (1394320966,), (1394320970,), (1394320994,), (1394320997,), (1394321000,), (1394321004,), (1394321019,), (1394321023,), (1394321026,), (1394321030,), (1394321035,), (1394321055,), (1394321057,), (1394321060,), (1394321064,), (1394321068,), (1394321070,), (1394321074,), (1394321076,), (1394321078,), (1394321084,), (1394321091,), (1394321105,), (1394321109,), (1394321142,), (1394321145,), (1394321147,), (1394321149,), (1394321169,), (1394321171,), (1394321175,), (1394321180,), (1394321184,), (1394321205,), (1394321208,), (1394321212,), (1394321645,), (1394321649,), (1394321677,), (1394321712,), (1394322240,), (1394322206,), (1394322236,), (1394322413,), (1394322425,), (1394322432,), (1394322434,), (1394322436,), (1394322661,), (1394322688,), (1394322718,), (1394322723,), (1394322724,), (1394322801,), (1394322803,), (1394322805,), (1394322807,), (1394322828,), (1394322830,), (1394322832,), (1394322834,), (1394322837,), (1394323060,), (1394323085,), (1394323105,), (1394323107,), (1394323113,), (1394323139,), (1394323174,), (1394323186,), (1394323188,), (1394323190,), (1394323193,), (1394323211,), (1394323219,), (1394323228,), (1394323243,), (1394323247,), (1394323418,), (1394323451,), (1394323481,), (1394323525,), (1394323838,), (1394323841,), (1394323846,), (1394323850,), (1394324093,), (1394324127,), (1394324129,), (1394324218,), (1394324252,), (1394324289,), (1394324323,), (1394324358,), (1394324739,), (1394324775,), (1394324810,), (1394324841,), (1394324846,), (1394324848,), (1394324896,), (1394324930,), (1394324965,), (1394325236,), (1394325230,), (1394325233,), (1394325263,), (1394325264,), (1394325265,), (1394325266,), (1394325290,), (1394325294,), (1394325298,), (1394325323,), (1394325325,), (1394325326,), (1394325328,), (1394325330,), (1394325333,), (1394325369,), (1394325371,), (1394325373,), (1394325377,), (1394325382,), (1394325385,), (1394325400,), (1394325402,), (1394325405,), (1394325444,), (1394325447,), (1394325449,), (1394325452,), (1394325473,), (1394325476,), (1394325479,), (1394325486,), (1394325492,), (1394325496,), (1394325513,), (1394325524,), (1394325529,), (1394325554,), (1394325561,), (1394325588,), (1394325591,), (1394325594,), (1394325598,), (1394325623,), (1394325625,), (1394325627,), (1394325655,), (1394325657,), (1394325659,), (1394325663,), (1394325668,), (1394325688,), (1394325690,), (1394325693,), (1394325696,), (1394325700,), (1394325717,), (1394325720,), (1394325723,), (1394325758,), (1394325761,), (1394325763,), (1394325782,), (1394325751,), (1394325754,), (1394325755,), (1394325796,), (1394325799,), (1394325801,), (1394325821,), (1394325825,), (1394325833,), (1394325838,), (1394325843,), (1394325886,), (1394325887,), (1394325888,), (1394325890,), (1394325893,), (1394325918,), (1394325922,), (1394325962,), (1394325964,), (1394325965,), (1394325995,), (1394325998,), (1394326005,), (1394326010,), (1394326015,), (1394326031,), (1394326034,), (1394326037,), (1394326041,), (1394326062,), (1394326064,), (1394326066,), (1394326070,), (1394326075,), (1394326079,), (1394326103,), (1394326105,), (1394326106,), (1394326134,), (1394326136,), (1394326137,), (1394326174,), (1394326178,), (1394326182,), (1394326186,), (1394326206,), (1394326208,), (1394326212,), (1394326217,), (1394326220,), (1394326250,), (1394326251,), (1394326252,), (1394326254,), (1394326283,), (1394326287,), (1394326345,), (1394326332,), (1394326334,), (1394326336,), (1394326340,), (1394326370,), (1394326373,), (1394326377,), (1394326382,), (1394326386,), (1394326418,), (1394326421,), (1394326423,), (1394326425,), (1394326429,), (1394326447,), (1394326449,), (1394326450,), (1394326452,), (1394326478,), (1394326482,), (1394326485,), (1394326520,), (1394326522,), (1394326524,), (1394326559,), (1394326562,), (1394326565,), (1394326589,), (1394326591,), (1394326593,), (1394326619,), (1394326623,), (1394326627,), (1394326631,), (1394326666,), (1394326669,), (1394326673,), (1394326697,), (1394326700,), (1394326702,), (1394326705,), (1394326728,), (1394326731,), (1394326734,), (1394326737,), (1394326741,), (1394326763,), (1394326765,), (1394326767,), (1394326770,), (1394327057,), (1394327070,), (1394327088,), (1394327122,), (1394327157,), (1394327194,), (1394327349,), (1394327419,), (1394327483,), (1394327549,), (1394328618,), (1394328652,), (1394328683,), (1394328686,), (1394328694,), (1394328389,), (1394328452,), (1394328510,), (1394328573,), (1394328674,), (1394328676,), (1394328679,), (1394328681,), (1394328925,), (1394328991,), (1394329460,), (1394329463,), (1394329534,), (1394329537,), (1394329539,), (1394329542,), (1394329545,), (1394329547,), (1394329570,), (1394329571,), (1394329572,), (1394329573,), (1394329576,), (1394329615,), (1394329620,), (1394329623,), (1394329642,), (1394329650,), (1394329652,), (1394329655,), (1394329658,), (1394329660,), (1394329683,), (1394329684,), (1394329685,), (1394329687,), (1394329721,), (1394329725,), (1394329729,), (1394329758,), (1394329760,), (1394329779,), (1394329783,), (1394329787,), (1394329792,), (1394329797,), (1394329800,), (1394329824,), (1394329826,), (1394329828,), (1394329832,), (1394329862,), (1394329864,), (1394329866,), (1394329870,), (1394329894,), (1394329897,), (1394329898,), (1394329899,), (1394329902,), (1394329942,), (1394329999,), (1394329925,), (1394329927,), (1394329929,), (1394329931,), (1394329938,), (1394329967,), (1394329970,), (1394329972,), (1394329975,), (1394329978,), (1394329980,), (1394329991,), (1394329994,), (1394329996,), (1394330012,), (1394330014,), (1394330016,), (1394330018,), (1394330020,), (1394330021,), (1394330044,), (1394330047,), (1394330050,), (1394330053,), (1394330057,), (1394330078,), (1394330080,), (1394330082,), (1394330108,), (1394330111,), (1394330114,), (1394330118,), (1394330156,), (1394330167,), (1394330168,), (1394330170,), (1394330174,), (1394330175,), (1394330194,), (1394330196,), (1394330198,), (1394330228,), (1394330232,), (1394330234,), (1394330237,), (1394330240,), (1394330269,), (1394330271,), (1394330275,), (1394330281,), (1394330300,), (1394330321,), (1394330324,), (1394330328,), (1394330332,), (1394330351,), (1394330353,), (1394330354,), (1394330399,), (1394330401,), (1394330403,), (1394330407,), (1394330412,), (1394330445,), (1394330447,), (1394330448,), (1394330449,), (1394330452,), (1394330453,), (1394330472,), (1394330474,), (1394330477,), (1394330480,), (1394330536,), (1394330539,), (1394330554,), (1394330557,), (1394330559,), (1394330523,), (1394330525,), (1394330528,), (1394330533,), (1394330578,), (1394330581,), (1394330584,), (1394330587,), (1394330591,), (1394330592,), (1394330620,), (1394330621,), (1394330622,), (1394330653,), (1394330657,), (1394330661,), (1394330664,), (1394330668,), (1394330699,), (1394330701,), (1394330703,), (1394330704,), (1394330707,), (1394330709,), (1394330736,), (1394330744,), (1394330748,), (1394330789,), (1394330791,), (1394330834,), (1394330838,), (1394330865,), (1394330866,), (1394330867,), (1394330869,), (1394330873,), (1394330914,), (1394330925,), (1394330932,), (1394330936,), (1394330980,), (1394330982,), (1394331012,), (1394331015,), (1394331018,), (1394331060,), (1394331063,), (1394331065,), (1394331122,), (1394331126,), (1394331129,), (1394331132,), (1394331157,), (1394331159,), (1394331162,), (1394331169,), (1394331175,), (1394331182,), (1394331217,), (1394331209,), (1394331213,), (1394331259,), (1394331260,), (1394331261,), (1394331262,), (1394331291,), (1394331293,), (1394331296,), (1394331300,), (1394331345,), (1394331487,), (1394331489,), (1394331491,), (1394331494,), (1394331530,), (1394331533,), (1394331571,), (1394331574,), (1394331619,), (1394331623,), (1394331675,), (1394331677,), (1394331679,), (1394331681,), (1394331685,), (1394331687,), (1394331709,), (1394331717,), (1394331727,), (1394331730,), (1394331733,), (1394331736,), (1394332008,), (1394332010,), (1394332122,), (1394332127,), (1394332131,), (1394332136,), (1394332149,), (1394332150,), (1394332153,), (1394332154,), (1394332157,), (1394332158,), (1394332162,), (1394332163,), (1394332177,), (1394332178,), (1394332529,), (1394332563,), (1394332597,), (1394332827,), (1394332863,), (1394332895,), (1394332399,), (1394332436,), (1394332489,), (1394332720,), (1394332756,), (1394332790,), (1394332957,), (1394332958,), (1394333266,), (1394333285,), (1394333319,), (1394333329,), (1394333427,), (1394333429,), (1394333430,), (1394333431,), (1394333434,), (1394333466,), (1394333469,), (1394333472,), (1394333529,), (1394333531,), (1394333532,), (1394333534,), (1394333536,), (1394333590,), (1394333592,), (1394333594,), (1394333596,), (1394333599,), (1394333628,), (1394333631,), (1394333633,), (1394333637,), (1394333684,), (1394333688,), (1394333754,), (1394333756,), (1394333758,), (1394333805,), (1394333807,), (1394335186,), (1394335621,), (1394335802,), (1394335811,), (1394335813,), (1394335841,), (1394335843,), (1394335846,), (1394335850,), (1394335878,), (1394335882,), (1394335885,), (1394335888,), (1394335892,), (1394335922,), (1394335926,), (1394335930,), (1394335962,), (1394335964,), (1394335968,), (1394336008,), (1394336012,), (1394336015,), (1394336019,), (1394336023,), (1394336055,), (1394336093,), (1394336095,), (1394336097,), (1394336100,), (1394336105,), (1394336108,), (1394336122,), (1394336126,), (1394336130,), (1394336135,), (1394336178,), (1394336159,), (1394336163,), (1394336167,), (1394336172,), (1394336176,), (1394336198,), (1394336201,), (1394336203,), (1394336205,), (1394336208,), (1394336211,), (1394336239,), (1394336243,), (1394336247,), (1394336252,), (1394336283,), (1394336285,), (1394336286,), (1394336287,), (1394336290,), (1394336293,), (1394336314,), (1394336317,), (1394336320,), (1394336323,), (1394336327,), (1394336349,), (1394336351,), (1394336353,), (1394336357,), (1394336362,), (1394336399,), (1394336403,), (1394336405,), (1394336407,), (1394336411,), (1394336415,), (1394336439,), (1394336442,), (1394336447,), (1394336452,), (1394336458,), (1394336518,), (1394336522,), (1394336526,), (1394336528,), (1394336531,), (1394336558,), (1394336566,), (1394336569,), (1394336574,), (1394336577,), (1394336580,), (1394336614,), (1394336618,), (1394336622,), (1394336626,), (1394336630,), (1394336649,), (1394336652,), (1394336655,), (1394336659,), (1394336664,), (1394336667,), (1394336710,), (1394336714,), (1394336715,), (1394336741,), (1394336745,), (1394336749,), (1394336753,), (1394336757,), (1394336788,), (1394336790,), (1394336792,), (1394336863,), (1394336881,), (1394336884,), (1394336888,), (1394336827,), (1394336854,), (1394336856,), (1394336859,), (1394336862,), (1394336908,), (1394336909,), (1394336910,), (1394336913,), (1394336916,), (1394336936,), (1394336939,), (1394336979,), (1394336981,), (1394337006,), (1394337011,), (1394337017,), (1394337022,), (1394337054,), (1394337056,), (1394337059,), (1394337064,), (1394337092,), (1394337098,), (1394337101,), (1394337104,), (1394337109,), (1394337113,), (1394337129,), (1394337132,), (1394337136,), (1394337147,), (1394337149,), (1394337153,), (1394337157,), (1394337163,), (1394337175,), (1394337177,), (1394337179,), (1394337215,), (1394337227,), (1394337234,), (1394337238,), (1394337242,), (1394337246,), (1394337265,), (1394337268,), (1394337270,), (1394337273,), (1394337306,), (1394337310,), (1394337314,), (1394337319,), (1394337323,), (1394337352,), (1394337353,), (1394337354,), (1394337356,), (1394337360,), (1394337389,), (1394337393,), (1394337397,), (1394337402,), (1394337406,), (1394337411,), (1394337431,), (1394337432,), (1394337434,), (1394337436,), (1394337466,), (1394337604,), (1394337607,), (1394337610,), (1394337614,), (1394337638,), (1394337640,), (1394337642,), (1394337646,), (1394337650,), (1394337679,), (1394337682,), (1394337685,), (1394337688,), (1394337709,), (1394337711,), (1394337714,), (1394337759,), (1394337763,), (1394337766,), (1394337769,), (1394337773,), (1394337801,), (1394337805,), (1394337808,), (1394337811,), (1394337815,), (1394337840,), (1394337849,), (1394337851,), (1394337854,), (1394337858,), (1394337886,), (1394337891,), (1394337895,), (1394337899,), (1394337902,), (1394337906,), (1394337923,), (1394337926,), (1394337944,), (1394337946,), (1394337949,), (1394337967,), (1394337999,), (1394338516,), (1394338522,), (1394338527,), (1394338532,), (1394338536,), (1394338565,), (1394338560,), (1394338562,), (1394338563,), (1394338889,), (1394338924,), (1394338970,), (1394339013,), (1394339049,), (1394339099,), (1394339322,), (1394339324,), (1394339327,), (1394339330,), (1394339334,), (1394339337,), (1394339353,), (1394339355,), (1394339366,), (1394339399,), (1394339434,), (1394339559,), (1394339590,), (1394339626,), (1394339662,), (1394340049,), (1394340080,), (1394340112,), (1394340146,), (1394340465,), (1394340469,), (1394340473,), (1394340747,), (1394340810,), (1394340879,), (1394340942,), (1394341008,), (1394341467,), (1394341469,), (1394341471,), (1394341481,), (1394341703,), (1394341710,), (1394341712,), (1394342209,), (1394342212,), (1394342215,), (1394342219,), (1394342224,), (1394342414,), (1394342434,), (1394342437,), (1394342441,), (1394342475,), (1394342478,), (1394342481,), (1394342485,), (1394342489,), (1394342514,), (1394342515,), (1394342943,), (1394342981,), (1394343015,), (1394344185,), (1394344215,), (1394344219,), (1394344223,), (1394344227,), (1394344231,), (1394344258,), (1394344259,), (1394344260,), (1394344261,), (1394344289,), (1394344292,), (1394344295,), (1394344325,), (1394344327,), (1394344331,), (1394344361,), (1394344364,), (1394344367,), (1394344370,), (1394344375,), (1394344394,), (1394344398,), (1394344401,), (1394344405,), (1394344409,), (1394344439,), (1394344440,), (1394344441,), (1394344472,), (1394344477,), (1394344481,), (1394344486,), (1394344489,), (1394344517,), (1394344519,), (1394344521,), (1394344523,), (1394344546,), (1394344550,), (1394344553,), (1394344557,), (1394344597,), (1394344599,), (1394344600,), (1394344602,), (1394344605,), (1394344609,), (1394344632,), (1394344635,), (1394344638,), (1394344678,), (1394344681,), (1394344685,), (1394344688,), (1394344691,), (1394344730,), (1394344739,), (1394344751,), (1394344760,), (1394344764,), (1394344766,), (1394344715,), (1394344717,), (1394344721,), (1394344725,), (1394344778,), (1394344781,), (1394344783,), (1394344785,), (1394344803,), (1394344805,), (1394344807,), (1394344811,), (1394344814,), (1394344817,), (1394344836,), (1394344839,), (1394344842,), (1394344845,), (1394344849,), (1394344873,), (1394344875,), (1394344877,), (1394344880,), (1394344912,), (1394344915,), (1394344920,), (1394344940,), (1394344980,), (1394344982,), (1394344984,), (1394344987,), (1394344992,), (1394344996,), (1394345029,), (1394345033,), (1394345037,), (1394345041,), (1394345044,), (1394345045,), (1394345050,), (1394345051,), (1394345053,), (1394345057,), (1394345069,), (1394345071,), (1394345073,), (1394345075,), (1394345108,), (1394345110,), (1394345112,), (1394345114,), (1394345118,), (1394345142,), (1394345145,), (1394345148,), (1394345153,), (1394345159,), (1394345187,), (1394345190,), (1394345193,), (1394345196,), (1394345226,), (1394345228,), (1394345232,), (1394345237,), (1394345241,), (1394345261,), (1394345264,), (1394345269,), (1394345274,), (1394345301,), (1394345303,), (1394345305,), (1394345308,), (1394345311,), (1394345357,), (1394345347,), (1394345351,), (1394345354,), (1394345384,), (1394345387,), (1394345389,), (1394345415,), (1394345418,), (1394345421,), (1394345447,), (1394345450,), (1394345453,), (1394345456,), (1394345499,), (1394345502,), (1394345504,), (1394345507,), (1394345538,), (1394345541,), (1394345543,), (1394345546,), (1394345582,), (1394345585,), (1394345588,), (1394345593,), (1394345599,), (1394345623,), (1394345627,), (1394345658,), (1394345661,), (1394345666,), (1394345671,), (1394345674,), (1394345677,), (1394345698,), (1394345700,), (1394345702,), (1394345706,), (1394345710,), (1394345712,), (1394345749,), (1394345752,), (1394345755,), (1394345758,), (1394345763,), (1394345785,), (1394345789,), (1394345792,), (1394345796,), (1394345800,), (1394345802,), (1394345828,), (1394345829,), (1394345830,), (1394345833,), (1394345838,), (1394345842,), (1394346082,), (1394346151,), (1394346410,), (1394347007,), (1394346764,), (1394346826,), (1394346898,), (1394346964,), (1394347096,), (1394347097,), (1394347098,), (1394347101,), (1394347106,), (1394347125,), (1394347129,), (1394347133,), (1394347163,), (1394347165,), (1394347166,), (1394347167,), (1394347197,), (1394347232,), (1394347586,), (1394347618,), (1394347649,), (1394347683,), (1394347719,), (1394347757,), (1394347874,), (1394347877,), (1394347880,), (1394348160,), (1394348190,), (1394348206,), (1394348218,), (1394348318,), (1394348321,), (1394348324,), (1394348327,), (1394348355,), (1394348357,), (1394348360,), (1394348364,), (1394348368,), (1394348492,), (1394348499,), (1394348503,), (1394348536,), (1394348539,), (1394348542,), (1394348576,), (1394348610,), (1394348621,), (1394348706,), (1394348715,), (1394348723,), (1394348729,), (1394348733,), (1394348756,), (1394348784,), (1394348788,), (1394348794,), (1394348808,), (1394348838,), (1394348839,), (1394348853,), (1394348856,), (1394348860,), (1394348868,), (1394348969,), (1394348972,), (1394348975,), (1394348981,), (1394348991,), (1394348995,), (1394349102,), (1394349033,), (1394349036,), (1394349055,), (1394349278,), (1394349317,), (1394349350,), (1394349397,), (1394349430,), (1394349432,), (1394349436,), (1394349440,), (1394349445,), (1394349554,), (1394349556,), (1394349560,), (1394349564,), (1394349796,), (1394349834,), (1394349887,), (1394349972,), (1394350014,), (1394350308,), (1394350315,), (1394350322,), (1394350325,), (1394350378,), (1394350382,), (1394350385,), (1394350388,), (1394350393,), (1394350398,), (1394350495,), (1394350519,), (1394350528,), (1394350544,), (1394350736,), (1394350760,), (1394350765,), (1394350770,), (1394350775,), (1394350834,), (1394350843,), (1394350848,), (1394350859,), (1394350923,), (1394350926,), (1394350930,), (1394350935,), (1394350939,), (1394350963,), (1394350964,), (1394350965,), (1394351136,), (1394351142,), (1394351168,), (1394351205,), (1394351244,), (1394351398,), (1394351839,), (1394351875,), (1394351883,), (1394351885,), (1394351890,), (1394351925,), (1394351928,), (1394351931,), (1394351936,), (1394351938,), (1394351990,), (1394351993,), (1394352004,), (1394352186,), (1394352188,), (1394352190,), (1394352192,), (1394352222,), (1394352230,), (1394352233,), (1394352503,), (1394352504,), (1394352505,), (1394352507,), (1394352610,), (1394352614,), (1394352633,), (1394352639,), (1394352669,), (1394352672,), (1394352675,), (1394352678,), (1394352684,), (1394352710,), (1394352766,), (1394352768,), (1394352772,), (1394352774,), (1394352854,), (1394352859,), (1394352912,), (1394352915,), (1394352917,), (1394352920,), (1394352947,), (1394352949,), (1394353017,), (1394353011,), (1394353014,), (1394353052,), (1394353084,), (1394353087,), (1394353090,), (1394353092,), (1394353123,), (1394353125,), (1394353127,), (1394353130,), (1394353246,), (1394353275,), (1394353278,), (1394353373,), (1394353375,), (1394353377,), (1394353379,), (1394353404,), (1394353406,), (1394353408,), (1394353411,), (1394353443,), (1394353447,), (1394353451,), (1394353456,), (1394353462,), (1394353467,), (1394354133,), (1394354166,), (1394354199,), (1394355623,), (1394355672,), (1394355727,), (1394355773,), (1394355813,), (1394356033,), (1394356035,), (1394356038,), (1394356042,), (1394356045,), (1394356197,), (1394356246,), (1394356031,), (1394356309,), (1394356313,), (1394356315,), (1394356317,), (1394356384,), (1394356387,), (1394356390,), (1394356434,), (1394356436,), (1394356438,), (1394356440,), (1394356442,), (1394356467,), (1394356475,), (1394356477,), (1394356480,), (1394356581,), (1394356584,), (1394356596,), (1394356638,), (1394356643,), (1394356719,), (1394356723,), (1394356727,), (1394356730,), (1394356736,), (1394356810,), (1394356833,), (1394356835,), (1394356837,), (1394356840,), (1394356843,), (1394356864,), (1394356866,), (1394356868,), (1394356960,), (1394357088,), (1394357126,), (1394357161,), (1394357177,), (1394357180,), (1394357223,), (1394357230,), (1394357232,), (1394357235,), (1394357251,), (1394357254,), (1394357281,), (1394357286,), (1394357288,), (1394357345,), (1394357348,), (1394357350,), (1394357353,), (1394357356,), (1394357401,), (1394357406,), (1394357409,), (1394357439,), (1394357443,), (1394357448,), (1394357453,), (1394357498,), (1394357502,), (1394357506,), (1394357510,), (1394357527,), (1394357495,), (1394357496,), (1394357533,), (1394357537,), (1394357540,), (1394357612,), (1394357615,), (1394357617,), (1394357619,), (1394357624,), (1394357641,), (1394357892,), (1394357894,), (1394357902,), (1394357945,), (1394358078,), (1394358082,), (1394358086,), (1394358090,), (1394358094,), (1394358095,), (1394358100,), (1394358112,), (1394358240,), (1394358275,), (1394358308,), (1394358344,), (1394358377,), (1394358502,), (1394358511,), (1394358513,), (1394358529,), (1394358533,), (1394358560,), (1394358564,), (1394358567,), (1394358571,), (1394358608,), (1394358611,), (1394358613,), (1394358616,), (1394358619,), (1394358621,), (1394358682,), (1394358683,), (1394358684,), (1394358696,), (1394358701,), (1394358706,), (1394358744,), (1394358747,), (1394358750,), (1394358753,), (1394358781,), (1394358784,), (1394358786,), (1394358788,), (1394358838,), (1394358848,), (1394358857,), (1394358866,), (1394358931,), (1394358941,), (1394358946,), (1394358989,), (1394358994,), (1394358998,), (1394359056,), (1394359059,), (1394359062,), (1394359065,), (1394359053,), (1394359055,), (1394359100,), (1394359102,), (1394359104,), (1394359345,), (1394359391,), (1394359393,), (1394359395,), (1394359398,), (1394359404,), (1394359426,), (1394359431,), (1394359435,), (1394359472,), (1394359480,), (1394359492,), (1394359499,), (1394359503,), (1394359528,), (1394359950,), (1394360053,), (1394360103,), (1394360529,), (1394360536,), (1394360540,), (1394360546,), (1394360551,), (1394360585,), (1394360790,), (1394360830,), (1394360868,), (1394360923,), (1394360958,), (1394360962,), (1394361018,), (1394361020,), (1394361022,), (1394361394,), (1394361431,), (1394361465,), (1394361480,), (1394361485,), (1394361738,), (1394361740,), (1394361755,), (1394361764,), (1394361824,), (1394361826,), (1394361845,), (1394361848,), (1394361861,), (1394362156,), (1394362164,), (1394362167,), (1394362186,), (1394362190,), (1394362197,), (1394362387,), (1394362348,), (1394362375,), (1394362379,), (1394362382,), (1394362518,), (1394362520,), (1394362727,), (1394362761,), (1394362798,), (1394362837,), (1394362872,), (1394362909,), (1394362967,), (1394362978,), (1394362979,), (1394362980,), (1394362981,), (1394363022,), (1394363024,), (1394363027,), (1394363031,), (1394363061,), (1394363130,), (1394363167,), (1394363187,), (1394363193,), (1394363196,), (1394363199,), (1394363258,), (1394363296,), (1394363330,), (1394363363,), (1394363542,), (1394363619,), (1394363687,), (1394364023,), (1394364805,), (1394364815,), (1394364846,), (1394365001,), (1394365007,), (1394365013,), (1394365071,), (1394373848,), (1394373915,), (1394373917,), (1394373919,), (1394373922,), (1394373926,), (1394374005,), (1394374014,), (1394374123,), (1394374144,), (1394374184,), (1394374405,), (1394374408,), (1394374411,), (1394374414,), (1394374418,), (1394374448,), (1394374451,), (1394374455,), (1394374462,), (1394374465,), (1394374489,), (1394374493,), (1394374495,), (1394374735,), (1394374738,), (1394374743,), (1394374774,), (1394374803,), (1394374882,), (1394374883,), (1394374884,), (1394374885,), (1394374985,), (1394375019,), (1394375046,), (1394375081,), (1394375273,), (1394375276,), (1394375280,), (1394375284,), (1394375289,), (1394375335,), (1394375446,), (1394375482,), (1394375513,), (1394375547,), (1394375741,), (1394375777,), (1394375812,), (1394375845,), (1394376196,), (1394376082,), (1394376129,), (1394376163,), (1394376460,), (1394376461,), (1394376463,), (1394376492,), (1394376494,), (1394376945,), (1394376977,), (1394377032,), (1394377071,), (1394377113,), (1394377670,), (1394377706,), (1394377724,), (1394377729,), (1394378030,), (1394378092,), (1394378158,), (1394378228,), (1394378298,), (1394378784,), (1394378854,), (1394378923,), (1394378985,), (1394379035,), (1394379350,), (1394379400,), (1394379434,), (1394379648,), (1394379680,), (1394379714,), (1394379748,), (1394379780,), (1394379834,), (1394379837,), (1394379839,), (1394379905,), (1394379906,), (1394379907,), (1394379910,), (1394379915,), (1394380150,), (1394380153,), (1394380187,), (1394380355,), (1394380358,), (1394380360,), (1394380362,), (1394380561,), (1394380602,), (1394380636,), (1394380640,), (1394380644,), (1394380973,), (1394380864,), (1394380901,), (1394380938,), (1394381629,), (1394381660,), (1394381690,), (1394383555,), (1394383616,), (1394384535,), (1394384570,), (1394384756,), (1394384788,), (1394384829,), (1394384864,), (1394385379,), (1394385411,), (1394385441,), (1394385464,), (1394385486,), (1394385490,), (1394385545,), (1394385546,), (1394385548,), (1394385551,), (1394385555,), (1394385585,), (1394385587,), (1394385589,), (1394385592,), (1394385649,), (1394385702,), (1394385766,), (1394385808,), (1394385834,), (1394385845,), (1394385916,), (1394385918,), (1394385919,), (1394385921,), (1394385925,), (1394385927,), (1394385953,), (1394385955,), (1394385961,), (1394385970,), (1394386028,), (1394386034,), (1394386044,), (1394386055,), (1394386058,), (1394386071,), (1394386305,), (1394386309,), (1394386312,), (1394386324,), (1394386358,), (1394386497,), (1394386483,), (1394386484,), (1394386485,), (1394386488,), (1394386870,), (1394386878,), (1394386891,), (1394387128,), (1394387157,), (1394387158,), (1394387164,), (1394387182,), (1394387186,), (1394387326,), (1394387330,), (1394387343,), (1394387381,), (1394387395,), (1394387399,), (1394387450,), (1394387452,), (1394387455,), (1394387786,), (1394387789,), (1394387790,), (1394387810,), (1394387843,), (1394387853,), (1394387908,), (1394387909,), (1394387910,), (1394387912,), (1394387985,), (1394387995,), (1394387999,), (1394388014,), (1394388262,), (1394388264,), (1394388267,), (1394388443,), (1394388452,), (1394388483,), (1394388517,), (1394388581,), (1394388622,), (1394388657,), (1394388696,), (1394388701,), (1394388712,), (1394388815,), (1394388817,), (1394388832,), (1394388833,), (1394388836,), (1394388911,), (1394388945,), (1394388980,), (1394389014,), (1394389206,), (1394389208,), (1394389210,), (1394389212,), (1394389379,), (1394389414,), (1394389450,), (1394389484,), (1394389766,), (1394389769,), (1394389792,), (1394389793,), (1394389795,), (1394389682,), (1394389686,), (1394389713,), (1394389749,), (1394389880,), (1394389918,), (1394389934,), (1394389939,), (1394389948,), (1394390167,), (1394390205,), (1394390264,), (1394390339,), (1394390406,), (1394390676,), (1394390679,), (1394390681,), (1394390688,), (1394391037,), (1394391076,), (1394391112,), (1394391180,), (1394391244,), (1394391466,), (1394391884,), (1394392900,), (1394393605,), (1394393783,), (1394393818,), (1394393851,), (1394393886,), (1394394436,), (1394394308,), (1394394346,), (1394394378,), (1394394773,), (1394394775,), (1394395215,), (1394395249,), (1394395262,), (1394395523,), (1394395548,), (1394395678,), (1394395679,), (1394395680,), (1394395688,), (1394395693,), (1394395720,), (1394395722,), (1394395725,), (1394395729,), (1394395733,), (1394395777,), (1394395786,), (1394395789,), (1394395790,), (1394395827,), (1394395828,), (1394395830,), (1394395834,), (1394395863,), (1394395865,), (1394395867,), (1394395869,), (1394395877,), (1394395910,), (1394396258,), (1394396291,), (1394396334,), (1394396859,), (1394396915,), (1394396954,), (1394396989,), (1394397042,), (1394397063,), (1394397453,), (1394397494,), (1394397529,), (1394397566,), (1394397600,), (1394397651,), (1394398213,), (1394398247,), (1394398252,), (1394398274,), (1394399381,), (1394399486,), (1394399550,), (1394399610,), (1394399664,), (1394399704,), (1394399860,), (1394399894,), (1394399930,), (1394399967,), (1394400585,), (1394400614,), (1394400616,), (1394400618,), (1394401007,), (1394400506,), (1394400543,), (1394400692,), (1394400702,), (1394400707,), (1394400711,), (1394400757,), (1394400817,), (1394401017,), (1394401020,), (1394401037,), (1394401070,), (1394401081,), (1394401088,), (1394401197,), (1394401209,), (1394401211,), (1394401219,), (1394401411,), (1394401439,), (1394401449,), (1394401475,), (1394401523,), (1394401911,), (1394401944,), (1394401976,), (1394402013,), (1394402052,), (1394402429,), (1394402463,), (1394402496,), (1394402530,), (1394402531,), (1394402535,), (1394402660,), (1394402696,), (1394402730,), (1394402764,), (1394403164,), (1394403179,), (1394403180,), (1394403182,), (1394403211,), (1394403268,), (1394403270,), (1394403272,), (1394403274,), (1394403278,), (1394403282,), (1394403299,), (1394403302,), (1394403334,), (1394403636,), (1394403648,), (1394403652,), (1394403656,), (1394403666,), (1394403709,), (1394403716,), (1394403730,), (1394403736,), (1394403740,), (1394403742,), (1394403770,), (1394403772,), (1394403773,), (1394403775,), (1394403804,), (1394403806,), (1394403807,), (1394403808,), (1394403854,), (1394403845,), (1394403848,), (1394403851,), (1394404004,), (1394404006,), (1394404035,), (1394404038,), (1394404042,), (1394404076,), (1394404080,), (1394404082,), (1394404556,), (1394404593,), (1394404624,), (1394404656,), (1394404689,), (1394404725,), (1394405218,), (1394405269,), (1394405285,), (1394405384,), (1394405386,), (1394405389,), (1394405815,), (1394405947,), (1394406011,), (1394406050,), (1394406118,), (1394406151,), (1394406268,), (1394406283,), (1394406313,), (1394406347,), (1394406398,), (1394406820,), (1394406824,), (1394406828,), (1394406855,), (1394406857,), (1394406859,), (1394406863,), (1394406867,), (1394406870,), (1394406963,), (1394406987,), (1394406990,), (1394407019,), (1394407031,), (1394407042,), (1394407091,), (1394407093,), (1394407096,), (1394407100,), (1394407103,), (1394407105,), (1394407283,), (1394407290,), (1394407305,), (1394407458,), (1394407492,), (1394407504,), (1394407525,), (1394407536,), (1394407550,), (1394407589,), (1394407594,), (1394407597,), (1394407599,), (1394407601,), (1394407603,), (1394407680,), (1394407683,), (1394407685,), (1394407716,), (1394407721,), (1394407723,), (1394407725,), (1394407675,), (1394407676,), (1394407677,), (1394407771,), (1394407831,), (1394407962,), (1394408107,), (1394408241,), (1394408366,), (1394409136,), (1394409169,), (1394409187,), (1394409193,), (1394409196,), (1394409206,), (1394409515,), (1394409716,), (1394410415,), (1394410445,), (1394410452,), (1394410457,), (1394410468,), (1394411074,), (1394411075,), (1394411080,), (1394411114,), (1394411152,), (1394411160,), (1394411207,), (1394411208,), (1394411210,), (1394411233,), (1394411300,), (1394411303,), (1394411310,), (1394411320,), (1394411718,), (1394411739,), (1394411743,), (1394411746,), (1394411779,), (1394412132,), (1394412138,), (1394412153,), (1394412155,), (1394412158,), (1394412162,), (1394412231,), (1394412234,), (1394412236,), (1394412240,), (1394412244,), (1394412245,), (1394412310,), (1394412331,), (1394412350,), (1394412392,), (1394412430,), (1394412435,), (1394412445,), (1394412727,), (1394412801,), (1394412810,), (1394412813,), (1394412818,), (1394413171,), (1394413201,), (1394413238,), (1394413275,), (1394413308,), (1394413590,), (1394413612,), (1394413638,), (1394413649,), (1394413651,), (1394413882,), (1394413886,), (1394413888,), (1394413892,), (1394413897,), (1394413901,), (1394413943,), (1394413931,), (1394413932,), (1394413934,), (1394413938,), (1394413987,), (1394414006,), (1394414019,), (1394414034,), (1394414047,), (1394414094,), (1394414097,), (1394414099,), (1394414148,), (1394414149,), (1394414150,), (1394414242,), (1394414244,), (1394414248,), (1394414286,), (1394414325,), (1394414376,), (1394414378,), (1394414380,), (1394414382,), (1394414547,), (1394414550,), (1394414561,), (1394414593,), (1394414997,), (1394414998,), (1394414999,), (1394415002,), (1394415037,), (1394415039,), (1394415043,), (1394415047,), (1394415052,), (1394415075,), (1394415076,), (1394415079,), (1394415088,), (1394415096,), (1394415122,), (1394415124,), (1394415126,), (1394415129,), (1394415243,), (1394415254,), (1394415621,), (1394415624,), (1394415630,), (1394415633,), (1394415650,), (1394415705,), (1394415709,), (1394415715,), (1394415720,), (1394415723,), (1394415769,), (1394415751,), (1394415752,), (1394415757,), (1394415761,), (1394415793,), (1394415796,), (1394415798,), (1394415801,), (1394415805,), (1394415808,), (1394415880,), (1394415883,), (1394415884,), (1394415885,), (1394415985,), (1394415986,), (1394415987,), (1394415989,), (1394416099,), (1394416102,), (1394416105,), (1394416108,), (1394416113,), (1394416118,), (1394416360,), (1394416362,), (1394416363,), (1394416395,), (1394416419,), (1394416562,), (1394416564,), (1394416566,), (1394416642,), (1394416643,), (1394416644,), (1394416646,), (1394416679,), (1394416682,), (1394416685,), (1394416820,), (1394416855,), (1394416897,), (1394416903,), (1394416960,), (1394416961,), (1394418071,), (1394420720,), (1394420724,), (1394420728,), (1394420732,), (1394420760,), (1394420763,), (1394420768,), (1394420783,), (1394420817,), (1394420820,), (1394420871,), (1394420873,), (1394420875,), (1394420904,), (1394420926,), (1394420929,), (1394420932,), (1394420935,), (1394420939,), (1394420942,), (1394420974,), (1394420990,), (1394420993,), (1394421059,), (1394421064,), (1394421073,), (1394421083,), (1394421088,), (1394421095,), (1394421096,), (1394421097,), (1394421101,), (1394421105,), (1394421140,), (1394421142,), (1394421144,), (1394421227,), (1394421229,), (1394421231,), (1394421232,), (1394421234,), (1394421279,), (1394421130,), (1394421133,), (1394421136,), (1394421166,), (1394421169,), (1394421170,), (1394421173,), (1394421180,), (1394421183,), (1394421191,), (1394421206,), (1394421208,), (1394421212,), (1394421216,), (1394421220,), (1394421226,), (1394421245,), (1394421246,), (1394421249,), (1394421254,), (1394421258,), (1394421261,), (1394421270,), (1394421272,), (1394421273,), (1394421274,), (1394421276,), (1394421302,), (1394421305,), (1394421307,), (1394421311,), (1394421315,), (1394421319,), (1394421340,), (1394421346,), (1394421348,), (1394421352,), (1394421355,), (1394421369,), (1394421372,), (1394421375,), (1394421378,), (1394421382,), (1394421386,), (1394421403,), (1394421405,), (1394421407,), (1394421408,), (1394421432,), (1394421433,), (1394421434,), (1394421435,), (1394421438,), (1394421441,), (1394421462,), (1394421464,), (1394421466,), (1394421469,), (1394421473,), (1394421497,), (1394421499,), (1394421500,), (1394421501,), (1394421505,), (1394421533,), (1394421534,), (1394421536,), (1394421540,), (1394421546,), (1394421550,), (1394421566,), (1394421569,), (1394421571,), (1394421574,), (1394421578,), (1394421598,), (1394421599,), (1394421600,), (1394421603,), (1394421642,), (1394421628,), (1394421630,), (1394421632,), (1394421635,), (1394421639,), (1394421661,), (1394421664,), (1394421667,), (1394421672,), (1394421693,), (1394421696,), (1394421698,), (1394421700,), (1394421727,), (1394421729,), (1394421732,), (1394421736,), (1394421740,), (1394421744,), (1394421761,), (1394421763,), (1394421790,), (1394421791,), (1394421792,), (1394421794,), (1394421819,), (1394421820,), (1394421822,), (1394421826,), (1394421831,), (1394421852,), (1394421853,), (1394421854,), (1394421857,), (1394421860,), (1394421862,), (1394421875,), (1394421876,), (1394421878,), (1394421885,), (1394421887,), (1394421889,), (1394421892,), (1394421895,), (1394421898,), (1394421924,), (1394421926,), (1394421928,), (1394421932,), (1394421934,), (1394421961,), (1394421964,), (1394421966,), (1394421968,), (1394421972,), (1394421975,), (1394421991,), (1394421993,), (1394421995,), (1394421999,), (1394422004,), (1394422024,), (1394422026,), (1394422027,), (1394422028,), (1394422031,), (1394422035,), (1394422052,), (1394422055,), (1394422058,), (1394422061,), (1394422081,), (1394422084,), (1394422086,), (1394422088,), (1394422092,), (1394422095,), (1394422115,), (1394422116,), (1394422119,), (1394422122,), (1394422124,), (1394422133,), (1394422137,), (1394422112,), (1394422211,), (1394422213,), (1394422216,), (1394422245,), (1394422375,), (1394422377,), (1394422412,), (1394422415,), (1394422416,), (1394422420,), (1394422424,), (1394422426,), (1394422443,), (1394422446,), (1394422448,), (1394422476,), (1394422477,), (1394422478,), (1394422503,), (1394422505,), (1394422508,), (1394422552,), (1394422558,), (1394422560,), (1394422564,), (1394422567,), (1394422569,), (1394422585,), (1394422587,), (1394422589,), (1394422591,), (1394422621,), (1394422623,), (1394422628,), (1394422633,), (1394422638,), (1394422643,), (1394422653,), (1394422700,), (1394422708,), (1394422732,), (1394422734,), (1394422736,), (1394422738,), (1394422755,), (1394422757,), (1394422758,), (1394422760,), (1394422762,), (1394422779,), (1394422781,), (1394422784,), (1394422788,), (1394422794,), (1394422826,), (1394422828,), (1394422830,), (1394422897,), (1394422899,), (1394422900,), (1394422902,), (1394423237,), (1394423270,), (1394423300,), (1394423305,), (1394423701,), (1394423748,), (1394423780,), (1394424140,), (1394424154,), (1394424186,), (1394424317,), (1394424329,), (1394424362,), (1394424392,), (1394424423,), (1394424455,), (1394424820,), (1394424850,), (1394424881,), (1394424886,), (1394424903,), (1394424917,), (1394425119,), (1394425124,), (1394425127,), (1394425139,), (1394425140,), (1394425144,), (1394425151,), (1394425156,), (1394425211,), (1394425212,), (1394425220,), (1394425394,), (1394425477,), (1394425543,), (1394425191,), (1394425207,), (1394425209,), (1394425230,), (1394425253,), (1394425288,), (1394425332,), (1394425369,), (1394425791,), (1394425853,), (1394425915,), (1394426660,), (1394426722,), (1394426785,), (1394426863,), (1394427343,), (1394427374,), (1394427377,), (1394427395,), (1394427404,), (1394427413,), (1394427666,), (1394427702,), (1394427734,), (1394428312,), (1394428362,), (1394428399,), (1394428411,), (1394428416,), (1394428421,), (1394428568,), (1394428604,), (1394428611,), (1394428616,), (1394428630,), (1394428656,), (1394428714,), (1394428716,), (1394428718,), (1394428732,), (1394429415,), (1394429455,), (1394429491,), (1394429530,), (1394429563,), (1394429579,), (1394429847,), (1394429849,), (1394429853,), (1394429889,), (1394429891,), (1394430016,), (1394430017,), (1394430018,), (1394430020,), (1394430023,), (1394430025,), (1394430317,), (1394430351,), (1394430362,), (1394430915,), (1394430948,), (1394430984,), (1394431020,), (1394431126,), (1394431161,), (1394431194,), (1394431230,), (1394431475,), (1394431377,), (1394431411,), (1394431441,), (1394431551,), (1394431555,), (1394431565,), (1394431569,), (1394431574,), (1394431579,), (1394431845,), (1394431879,), (1394431913,), (1394431950,), (1394431965,), (1394431994,), (1394431996,), (1394431997,), (1394432000,), (1394432010,), (1394432384,), (1394432416,), (1394432449,), (1394432484,), (1394432533,), (1394432579,), (1394432720,), (1394432755,), (1394432788,), (1394432823,), (1394432859,), (1394432985,), (1394433022,), (1394433058,), (1394433096,), (1394433389,), (1394433393,), (1394433397,), (1394433400,), (1394433404,), (1394433408,), (1394433449,), (1394433482,), (1394433514,), (1394433840,), (1394433841,), (1394433868,), (1394433902,), (1394433939,), (1394433975,), (1394434000,), (1394434001,), (1394434002,), (1394434009,), (1394434016,), (1394434042,), (1394434078,), (1394434113,), (1394434318,), (1394434320,), (1394434321,), (1394434323,), (1394434380,), (1394434382,), (1394434386,), (1394434392,), (1394434397,), (1394434401,), (1394434460,), (1394434486,), (1394434534,), (1394434538,), (1394434544,), (1394434548,), (1394434553,), (1394434559,), (1394434632,), (1394434635,), (1394434637,), (1394434684,), (1394434693,), (1394434710,), (1394434722,), (1394434663,), (1394434665,), (1394434667,), (1394434675,), (1394434741,), (1394434756,), (1394434760,), (1394434762,), (1394434774,), (1394434829,), (1394434830,), (1394434831,), (1394434833,), (1394434837,), (1394434841,), (1394434857,), (1394434860,), (1394434863,), (1394434867,), (1394434890,), (1394434893,), (1394434895,), (1394434898,), (1394434900,), (1394434911,), (1394434966,), (1394434967,), (1394434968,), (1394434971,), (1394434992,), (1394434995,), (1394434998,), (1394435009,), (1394435016,), (1394435019,), (1394435165,), (1394435166,), (1394435169,), (1394435336,), (1394435339,), (1394435341,), (1394435343,), (1394435346,), (1394435348,), (1394435375,), (1394435377,), (1394435379,), (1394435382,), (1394435387,), (1394435407,), (1394435410,), (1394435412,), (1394435414,), (1394435479,), (1394435481,), (1394435483,), (1394435487,), (1394435492,), (1394435496,), (1394435518,), (1394435522,), (1394435525,), (1394435528,), (1394435568,), (1394435570,), (1394435572,), (1394435575,), (1394435580,), (1394435582,), (1394435600,), (1394435603,), (1394435606,), (1394435614,), (1394435686,), (1394435681,), (1394435682,), (1394435683,), (1394435710,), (1394435718,), (1394435726,), (1394435739,), (1394435748,), (1394435785,), (1394435792,), (1394435793,), (1394435795,), (1394435799,), (1394435802,), (1394435820,), (1394435821,), (1394435823,), (1394435826,), (1394435919,), (1394435921,), (1394435923,), (1394435926,), (1394435929,), (1394435933,), (1394435975,), (1394435978,), (1394435980,), (1394435982,), (1394435986,), (1394436029,), (1394436031,), (1394436032,), (1394436034,), (1394436035,), (1394436039,), (1394436082,), (1394436104,), (1394436110,), (1394436119,), (1394436130,), (1394436141,), (1394436167,), (1394436169,), (1394436171,), (1394436174,), (1394436179,), (1394436206,), (1394436211,), (1394436225,), (1394436241,), (1394436245,), (1394436249,), (1394436272,), (1394436273,), (1394436274,), (1394436276,), (1394436324,), (1394436332,), (1394436335,), (1394436339,), (1394436343,), (1394436347,), (1394437846,), (1394437511,), (1394437571,), (1394437639,), (1394437729,), (1394438422,), (1394438444,), (1394438450,), (1394438484,), (1394438951,), (1394438984,), (1394439017,), (1394439029,), (1394439193,), (1394439205,), (1394439229,), (1394439236,), (1394439264,), (1394439268,), (1394439270,), (1394439272,), (1394439275,), (1394439277,), (1394439298,), (1394439299,), (1394439300,), (1394439310,), (1394439323,), (1394439330,), (1394439346,), (1394439348,), (1394439351,), (1394439354,), (1394439388,), (1394439391,), (1394439392,), (1394439394,), (1394439398,), (1394439403,), (1394439469,), (1394439475,), (1394439478,), (1394439504,), (1394439506,), (1394439507,), (1394439509,), (1394439510,), (1394439513,), (1394439683,), (1394439685,), (1394439687,), (1394439880,), (1394439888,), (1394439918,), (1394440021,), (1394440024,), (1394440026,), (1394440031,), (1394440034,), (1394440055,), (1394440081,), (1394440085,), (1394440092,), (1394440098,), (1394440103,), (1394440248,), (1394440236,), (1394440241,), (1394440245,), (1394440381,), (1394440400,), (1394440417,), (1394440418,), (1394440420,), (1394440422,), (1394440472,), (1394440475,), (1394440477,), (1394440499,), (1394440531,), (1394440753,), (1394440756,), (1394440757,), (1394440763,), (1394440793,), (1394440796,), (1394440798,), (1394440801,), (1394440805,), (1394440812,), (1394440847,), (1394440852,), (1394440864,), (1394441122,), (1394441124,), (1394441127,), (1394441130,), (1394441134,), (1394441138,), (1394441151,), (1394441154,), (1394441156,), (1394441158,), (1394441161,), (1394441164,), (1394441220,), (1394441222,), (1394441223,), (1394441224,), (1394441225,), (1394441255,), (1394441261,), (1394441272,), (1394441280,), (1394441285,), (1394441289,), (1394441357,), (1394441389,), (1394441419,), (1394441781,), (1394441783,), (1394441786,), (1394441790,), (1394441824,), (1394441885,), (1394441917,), (1394441950,), (1394441982,), (1394441985,), (1394441989,), (1394442024,), (1394442032,), (1394442034,), (1394442084,), (1394442086,), (1394442089,), (1394442093,), (1394442098,), (1394442102,), (1394442136,), (1394442139,), (1394442141,), (1394442145,), (1394442147,), (1394442150,), (1394442153,), (1394442125,), (1394442131,), (1394442134,), (1394442240,), (1394442273,), (1394442307,), (1394442357,), (1394442397,), (1394442435,), (1394442502,), (1394442505,), (1394442507,), (1394442512,), (1394442517,), (1394442521,), (1394442533,), (1394442535,), (1394442537,), (1394442539,), (1394442542,), (1394442546,), (1394442575,), (1394442578,), (1394442580,), (1394442582,), (1394442723,), (1394442759,), (1394442793,), (1394442828,), (1394442866,), (1394443031,), (1394443033,), (1394443056,), (1394443063,), (1394443074,), (1394443178,), (1394443248,), (1394443315,), (1394443331,), (1394443337,), (1394443405,), (1394443407,), (1394443408,), (1394443551,), (1394443553,), (1394443555,), (1394443557,), (1394443593,), (1394443596,), (1394443599,), (1394443605,), (1394443611,), (1394443643,), (1394443651,), (1394443653,), (1394443655,), (1394443659,), (1394443686,), (1394443687,), (1394443691,), (1394443698,), (1394443700,), (1394443705,), (1394443725,), (1394443728,), (1394443733,), (1394443737,), (1394443796,), (1394443798,), (1394443799,), (1394443807,), (1394443810,), (1394443878,), (1394443865,), (1394443867,), (1394443869,), (1394443872,), (1394443875,), (1394443904,), (1394443907,), (1394443909,), (1394443911,), (1394444048,), (1394444051,), (1394444054,), (1394444057,), (1394444062,), (1394444067,), (1394444084,), (1394444086,), (1394444130,), (1394444132,), (1394444134,), (1394444138,), (1394444143,), (1394444161,), (1394444204,), (1394444206,), (1394444208,), (1394444211,), (1394444217,), (1394444222,), (1394444260,), (1394444263,), (1394444266,), (1394444270,), (1394444275,), (1394444278,), (1394444310,), (1394444318,), (1394444321,), (1394444323,), (1394444339,), (1394444342,), (1394444375,), (1394444377,), (1394444378,), (1394444382,), (1394444412,), (1394444414,), (1394444416,), (1394444425,), (1394444430,), (1394444434,), (1394444471,), (1394444474,), (1394444476,), (1394444478,), (1394444481,), (1394444545,), (1394444548,), (1394444550,), (1394444554,), (1394444587,), (1394444589,), (1394444591,), (1394444593,), (1394444596,), (1394444599,), (1394444661,), (1394444665,), (1394444670,), (1394444678,), (1394444683,), (1394444739,), (1394444706,), (1394444721,), (1394444727,), (1394444735,), (1394444801,), (1394444803,), (1394444805,), (1394444808,), (1394444856,), (1394444860,), (1394444862,), (1394444866,), (1394445170,), (1394445202,), (1394445234,), (1394445251,), (1394445255,), (1394445257,), (1394445440,), (1394445467,), (1394445468,), (1394445469,), (1394445587,), (1394445590,), (1394445593,), (1394445597,), (1394445602,), (1394445645,), (1394445647,), (1394445651,), (1394445660,), (1394445663,), (1394445695,), (1394445696,), (1394445697,), (1394445698,), (1394445701,), (1394445722,), (1394445725,), (1394445728,), (1394445732,), (1394445737,), (1394445755,), (1394445784,), (1394445786,), (1394445863,), (1394445864,), (1394445865,), (1394445911,), (1394446155,), (1394446257,), (1394446258,), (1394446260,), (1394446263,), (1394446267,), (1394446628,), (1394446632,), (1394446642,), (1394446655,), (1394446658,), (1394446665,), (1394446700,), (1394446693,), (1394446696,), (1394446698,), (1394446907,), (1394446911,), (1394446914,), (1394446919,), (1394447333,), (1394447342,), (1394447343,), (1394447446,), (1394447500,), (1394447538,), (1394447543,), (1394447546,), (1394447586,), (1394447595,), (1394447600,), (1394447604,), (1394447619,), (1394447662,), (1394447663,), (1394447664,), (1394447673,), (1394447677,), (1394447681,), (1394447708,), (1394447711,), (1394447713,), (1394447759,), (1394447764,), (1394447769,), (1394447775,), (1394447872,), (1394447875,), (1394447876,), (1394447877,), (1394447879,), (1394447901,), (1394447903,), (1394447905,), (1394447907,), (1394447912,), (1394447915,), (1394447948,), (1394447951,), (1394448002,), (1394448004,), (1394448006,), (1394448009,), (1394448012,), (1394448064,), (1394448067,), (1394448068,), (1394448072,), (1394448076,), (1394448102,), (1394448114,), (1394448124,), (1394448135,), (1394448196,), (1394448198,), (1394448199,), (1394448201,), (1394448205,), (1394448262,), (1394448264,), (1394448267,), (1394448270,), (1394448278,), (1394450222,), (1394452628,), (1394452631,), (1394452701,), (1394452703,), (1394453409,), (1394454189,), (1394454924,), (1394454985,), (1394455466,), (1394455500,), (1394455542,), (1394455904,), (1394455906,), (1394455908,), (1394455911,), (1394455948,), (1394456359,), (1394456361,), (1394456389,), (1394456428,), (1394456461,), (1394456566,), (1394456569,), (1394456571,), (1394456574,), (1394456579,), (1394456582,), (1394456606,), (1394456608,), (1394456610,), (1394456614,), (1394456619,), (1394456829,), (1394456862,), (1394456896,), (1394456930,), (1394456971,), (1394457314,), (1394457362,), (1394457365,), (1394457368,), (1394457370,), (1394457372,), (1394457388,), (1394457391,), (1394457394,), (1394457400,), (1394457450,), (1394457432,), (1394457435,), (1394457438,), (1394457442,), (1394457445,), (1394457480,), (1394457482,), (1394457483,), (1394457524,), (1394457525,), (1394457526,), (1394457528,), (1394457533,), (1394457557,), (1394457559,), (1394457562,), (1394457600,), (1394457602,), (1394457603,), (1394457641,), (1394457642,), (1394457644,), (1394457646,), (1394457666,), (1394457707,), (1394457710,), (1394457713,), (1394457747,), (1394457893,), (1394457916,), (1394457918,), (1394457922,), (1394457925,), (1394457952,), (1394457954,), (1394457956,), (1394457959,), (1394457964,), (1394458139,), (1394458160,), (1394458164,), (1394458170,), (1394458215,), (1394458218,), (1394458222,), (1394458226,), (1394458230,), (1394458232,), (1394458249,), (1394458250,), (1394458251,), (1394458252,), (1394458290,), (1394458293,), (1394458296,), (1394458299,), (1394458308,), (1394458352,), (1394458354,), (1394458355,), (1394458356,), (1394458390,), (1394458397,), (1394458398,), (1394458399,), (1394458402,), (1394458403,), (1394458436,), (1394458440,), (1394458444,), (1394458452,), (1394458454,), (1394458460,), (1394458463,), (1394458428,), (1394458430,), (1394458433,), (1394458471,), (1394458474,), (1394458476,), (1394458480,), (1394458484,), (1394458486,), (1394458501,), (1394458503,), (1394458505,), (1394458536,), (1394458539,), (1394458540,), (1394458544,), (1394458548,), (1394458552,), (1394458603,), (1394458605,), (1394458607,), (1394458609,), (1394458810,), (1394458813,), (1394458815,), (1394458845,), (1394458859,), (1394458959,), (1394458991,), (1394459008,), (1394459013,), (1394459064,), (1394459067,), (1394459070,), (1394459073,), (1394459077,), (1394459099,), (1394459101,), (1394459102,), (1394459103,), (1394459107,), (1394459108,), (1394459136,), (1394459138,), (1394459140,), (1394459143,), (1394459148,), (1394459150,), (1394459202,), (1394459203,), (1394459204,), (1394459208,), (1394459313,), (1394459315,), (1394459317,), (1394459320,), (1394459324,), (1394459351,), (1394459353,), (1394459354,), (1394459356,), (1394459389,), (1394459392,), (1394459394,), (1394459396,), (1394459399,), (1394459403,), (1394459480,), (1394459483,), (1394459485,), (1394459490,), (1394459495,), (1394459497,), (1394459509,), (1394459511,), (1394459516,), (1394459522,), (1394459541,), (1394459529,), (1394459530,), (1394459533,), (1394459537,), (1394459540,), (1394459559,), (1394459560,), (1394459561,), (1394459563,), (1394459646,), (1394459649,), (1394459652,), (1394459656,), (1394459661,), (1394459664,), (1394459684,), (1394459686,), (1394459688,), (1394459690,), (1394459693,), (1394459713,), (1394459772,), (1394459854,), (1394459855,), (1394459856,), (1394459881,), (1394459885,), (1394459887,), (1394459890,), (1394459893,), (1394459895,), (1394459919,), (1394459921,), (1394459923,), (1394459926,), (1394459949,), (1394459950,), (1394459952,), (1394459956,), (1394459960,), (1394459982,), (1394459984,), (1394459986,), (1394459990,), (1394459995,), (1394459999,), (1394460015,), (1394460017,), (1394460018,), (1394460020,), (1394460064,), (1394460074,), (1394460076,), (1394460081,), (1394460084,), (1394460088,), (1394460100,), (1394460104,), (1394460109,), (1394460114,), (1394460118,), (1394460127,), (1394460128,), (1394460131,), (1394460134,), (1394460137,), (1394460174,), (1394460176,), (1394460179,), (1394460216,), (1394460230,), (1394460234,), (1394460165,), (1394460168,), (1394460171,), (1394460184,), (1394460186,), (1394460190,), (1394460194,), (1394460197,), (1394460200,), (1394460267,), (1394460269,), (1394460272,), (1394460275,), (1394460276,), (1394460305,), (1394460306,), (1394460307,), (1394460309,), (1394460313,), (1394460336,), (1394460338,), (1394460340,), (1394460342,), (1394460344,), (1394460374,), (1394460376,), (1394460378,), (1394460381,), (1394460415,), (1394460422,), (1394460438,), (1394460440,), (1394460463,), (1394460464,), (1394460465,), (1394460467,), (1394460471,), (1394460474,), (1394460524,), (1394460526,), (1394460527,), (1394460528,), (1394460563,), (1394460564,), (1394460565,), (1394460566,), (1394460570,), (1394460573,), (1394460632,), (1394460635,), (1394460637,), (1394460648,), (1394460721,), (1394460748,), (1394460792,), (1394460827,), (1394460848,), (1394460938,), (1394460940,), (1394460943,), (1394460948,), (1394461129,), (1394461161,), (1394461195,), (1394461230,), (1394461264,), (1394461292,), (1394461301,), (1394461302,), (1394461304,), (1394461397,), (1394461402,), (1394461407,), (1394461431,), (1394461447,), (1394461451,), (1394461480,), (1394461477,), (1394461478,), (1394461479,), (1394461545,), (1394461548,), (1394461550,), (1394461555,), (1394461559,), (1394461563,), (1394461747,), (1394461749,), (1394461761,), (1394461821,), (1394462154,), (1394462162,), (1394462163,), (1394462164,), (1394462167,), (1394462169,), (1394462199,), (1394462200,), (1394462201,), (1394462204,), (1394462228,), (1394462231,), (1394462234,), (1394462238,), (1394462243,), (1394462248,), (1394462303,), (1394462305,), (1394462307,), (1394462309,), (1394462314,), (1394462337,), (1394462339,), (1394462341,), (1394462346,), (1394462380,), (1394462382,), (1394462384,), (1394462386,), (1394462390,), (1394462427,), (1394462429,), (1394462431,), (1394462434,), (1394462438,), (1394462472,), (1394462480,), (1394462482,), (1394462485,), (1394462490,), (1394462591,), (1394462593,), (1394462594,), (1394462595,), (1394462599,), (1394462601,), (1394462626,), (1394462629,), (1394462637,), (1394462646,), (1394462652,), (1394462680,), (1394462682,), (1394462683,), (1394462684,), (1394462685,), (1394462712,), (1394462715,), (1394462717,), (1394462720,), (1394462722,), (1394462792,), (1394462873,), (1394462874,), (1394462875,), (1394462930,), (1394462941,), (1394462944,), (1394462767,), (1394462770,), (1394462775,), (1394462779,), (1394462782,), (1394462834,), (1394462837,), (1394462839,), (1394462843,), (1394462846,), (1394462849,), (1394462865,), (1394462868,), (1394462871,), (1394462883,), (1394462886,), (1394462894,), (1394462902,), (1394462905,), (1394462907,), (1394462912,), (1394462915,), (1394462918,), (1394462922,), (1394462926,), (1394462957,), (1394462959,), (1394462960,), (1394462961,), (1394462963,), (1394462965,), (1394462985,), (1394462987,), (1394462989,), (1394463040,), (1394463042,), (1394463044,), (1394463047,), (1394463051,), (1394463055,), (1394463079,), (1394463080,), (1394463081,), (1394463084,), (1394463088,), (1394463103,), (1394463105,), (1394463106,), (1394463107,), (1394463161,), (1394463162,), (1394463163,), (1394463166,), (1394463171,), (1394463173,), (1394463194,), (1394463197,), (1394463200,), (1394463203,), (1394463269,), (1394463275,), (1394463276,), (1394463277,), (1394463281,), (1394463315,), (1394463317,), (1394463319,), (1394463322,), (1394463326,), (1394463361,), (1394463363,), (1394463365,), (1394463368,), (1394463372,), (1394463375,), (1394463407,), (1394463409,), (1394463411,), (1394463412,), (1394463416,), (1394463470,), (1394463456,), (1394463459,), (1394463462,), (1394463465,), (1394463468,), (1394463518,), (1394463519,), (1394463521,), (1394463564,), (1394463567,), (1394463569,), (1394463570,), (1394463572,), (1394463576,), (1394463609,), (1394463611,), (1394463613,), (1394463617,), (1394463621,), (1394463660,), (1394463663,), (1394463666,), (1394463670,), (1394463675,), (1394463679,), (1394463698,), (1394463700,), (1394463703,), (1394463709,), (1394463712,), (1394463750,), (1394463757,), (1394463759,), (1394463763,), (1394463792,), (1394463812,), (1394463814,), (1394463816,), (1394463818,), (1394463859,), (1394463860,), (1394463862,), (1394463903,), (1394463905,), (1394463907,), (1394463909,), (1394463912,), (1394463916,), (1394463956,), (1394463958,), (1394463959,), (1394463960,), (1394463964,), (1394463967,), (1394463991,), (1394463993,), (1394464016,), (1394464049,), (1394464099,), (1394464236,), (1394464238,), (1394464240,), (1394464243,), (1394464248,), (1394464274,), (1394464279,), (1394464285,), (1394464291,), (1394464295,), (1394464299,), (1394464305,), (1394464306,), (1394464659,), (1394464484,), (1394464519,), (1394464555,), (1394464587,), (1394464623,), (1394464920,), (1394464923,), (1394464932,), (1394464937,), (1394464964,), (1394465184,), (1394465199,), (1394465203,), (1394465205,), (1394465208,), (1394465252,), (1394465253,), (1394465255,), (1394465705,), (1394465769,), (1394465834,), (1394465890,), (1394465930,), (1394466230,), (1394466233,), (1394466235,), (1394466238,), (1394466269,), (1394466302,), (1394466476,), (1394466477,), (1394466482,), (1394466558,), (1394466560,), (1394466563,), (1394466566,), (1394466570,), (1394466572,), (1394466601,), (1394466602,), (1394466603,), (1394466608,), (1394466724,), (1394466727,), (1394466730,), (1394466734,), (1394466739,), (1394466742,), (1394466783,), (1394466794,), (1394466796,), (1394466809,), (1394466812,), (1394466997,), (1394467000,), (1394467002,), (1394467005,), (1394467037,), (1394467039,), (1394467041,), (1394467043,), (1394467048,), (1394467232,), (1394467270,), (1394467305,), (1394467349,), (1394467383,), (1394467400,), (1394467606,), (1394467607,), (1394467609,), (1394467613,), (1394467620,), (1394467628,), (1394467719,), (1394467754,), (1394467783,), (1394467880,), (1394467856,), (1394468088,), (1394468130,), (1394468131,), (1394468132,), (1394468134,), (1394468272,), (1394468285,), (1394468287,), (1394468289,), (1394468292,), (1394468297,), (1394468324,), (1394468326,), (1394468328,), (1394468331,), (1394468361,), (1394468364,), (1394468366,), (1394468368,), (1394468372,), (1394468375,), (1394468402,), (1394468403,), (1394468404,), (1394468407,), (1394468411,), (1394468430,), (1394468432,), (1394468434,), (1394468437,), (1394468441,), (1394468443,), (1394468467,), (1394468469,), (1394468474,), (1394468480,), (1394468504,), (1394468506,), (1394468508,), (1394468520,), (1394468535,), (1394468542,), (1394468572,), (1394468574,), (1394468575,), (1394468577,), (1394468608,), (1394468611,), (1394468614,), (1394468618,), (1394468621,), (1394468650,), (1394468651,), (1394468652,), (1394468653,), (1394468654,), (1394468696,), (1394468698,), (1394468700,), (1394468797,), (1394468819,), (1394468824,), (1394468828,), (1394468768,), (1394468771,), (1394468788,), (1394468792,), (1394468795,), (1394468833,), (1394468835,), (1394468837,), (1394468841,), (1394468862,), (1394468863,), (1394468866,), (1394468868,), (1394468872,), (1394468905,), (1394468907,), (1394468909,), (1394468911,), (1394468914,), (1394468916,), (1394468934,), (1394468936,), (1394468938,), (1394468971,), (1394468973,), (1394468975,), (1394468978,), (1394468981,), (1394468985,), (1394469010,), (1394469012,), (1394469014,), (1394469017,), (1394469047,), (1394469048,), (1394469049,), (1394469051,), (1394469055,), (1394469058,), (1394469100,), (1394469102,), (1394469104,), (1394469107,), (1394469112,), (1394469175,), (1394469182,), (1394469186,), (1394469190,), (1394469194,), (1394469198,), (1394469235,), (1394469238,), (1394469240,), (1394469242,), (1394469245,), (1394469252,), (1394469311,), (1394471756,), (1394471754,), (1394471755,), (1394471834,), (1394471836,), (1394471874,), (1394471876,), (1394471878,), (1394471881,), (1394471885,), (1394471889,), (1394471905,), (1394471906,), (1394471908,), (1394471919,), (1394471923,), (1394471925,), (1394471945,), (1394471947,), (1394471949,), (1394471975,), (1394471977,), (1394471979,), (1394472029,), (1394472031,), (1394472034,), (1394472039,), (1394472059,), (1394472060,), (1394472062,), (1394472065,), (1394472069,), (1394472088,), (1394472089,), (1394472090,), (1394472132,), (1394472117,), (1394472119,), (1394472122,), (1394472125,), (1394472129,), (1394472166,), (1394472167,), (1394472168,), (1394472170,), (1394472174,), (1394472196,), (1394472198,), (1394472200,), (1394472203,), (1394472232,), (1394472233,), (1394472234,), (1394472236,), (1394472240,), (1394472243,), (1394472266,), (1394472268,), (1394472270,), (1394472273,), (1394472277,), (1394472281,), (1394472295,), (1394472296,), (1394472297,), (1394472299,), (1394472303,), (1394472340,), (1394472345,), (1394472347,), (1394472372,), (1394472373,), (1394472374,), (1394472376,), (1394472378,), (1394472395,), (1394472397,), (1394472399,), (1394472402,), (1394472404,), (1394472408,), (1394472433,), (1394472434,), (1394472435,), (1394472468,), (1394472469,), (1394472470,), (1394472472,), (1394472476,), (1394472480,), (1394472516,), (1394472517,), (1394472519,), (1394472522,), (1394472526,), (1394472548,), (1394472550,), (1394472552,), (1394472577,), (1394472578,), (1394472579,), (1394472580,), (1394472582,), (1394472612,), (1394472614,), (1394472616,), (1394472643,), (1394472645,), (1394472649,), (1394472653,), (1394472642,), (1394472679,), (1394472681,), (1394472734,), (1394472735,), (1394472736,), (1394472759,), (1394472762,), (1394472766,), (1394472771,), (1394472776,), (1394472789,), (1394472790,), (1394472791,), (1394472793,), (1394472797,), (1394472821,), (1394472823,), (1394472825,), (1394472869,), (1394472870,), (1394472871,), (1394472873,), (1394472878,), (1394472935,), (1394472936,), (1394472938,), (1394472941,), (1394472945,), (1394472950,), (1394473063,), (1394473064,), (1394473094,), (1394473302,), (1394473310,), (1394473326,), (1394473363,), (1394473397,), (1394473432,), (1394473524,), (1394473526,), (1394473528,), (1394473531,), (1394473534,), (1394473539,), (1394473555,), (1394473557,), (1394473558,), (1394473560,), (1394473564,), (1394473606,), (1394473609,), (1394473611,), (1394473614,), (1394473770,), (1394473771,), (1394473773,), (1394473777,), (1394473782,), (1394473786,), (1394473798,), (1394473803,), (1394473805,), (1394473813,), (1394473809,), (1394473811,), (1394473848,), (1394473849,), (1394473851,), (1394473854,), (1394473859,), (1394473890,), (1394473891,), (1394473893,), (1394473920,), (1394473921,), (1394473922,), (1394473923,), (1394474011,), (1394474014,), (1394474016,), (1394474020,), (1394474025,), (1394474028,), (1394474041,), (1394474042,), (1394474043,), (1394474088,), (1394474090,), (1394474092,), (1394474378,), (1394474411,), (1394474441,), (1394474443,), (1394474476,), (1394474478,), (1394474479,), (1394474482,), (1394474487,), (1394474515,), (1394474522,), (1394474524,), (1394474552,), (1394474553,), (1394474554,), (1394474556,), (1394474560,), (1394474586,), (1394474588,), (1394474590,), (1394474593,), (1394474599,), (1394474670,), (1394474672,), (1394474674,), (1394474677,), (1394474682,), (1394474699,), (1394474704,), (1394474709,), (1394474715,), (1394474753,), (1394474747,), (1394474749,), (1394474751,), (1394474790,), (1394474792,), (1394474794,), (1394474796,), (1394474801,), (1394474806,), (1394474819,), (1394474821,), (1394474857,), (1394474859,), (1394474861,), (1394474886,), (1394474887,), (1394474916,), (1394474934,), (1394474935,), (1394474936,), (1394474964,), (1394474966,), (1394474968,), (1394474973,), (1394474977,), (1394474999,), (1394475001,), (1394475005,), (1394475011,), (1394475016,), (1394475031,), (1394475043,), (1394475045,), (1394475048,), (1394475121,), (1394475122,), (1394475123,), (1394475124,), (1394475126,), (1394475130,), (1394475192,), (1394475209,), (1394475242,), (1394475277,), (1394475312,), (1394475692,), (1394475708,), (1394475838,), (1394475860,), (1394475862,), (1394475866,), (1394475870,), (1394475874,), (1394475887,), (1394475888,), (1394475890,), (1394475893,), (1394475896,), (1394475918,), (1394475910,), (1394475912,), (1394475914,), (1394475939,), (1394475940,), (1394475941,), (1394475942,), (1394475945,), (1394475949,), (1394475972,), (1394476061,), (1394476063,), (1394476089,), (1394476090,), (1394476091,), (1394476093,), (1394476129,), (1394476130,), (1394476132,), (1394476136,), (1394476141,), (1394476159,), (1394476160,), (1394476161,), (1394476193,), (1394476195,), (1394476197,), (1394476201,), (1394476220,), (1394476221,), (1394476222,), (1394476225,), (1394476230,), (1394476232,), (1394476253,), (1394476255,), (1394476257,), (1394476281,), (1394476282,), (1394476283,), (1394476286,), (1394476289,), (1394476319,), (1394476320,), (1394476324,), (1394476329,), (1394476346,), (1394476347,), (1394476348,), (1394476350,), (1394476382,), (1394476384,), (1394476386,), (1394476388,), (1394476392,), (1394476396,), (1394476422,), (1394476425,), (1394476428,), (1394476439,), (1394476441,), (1394476444,), (1394476446,), (1394476410,), (1394476417,), (1394476419,), (1394476449,), (1394476450,), (1394476452,), (1394476456,), (1394476458,), (1394476475,), (1394476476,), (1394476478,), (1394476481,), (1394476486,), (1394476490,), (1394476501,), (1394476502,), (1394476503,), (1394476505,), (1394476509,), (1394476524,), (1394476526,), (1394476528,), (1394476532,), (1394476537,), (1394476541,), (1394476580,), (1394476581,), (1394476582,), (1394476583,), (1394476599,), (1394476601,), (1394476603,), (1394476606,), (1394476609,), (1394476628,), (1394476630,), (1394476631,), (1394476633,), (1394476636,), (1394476666,), (1394476669,), (1394476672,), (1394476677,), (1394476682,), (1394476686,), (1394476703,), (1394476710,), (1394476738,), (1394476739,), (1394476740,), (1394476743,), (1394476746,), (1394476773,), (1394476775,), (1394476777,), (1394476781,), (1394476804,), (1394476805,), (1394476847,), (1394476853,), (1394476855,), (1394476876,), (1394477236,), (1394477620,), (1394477929,), (1394477961,), (1394477997,), (1394478034,), (1394478071,), (1394478396,), (1394478397,), (1394478398,), (1394478401,), (1394478406,), (1394478804,), (1394478849,), (1394478881,), (1394478929,), (1394478977,), (1394479230,), (1394479243,), (1394479274,), (1394479309,), (1394479444,), (1394479445,), (1394479446,), (1394479449,), (1394479454,), (1394479684,), (1394479716,), (1394479748,), (1394479793,), (1394479859,), (1394480490,), (1394480545,), (1394480576,), (1394480619,), (1394480679,), (1394480839,), (1394480851,), (1394481128,), (1394481129,), (1394481163,), (1394481215,), (1394481995,), (1394482060,), (1394482122,), (1394482183,), (1394482250,), (1394482509,), (1394482541,), (1394482586,), (1394483006,), (1394483038,), (1394483039,), (1394483060,), (1394483062,), (1394483065,), (1394483068,), (1394483109,), (1394483099,), (1394483100,), (1394483101,), (1394483104,), (1394483125,), (1394483127,), (1394483129,), (1394483157,), (1394483158,), (1394483159,), (1394483184,), (1394483186,), (1394483188,), (1394483190,), (1394483523,), (1394483551,), (1394483645,), (1394483725,), (1394483997,), (1394483998,), (1394483999,), (1394484000,), (1394484005,), (1394484198,), (1394484204,), (1394484235,), (1394484245,), (1394484256,), (1394484313,), (1394484314,), (1394484346,), (1394484347,), (1394484348,), (1394484350,), (1394484352,), (1394484374,), (1394484376,), (1394484378,), (1394484381,), (1394484416,), (1394484418,), (1394484419,), (1394484422,), (1394484442,), (1394484443,), (1394484444,), (1394484482,), (1394484484,), (1394484486,), (1394484890,), (1394484921,), (1394484956,), (1394484989,), (1394485465,), (1394485496,), (1394485528,), (1394485880,), (1394485872,), (1394485875,), (1394485877,), (1394485907,), (1394485908,), (1394485909,), (1394485936,), (1394485945,), (1394485982,), (1394485983,), (1394485984,), (1394485987,), (1394485990,), (1394486008,), (1394486010,), (1394486475,), (1394486505,), (1394486541,), (1394486577,), (1394486614,), (1394486651,), (1394486978,), (1394487025,), (1394487059,), (1394487187,), (1394487220,), (1394487418,), (1394487419,), (1394487420,), (1394487775,), (1394487806,), (1394487838,), (1394488076,), (1394488139,), (1394488190,), (1394488306,), (1394488309,), (1394488323,), (1394488326,), (1394488330,), (1394488334,), (1394488346,), (1394488347,), (1394488348,), (1394488350,), (1394488352,), (1394488355,), (1394488370,), (1394488375,), (1394488377,), (1394488394,), (1394488396,), (1394488397,), (1394488399,), (1394488402,), (1394488439,), (1394488448,), (1394488451,), (1394488453,), (1394488454,), (1394488455,), (1394488547,), (1394488564,), (1394488568,), (1394488662,), (1394488696,), (1394488427,), (1394488428,), (1394488430,), (1394488434,), (1394488437,), (1394488490,), (1394488493,), (1394488496,), (1394488507,), (1394488516,), (1394488518,), (1394488529,), (1394488532,), (1394488535,), (1394488542,), (1394488545,), (1394488551,), (1394488555,), (1394488559,), (1394488562,), (1394488832,), (1394488863,), (1394488896,), (1394488930,), (1394489312,), (1394489345,), (1394489576,), (1394489616,), (1394489957,), (1394490078,), (1394490114,), (1394490152,), (1394490188,), (1394490499,), (1394490533,), (1394490846,), (1394491525,), (1394491574,), (1394491612,), (1394491624,), (1394491629,), (1394491631,), (1394491920,), (1394491956,), (1394492002,), (1394492040,), (1394492362,), (1394492367,), (1394492375,), (1394492396,), (1394492412,), (1394492447,), (1394492450,), (1394492453,), (1394492457,), (1394492633,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14112025': {'nb_upload': 43, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28520950]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348] map_info['map_portfolio_photo'] : {28520950: [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348]} final : True mtd_id 4302 list_pids : [1394365071, 1394365013, 1394365007, 1394365001, 1394364846, 1394364815, 1394364805, 1394364023, 1394363687, 1394363619, 1394363542, 1394363363, 1394363330, 1394363296, 1394363258, 1394363199, 1394363196, 1394363193, 1394363187, 1394363167, 1394363130, 1394363061, 1394363031, 1394363027, 1394363024, 1394363022, 1394362981, 1394362980, 1394362979, 1394362978, 1394362967, 1394362909, 1394362872, 1394362837, 1394362798, 1394362761, 1394362727, 1394362520, 1394362518, 1394362382, 1394362379, 1394362375, 1394362348] Looping around the photos to save general results len do output : 1 /28520950Didn'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, '4052359') ('4302', '28520950', '1394365071', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365013', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365007', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394365001', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364846', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364815', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364805', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394364023', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363687', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363619', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363542', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363363', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363330', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363296', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363258', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363199', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363196', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363193', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363187', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363167', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363130', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363061', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363031', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363027', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363024', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394363022', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362981', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362980', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362979', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362978', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362967', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362909', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362872', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362837', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362798', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362761', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362727', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362520', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362518', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362382', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362379', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362375', None, None, None, None, None, '4052359') ('4302', None, None, None, None, None, None, None, '4052359') ('4302', '28520950', '1394362348', None, None, None, None, None, '4052359') 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', None, '28520950', 'None', None, None, None, None, '4052359'), ('4302', '28520950', '1394365071', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365013', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365007', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394365001', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364846', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364815', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364805', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394364023', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363687', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363619', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363542', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363363', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363330', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363296', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363258', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363199', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363196', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363193', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363187', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363167', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363130', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363061', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363031', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363027', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363024', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394363022', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362981', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362980', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362979', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362978', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362967', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362909', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362872', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362837', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362798', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362761', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362727', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362520', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362518', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362382', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362379', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362375', None, None, None, None, None, '4052359'), ('4302', '28520950', '1394362348', None, None, None, None, None, '4052359')] time used for this insertion : 0.017978906631469727 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.24062442779541 time spend to save output : 0.018410921096801758 total time spend for step 5 : 7.259035348892212 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 (4052359) 3.46user 2.37system 0:24.41elapsed 23%CPU (0avgtext+0avgdata 170156maxresident)k 208inputs+40360outputs (0major+88339minor)pagefaults 0swaps