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 : 226133 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 (2726163) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2726163) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22042800 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2726163'] with mtr_portfolio_ids : ['22042800'] and first list_photo_ids : [] new path : /proc/226133/ Name: python3 Umask: 0002 State: R (running) Tgid: 226133 Ngid: 0 Pid: 226133 PPid: 226131 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 226133 NSpid: 226133 NSpgid: 224774 NSsid: 224774 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98716 kB VmRSS: 98716 kB RssAnon: 59756 kB RssFile: 38960 kB RssShmem: 0 kB VmData: 865676 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 552 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 84 nonvoluntary_ctxt_switches: 128 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '226133', 'Ngid': '0', 'Pid': '226133', 'PPid': '226131', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '226133', 'NSpid': '226133', 'NSpgid': '224774', 'NSsid': '224774', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98716 kB', 'VmRSS': '98716 kB', 'RssAnon': '59756 kB', 'RssFile': '38960 kB', 'RssShmem': '0 kB', 'VmData': '865676 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '552 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '84', 'nonvoluntary_ctxt_switches': '128'} ('datou_batch_current', '226133', '1106928', '0', '1106928', '865676', '98716', b'', 'marlene', '2726163') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (22042800) 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 (2726163 ) ) 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 (22042800) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1349841394, 'portfolio_id': 22042800}, {'photo_id': 1349841356, 'portfolio_id': 22042800}, {'photo_id': 1349841213, 'portfolio_id': 22042800}, {'photo_id': 1349841184, 'portfolio_id': 22042800}, {'photo_id': 1349841111, 'portfolio_id': 22042800}, {'photo_id': 1349841085, 'portfolio_id': 22042800}, {'photo_id': 1349841059, 'portfolio_id': 22042800}, {'photo_id': 1349841030, 'portfolio_id': 22042800}, {'photo_id': 1349840953, 'portfolio_id': 22042800}, {'photo_id': 1349840928, 'portfolio_id': 22042800}, {'photo_id': 1349840903, 'portfolio_id': 22042800}, {'photo_id': 1349840882, 'portfolio_id': 22042800}, {'photo_id': 1349840860, 'portfolio_id': 22042800}, {'photo_id': 1349840835, 'portfolio_id': 22042800}, {'photo_id': 1349840725, 'portfolio_id': 22042800}, {'photo_id': 1349840722, 'portfolio_id': 22042800}, {'photo_id': 1349840687, 'portfolio_id': 22042800}, {'photo_id': 1349840679, 'portfolio_id': 22042800}, {'photo_id': 1349840653, 'portfolio_id': 22042800}, {'photo_id': 1349840641, 'portfolio_id': 22042800}, {'photo_id': 1349840617, 'portfolio_id': 22042800}, {'photo_id': 1349840608, 'portfolio_id': 22042800}, {'photo_id': 1349840370, 'portfolio_id': 22042800}, {'photo_id': 1349840326, 'portfolio_id': 22042800}, {'photo_id': 1349840283, 'portfolio_id': 22042800}, {'photo_id': 1349840236, 'portfolio_id': 22042800}, {'photo_id': 1349840204, 'portfolio_id': 22042800}, {'photo_id': 1349840145, 'portfolio_id': 22042800}, {'photo_id': 1349839993, 'portfolio_id': 22042800}, {'photo_id': 1349839944, 'portfolio_id': 22042800}, {'photo_id': 1349839576, 'portfolio_id': 22042800}, {'photo_id': 1349839174, 'portfolio_id': 22042800}, {'photo_id': 1349839129, 'portfolio_id': 22042800}, {'photo_id': 1349838835, 'portfolio_id': 22042800}, {'photo_id': 1349838809, 'portfolio_id': 22042800}, {'photo_id': 1349838806, 'portfolio_id': 22042800}, {'photo_id': 1349838794, 'portfolio_id': 22042800}, {'photo_id': 1349838761, 'portfolio_id': 22042800}, {'photo_id': 1349838743, 'portfolio_id': 22042800}, {'photo_id': 1349838594, 'portfolio_id': 22042800}] map_portfolio_id_photo_id: {22042800: [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594]} ##### 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.016056299209594727 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Apr 4 12:21: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 (22042800) 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 : 22042800 get user id for portfolio 22042800 get sub ptf for main ptf 22042800, type 3726 and hashtags ['plastique', 'papier', 'autre_refus', 'flou', 'kraft', 'metal', 'Teint_Dans_La_Masse', 'Carton_brun', 'mal_croppe', 'cartonnette', 'Carton_gris', 'environnement'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22042800 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','papier','autre_refus','flou','kraft','metal','Teint_Dans_La_Masse','Carton_brun','mal_croppe','cartonnette','Carton_gris','environnement')) 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`=22042800 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','papier','autre_refus','flou','kraft','metal','Teint_Dans_La_Masse','Carton_brun','mal_croppe','cartonnette','Carton_gris','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 22042800, 'sub_port_id': 22043540, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535261, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'plastique': {'main_port_id': 22042800, 'sub_port_id': 22043541, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535262, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'kraft': {'main_port_id': 22042800, 'sub_port_id': 22043542, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535263, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'Carton_gris': {'main_port_id': 22042800, 'sub_port_id': 22043543, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535264, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'Carton_brun': {'main_port_id': 22042800, 'sub_port_id': 22043544, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535265, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'cartonnette': {'main_port_id': 22042800, 'sub_port_id': 22043545, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535266, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'Teint_Dans_La_Masse': {'main_port_id': 22042800, 'sub_port_id': 22043546, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535267, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'autre_refus': {'main_port_id': 22042800, 'sub_port_id': 22043547, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535268, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'mal_croppe': {'main_port_id': 22042800, 'sub_port_id': 22043548, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535269, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'metal': {'main_port_id': 22042800, 'sub_port_id': 22043549, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535270, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'papier': {'main_port_id': 22042800, 'sub_port_id': 22043550, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535271, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}, 'environnement': {'main_port_id': 22042800, 'sub_port_id': 22043551, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535272, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22043540 , 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=22042800 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 (22043540) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043541 , 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=22042800 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 (22043541) result : ((1350036884,), (1350043447,), (1350043449,), (1350043450,), (1350043451,), (1350043452,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043542 , 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=22042800 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 (22043542) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043543 , 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=22042800 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 (22043543) result : ((1350036753,), (1350036754,), (1350036756,), (1350036758,), (1350043417,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043544 , 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=22042800 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 (22043544) result : ((1350036848,), (1350036850,), (1350036851,), (1350043433,), (1350043436,), (1350043437,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043545 , 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=22042800 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 (22043545) result : ((1350036800,), (1350036801,), (1350043424,), (1350043425,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043546 , 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=22042800 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 (22043546) result : ((1350036666,), (1350036668,), (1350036670,), (1350036672,), (1350036673,), (1350043378,), (1350043379,), (1350043380,), (1350043381,), (1350043382,), (1350043383,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043547 , 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=22042800 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 (22043547) result : ((1350043400,), (1350043401,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043548 , 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=22042800 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 (22043548) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043549 , 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=22042800 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 (22043549) result : ((1350043478,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043550 , 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=22042800 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 (22043550) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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 22043551 , 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=22042800 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 (22043551) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22042800) result : ((1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,)) 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`=22042800 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','papier','autre_refus','flou','kraft','metal','Teint_Dans_La_Masse','Carton_brun','mal_croppe','cartonnette','Carton_gris','environnement')) 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`=22042800 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','papier','autre_refus','flou','kraft','metal','Teint_Dans_La_Masse','Carton_brun','mal_croppe','cartonnette','Carton_gris','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 22042800, 'sub_port_id': 22043555, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535273, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'plastique': {'main_port_id': 22042800, 'sub_port_id': 22043556, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535274, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'kraft': {'main_port_id': 22042800, 'sub_port_id': 22043558, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535275, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'Carton_gris': {'main_port_id': 22042800, 'sub_port_id': 22043559, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535276, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'Carton_brun': {'main_port_id': 22042800, 'sub_port_id': 22043560, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535277, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'cartonnette': {'main_port_id': 22042800, 'sub_port_id': 22043562, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535278, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'Teint_Dans_La_Masse': {'main_port_id': 22042800, 'sub_port_id': 22043563, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535279, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'autre_refus': {'main_port_id': 22042800, 'sub_port_id': 22043565, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535280, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'mal_croppe': {'main_port_id': 22042800, 'sub_port_id': 22043566, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535281, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'metal': {'main_port_id': 22042800, 'sub_port_id': 22043567, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535282, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'papier': {'main_port_id': 22042800, 'sub_port_id': 22043569, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535283, 'last_updated_at': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 0, 15, 4), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}, 'environnement': {'main_port_id': 22042800, 'sub_port_id': 22043570, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14535284, 'last_updated_at': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_desc': datetime.datetime(2025, 4, 4, 11, 25, 54), 'last_updated_at_asc': datetime.datetime(2025, 4, 4, 0, 15, 4)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043555,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043540 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043556,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043541 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043558,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043542 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043559,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043543 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043560,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043544 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043562,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043545 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043563,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043546 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043565,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043547 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043566,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043548 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043567,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043549 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043569,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043550 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22043570,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22043551 lien utilise dans velours : https://www.fotonower.com/velours/22043555,22043556,22043558,22043559,22043560,22043562,22043563,22043565,22043566,22043567,22043569,22043570?tags=flou,plastique,kraft,Carton_gris,Carton_brun,cartonnette,Teint_Dans_La_Masse,autre_refus,mal_croppe,metal,papier,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22042800]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594] map_info['map_portfolio_photo'] : {22042800: [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594]} final : False mtd_id 4302 list_pids : [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594] Looping around the photos to save general results len do output : 1 /22042800. 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, '2726163') ('4302', '22042800', '1349841394', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841356', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841213', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841184', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841111', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841085', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841059', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841030', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840953', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840928', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840903', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840882', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840860', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840835', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840725', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840722', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840687', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840679', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840653', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840641', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840617', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840608', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840370', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840326', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840283', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840236', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840204', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840145', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839993', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839944', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839576', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839174', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839129', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838835', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838809', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838806', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838794', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838761', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838743', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838594', None, None, None, None, None, '2726163') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '22042800', "{'flou': 22043540, 'plastique': 22043541, 'kraft': 22043542, 'Carton_gris': 22043543, 'Carton_brun': 22043544, 'cartonnette': 22043545, 'Teint_Dans_La_Masse': 22043546, 'autre_refus': 22043547, 'mal_croppe': 22043548, 'metal': 22043549, 'papier': 22043550, 'environnement': 22043551}", None, None, None, None, '2726163'), ('4302', '22042800', '1349841394', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841356', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841213', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841184', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841111', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841085', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841059', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841030', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840953', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840928', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840903', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840882', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840860', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840835', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840725', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840722', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840687', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840679', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840653', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840641', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840617', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840608', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840370', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840326', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840283', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840236', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840204', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840145', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839993', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839944', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839576', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839174', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839129', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838835', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838809', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838806', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838794', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838761', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838743', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838594', None, None, None, None, None, '2726163')] time used for this insertion : 0.2778458595275879 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5704858303070068 time spend to save output : 0.27845191955566406 total time spend for step 1 : 1.848937749862671 step2:final Fri Apr 4 12:21: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 (22042800) 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 22042800 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1349841394,1349841356,1349841213,1349841184,1349841111,1349841085,1349841059,1349841030,1349840953,1349840928,1349840903,1349840882,1349840860,1349840835,1349840725,1349840722,1349840687,1349840679,1349840641,1349840653,1349840617,1349840608,1349840370,1349840326,1349840283,1349840236,1349840204,1349840145,1349839993,1349839944,1349839576,1349839174,1349839129,1349838835,1349838806,1349838809,1349838794,1349838761,1349838743,1349838594); 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([22042800]) Inside saveOutput : final : False verbose : True original output for save of step final : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} new output for save of step final : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594] map_info['map_portfolio_photo'] : {22042800: [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594]} final : False mtd_id 4302 list_pids : [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594] Looping around the photos to save general results len do output : 40 /1349841394.Didn't retrieve data . /1349841356.Didn't retrieve data . /1349841213.Didn't retrieve data . /1349841184.Didn't retrieve data . /1349841111.Didn't retrieve data . /1349841085.Didn't retrieve data . /1349841059.Didn't retrieve data . /1349841030.Didn't retrieve data . /1349840953.Didn't retrieve data . /1349840928.Didn't retrieve data . /1349840903.Didn't retrieve data . /1349840882.Didn't retrieve data . /1349840860.Didn't retrieve data . /1349840835.Didn't retrieve data . /1349840725.Didn't retrieve data . /1349840722.Didn't retrieve data . /1349840687.Didn't retrieve data . /1349840679.Didn't retrieve data . /1349840653.Didn't retrieve data . /1349840641.Didn't retrieve data . /1349840617.Didn't retrieve data . /1349840608.Didn't retrieve data . /1349840370.Didn't retrieve data . /1349840326.Didn't retrieve data . /1349840283.Didn't retrieve data . /1349840236.Didn't retrieve data . /1349840204.Didn't retrieve data . /1349840145.Didn't retrieve data . /1349839993.Didn't retrieve data . /1349839944.Didn't retrieve data . /1349839576.Didn't retrieve data . /1349839174.Didn't retrieve data . /1349839129.Didn't retrieve data . /1349838835.Didn't retrieve data . /1349838809.Didn't retrieve data . /1349838806.Didn't retrieve data . /1349838794.Didn't retrieve data . /1349838761.Didn't retrieve data . /1349838743.Didn't retrieve data . /1349838594.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, '2726163') ('4302', '22042800', '1349841394', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841356', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841213', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841184', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841111', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841085', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841059', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841030', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840953', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840928', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840903', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840882', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840860', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840835', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840725', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840722', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840687', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840679', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840653', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840641', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840617', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840608', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840370', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840326', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840283', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840236', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840204', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840145', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839993', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839944', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839576', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839174', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839129', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838835', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838809', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838806', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838794', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838761', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838743', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838594', None, None, None, None, None, '2726163') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '22042800', '1349841394', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349841356', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349841213', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349841184', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349841111', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349841085', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349841059', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349841030', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840953', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840928', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840903', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840882', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840860', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840835', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840725', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840722', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840687', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840679', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840653', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840641', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840617', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840608', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840370', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840326', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840283', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840236', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840204', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349840145', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349839993', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349839944', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349839576', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349839174', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349839129', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349838835', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349838809', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349838806', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349838794', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349838761', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349838743', '0.04696480338853509', None, None, None, None, '2726163'), ('4302', '22042800', '1349838594', '0.04696480338853509', None, None, None, None, '2726163')] time used for this insertion : 0.018382787704467773 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6067211627960205 time spend to save output : 0.019421100616455078 total time spend for step 2 : 0.6261422634124756 step3:velours_tree Fri Apr 4 12:21: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 : {22042800: [{'flou': 22043540, 'plastique': 22043541, 'kraft': 22043542, 'Carton_gris': 22043543, 'Carton_brun': 22043544, 'cartonnette': 22043545, 'Teint_Dans_La_Masse': 22043546, 'autre_refus': 22043547, 'mal_croppe': 22043548, 'metal': 22043549, 'papier': 22043550, 'environnement': 22043551}]} input_args_next_step : {22042800: ()} output_args : {22042800: [{'flou': 22043540, 'plastique': 22043541, 'kraft': 22043542, 'Carton_gris': 22043543, 'Carton_brun': 22043544, 'cartonnette': 22043545, 'Teint_Dans_La_Masse': 22043546, 'autre_refus': 22043547, 'mal_croppe': 22043548, 'metal': 22043549, 'papier': 22043550, 'environnement': 22043551}]} args : 22042800 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': 22043540, 'plastique': 22043541, 'kraft': 22043542, 'Carton_gris': 22043543, 'Carton_brun': 22043544, 'cartonnette': 22043545, 'Teint_Dans_La_Masse': 22043546, 'autre_refus': 22043547, 'mal_croppe': 22043548, 'metal': 22043549, 'papier': 22043550, 'environnement': 22043551},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22042800) 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([22042800]) 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.33402419090270996 time spend to save output : 5.7697296142578125e-05 total time spend for step 3 : 0.33408188819885254 step4:send_mail_cod Fri Apr 4 12:21:31 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 : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} input_args_next_step : {1349841394: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349841394 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349841356 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349841213 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349841184 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349841111 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349841085 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349841059 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349841030 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840953 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840928 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840903 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840882 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840860 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840835 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840725 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840722 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840687 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840679 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840653 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840641 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840617 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840608 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840370 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840326 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840283 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840236 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840204 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349840145 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349839993 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349839944 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349839576 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349839174 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349839129 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349838835 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349838809 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349838806 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349838794 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349838761 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349838743 depend.output_id : 0 input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ()} output_args : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',)} args : 1349838594 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 : {22042800: [{'flou': 22043540, 'plastique': 22043541, 'kraft': 22043542, 'Carton_gris': 22043543, 'Carton_brun': 22043544, 'cartonnette': 22043545, 'Teint_Dans_La_Masse': 22043546, 'autre_refus': 22043547, 'mal_croppe': 22043548, 'metal': 22043549, 'papier': 22043550, 'environnement': 22043551}]} input_args_next_step : {1349841394: ('0.04696480338853509',), 1349841356: ('0.04696480338853509',), 1349841213: ('0.04696480338853509',), 1349841184: ('0.04696480338853509',), 1349841111: ('0.04696480338853509',), 1349841085: ('0.04696480338853509',), 1349841059: ('0.04696480338853509',), 1349841030: ('0.04696480338853509',), 1349840953: ('0.04696480338853509',), 1349840928: ('0.04696480338853509',), 1349840903: ('0.04696480338853509',), 1349840882: ('0.04696480338853509',), 1349840860: ('0.04696480338853509',), 1349840835: ('0.04696480338853509',), 1349840725: ('0.04696480338853509',), 1349840722: ('0.04696480338853509',), 1349840687: ('0.04696480338853509',), 1349840679: ('0.04696480338853509',), 1349840653: ('0.04696480338853509',), 1349840641: ('0.04696480338853509',), 1349840617: ('0.04696480338853509',), 1349840608: ('0.04696480338853509',), 1349840370: ('0.04696480338853509',), 1349840326: ('0.04696480338853509',), 1349840283: ('0.04696480338853509',), 1349840236: ('0.04696480338853509',), 1349840204: ('0.04696480338853509',), 1349840145: ('0.04696480338853509',), 1349839993: ('0.04696480338853509',), 1349839944: ('0.04696480338853509',), 1349839576: ('0.04696480338853509',), 1349839174: ('0.04696480338853509',), 1349839129: ('0.04696480338853509',), 1349838835: ('0.04696480338853509',), 1349838809: ('0.04696480338853509',), 1349838806: ('0.04696480338853509',), 1349838794: ('0.04696480338853509',), 1349838761: ('0.04696480338853509',), 1349838743: ('0.04696480338853509',), 1349838594: ('0.04696480338853509',), 22042800: ()} output_args : {22042800: [{'flou': 22043540, 'plastique': 22043541, 'kraft': 22043542, 'Carton_gris': 22043543, 'Carton_brun': 22043544, 'cartonnette': 22043545, 'Teint_Dans_La_Masse': 22043546, 'autre_refus': 22043547, 'mal_croppe': 22043548, 'metal': 22043549, 'papier': 22043550, 'environnement': 22043551}]} args : 22042800 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 :41, first value : ('0.04696480338853509',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22042800) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1349841394,1349841356,1349841213,1349841184,1349841111,1349841085,1349841059,1349841030,1349840953,1349840928,1349840903,1349840882,1349840860,1349840835,1349840725,1349840722,1349840687,1349840679,1349840653,1349840641,1349840617,1349840608,1349840370,1349840326,1349840283,1349840236,1349840204,1349840145,1349839993,1349839944,1349839576,1349839174,1349839129,1349838835,1349838809,1349838806,1349838794,1349838761,1349838743,1349838594) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1349838594 begin to download photo : 1349839576 begin to download photo : 1349840608 begin to download photo : 1349840860 begin to download photo : 1349841184 download finish for photo 1349838594 begin to download photo : 1349838743 download finish for photo 1349840860 begin to download photo : 1349840882 download finish for photo 1349839576 begin to download photo : 1349839944 download finish for photo 1349840608 begin to download photo : 1349840617 download finish for photo 1349838743 begin to download photo : 1349838761 download finish for photo 1349841184 begin to download photo : 1349841213 download finish for photo 1349840617 begin to download photo : 1349840641 download finish for photo 1349840882 begin to download photo : 1349840903 download finish for photo 1349839944 begin to download photo : 1349839993 download finish for photo 1349841213 begin to download photo : 1349841356 download finish for photo 1349838761 begin to download photo : 1349838794 download finish for photo 1349840641 begin to download photo : 1349840653 download finish for photo 1349839993 begin to download photo : 1349840145 download finish for photo 1349840903 begin to download photo : 1349840928 download finish for photo 1349838794 begin to download photo : 1349838806 download finish for photo 1349841356 begin to download photo : 1349841394 download finish for photo 1349840928 begin to download photo : 1349840953 download finish for photo 1349840145 begin to download photo : 1349840204 download finish for photo 1349840653 begin to download photo : 1349840679 download finish for photo 1349841394 download finish for photo 1349838806 begin to download photo : 1349838809 download finish for photo 1349840204 begin to download photo : 1349840236 download finish for photo 1349840953 begin to download photo : 1349841030 download finish for photo 1349838809 begin to download photo : 1349838835 download finish for photo 1349840679 begin to download photo : 1349840687 download finish for photo 1349841030 begin to download photo : 1349841059 download finish for photo 1349840236 begin to download photo : 1349840283 download finish for photo 1349841059 begin to download photo : 1349841085 download finish for photo 1349838835 begin to download photo : 1349839129 download finish for photo 1349840687 begin to download photo : 1349840722 download finish for photo 1349840283 begin to download photo : 1349840326 download finish for photo 1349840326 begin to download photo : 1349840370 download finish for photo 1349841085 begin to download photo : 1349841111 download finish for photo 1349840722 begin to download photo : 1349840725 download finish for photo 1349839129 begin to download photo : 1349839174 download finish for photo 1349840370 download finish for photo 1349841111 download finish for photo 1349840725 begin to download photo : 1349840835 download finish for photo 1349839174 download finish for photo 1349840835 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette220435401743762092/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P22042800_04-04-2025_12_21_32.pdf 22043540 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043540 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220435401743762092 22043541 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043541 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350036884: '1743757612_3342175_1349840953_8f72e4e1b95c51a45c939f9dc42f3037_rle_crop_3747729375_0.png', 1350043447: '1743758551_3362622_1349839576_59d6ecb44a4a911fb87ab2429b3a4d4e_rle_crop_3747770391_0.png', 1350043449: '1743758551_3362622_1349838809_cb56727c879766aa623174de458af66f_rle_crop_3747770746_0.png', 1350043450: '1743758551_3362622_1349838809_cb56727c879766aa623174de458af66f_rle_crop_3747770758_0.png', 1350043451: '1743758551_3362622_1349838794_66730724c6f655147d7da1ae98c01ce9_rle_crop_3747770884_0.png', 1350043452: '1743758551_3362622_1349838794_66730724c6f655147d7da1ae98c01ce9_rle_crop_3747770896_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/be268fb89a14031089046419ed39c6bd_54565040.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/3459e0a289fb59908839ee6903dfa363_57361991.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/17a71c72e62312eedd3950b9ae0fe0ca_7924390.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/8d60ac44e77f5d10a4186701709bf15f_88267297.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/17a71c72e62312eedd3950b9ae0fe0ca_16240495.png change filename to text .imagette220435411743762092/ imagette220435411743762092/1743758551_3362622_1349839576_59d6ecb44a4a911fb87ab2429b3a4d4e_rle_crop_3747770391_0.png.png imagette220435411743762092/1743758551_3362622_1349838794_66730724c6f655147d7da1ae98c01ce9_rle_crop_3747770896_0.png.png imagette220435411743762092/1743758551_3362622_1349838794_66730724c6f655147d7da1ae98c01ce9_rle_crop_3747770884_0.png.png imagette220435411743762092/1743758551_3362622_1349838809_cb56727c879766aa623174de458af66f_rle_crop_3747770758_0.png.png imagette220435411743762092/1743757612_3342175_1349840953_8f72e4e1b95c51a45c939f9dc42f3037_rle_crop_3747729375_0.png.png imagette220435411743762092/1743758551_3362622_1349838809_cb56727c879766aa623174de458af66f_rle_crop_3747770746_0.png.png imagette220435421743762093/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/8d60ac44e77f5d10a4186701709bf15f_44473151.png imagette220435411743762092 22043542 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043542 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220435421743762093 22043545 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043545 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350036800: '1743757612_3342175_1349841213_55a52fae19dc2fea097ed0c13151fc37_rle_crop_3747728248_0.png', 1350036801: '1743757612_3342175_1349841111_730e8b621de48f03bb0eaae86c76a16e_rle_crop_3747729033_0.png', 1350043424: '1743758551_3362622_1349838835_e7f6c909e5bb99a36ae89db6f7eb12bb_rle_crop_3747770664_0.png', 1350043425: '1743758551_3362622_1349838806_74169d94dec2dbc0fab32087d0b72a41_rle_crop_3747770818_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/9dbe0e836adfa8f6128c4f18704ef638_51765549.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/13c5c7b10860629a3a642a8408412afb_14547539.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/1d067e32ec9c86f746bfd1bee56c18c2_12335328.png change filename to text .imagette220435451743762093/ imagette220435451743762093/1743758551_3362622_1349838806_74169d94dec2dbc0fab32087d0b72a41_rle_crop_3747770818_0.png.png imagette220435451743762093/1743757612_3342175_1349841111_730e8b621de48f03bb0eaae86c76a16e_rle_crop_3747729033_0.png.png imagette220435451743762093/1743758551_3362622_1349838835_e7f6c909e5bb99a36ae89db6f7eb12bb_rle_crop_3747770664_0.png.png imagette220435451743762093/1743757612_3342175_1349841213_55a52fae19dc2fea097ed0c13151fc37_rle_crop_3747728248_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/1d067e32ec9c86f746bfd1bee56c18c2_77026326.png imagette220435451743762093 22043547 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043547 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350043400: '1743758551_3362622_1349840370_e743765eb10c3c19cd93cf4e52e0162b_rle_crop_3747769613_0.png', 1350043401: '1743758551_3362622_1349840236_fc5d9892f0baebc0cceacb445c07f3b7_rle_crop_3747769895_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/9312e7bee128e6cbb4bbfa68a7f96c52_19241089.png change filename to text .imagette220435471743762093/ imagette220435471743762093/1743758551_3362622_1349840370_e743765eb10c3c19cd93cf4e52e0162b_rle_crop_3747769613_0.png.png imagette220435471743762093/1743758551_3362622_1349840236_fc5d9892f0baebc0cceacb445c07f3b7_rle_crop_3747769895_0.png.png imagette220435481743762093/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/0dbab12a6e6fee5b02938696ef04e1c9_44818901.png imagette220435471743762093 22043548 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043548 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220435481743762093 22043549 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043549 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350043478: '1743758551_3362622_1349839576_59d6ecb44a4a911fb87ab2429b3a4d4e_rle_crop_3747770382_0.png'} change filename to text .imagette220435491743762093/ imagette220435491743762093/1743758551_3362622_1349839576_59d6ecb44a4a911fb87ab2429b3a4d4e_rle_crop_3747770382_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/0451af64d8ed0c28df89cc1b1d092e5f_1798565.png imagette220435491743762093 22043543 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043543 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350036753: '1743757612_3342175_1349840953_8f72e4e1b95c51a45c939f9dc42f3037_rle_crop_3747729374_0.png', 1350036754: '1743757612_3342175_1349840928_eac448169cd447d674d2b3f080090591_rle_crop_3747729466_0.png', 1350036756: '1743757612_3342175_1349840653_d7eb87ed833e85ba45a29872a25ded07_rle_crop_3747733134_0.png', 1350036758: '1743757612_3342175_1349840641_a7d8f8e91387c9cadcaae70955886889_rle_crop_3747733254_0.png', 1350043417: '1743758551_3362622_1349839944_cf69815c870a9d873452377b7451b995_rle_crop_3747770298_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/b4e6e9bd5766b58314f680cfb8ab857a_29127901.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/d6e1f1027a966465078ecf5246967aa2_95922092.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/b2b420a80214532981642c79095e80b6_64876528.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/b2b420a80214532981642c79095e80b6_95261855.png change filename to text .imagette220435431743762093/ imagette220435431743762093/1743757612_3342175_1349840653_d7eb87ed833e85ba45a29872a25ded07_rle_crop_3747733134_0.png.png imagette220435431743762093/1743757612_3342175_1349840641_a7d8f8e91387c9cadcaae70955886889_rle_crop_3747733254_0.png.png imagette220435431743762093/1743757612_3342175_1349840953_8f72e4e1b95c51a45c939f9dc42f3037_rle_crop_3747729374_0.png.png imagette220435431743762093/1743758551_3362622_1349839944_cf69815c870a9d873452377b7451b995_rle_crop_3747770298_0.png.png imagette220435431743762093/1743757612_3342175_1349840928_eac448169cd447d674d2b3f080090591_rle_crop_3747729466_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/0604b3263219673b92abbbe101afcd99_18183560.png imagette220435431743762093 22043544 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043544 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350036848: '1743757612_3342175_1349841356_b9d5417926e4ed13dd8db47b9e3fbed4_rle_crop_3747728070_0.png', 1350036850: '1743757612_3342175_1349840653_d7eb87ed833e85ba45a29872a25ded07_rle_crop_3747733141_0.png', 1350036851: '1743757612_3342175_1349840641_a7d8f8e91387c9cadcaae70955886889_rle_crop_3747733261_0.png', 1350043433: '1743758551_3362622_1349840204_3cd87393abe9e0e6f1b75eff6ffde9b5_rle_crop_3747770046_0.png', 1350043436: '1743758551_3362622_1349839174_26c0f3b2c0e17c22590435976dae6215_rle_crop_3747770595_0.png', 1350043437: '1743758551_3362622_1349839129_c424d6565e0a4f3b6f11b17db6c2dd2d_rle_crop_3747770658_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/bcf1d8a3725f5c81c08d268d87663286_54904438.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/4a1a64d5ce1452c635133cf9818107e2_85813206.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/4a1a64d5ce1452c635133cf9818107e2_64746917.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/66b529ca79b79864141ceefb5cf76435_70450138.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/b134afa39434638ac73eecbf6056e5f2_22760128.png change filename to text .imagette220435441743762094/ imagette220435441743762094/1743758551_3362622_1349840204_3cd87393abe9e0e6f1b75eff6ffde9b5_rle_crop_3747770046_0.png.png imagette220435441743762094/1743757612_3342175_1349840653_d7eb87ed833e85ba45a29872a25ded07_rle_crop_3747733141_0.png.png imagette220435441743762094/1743758551_3362622_1349839174_26c0f3b2c0e17c22590435976dae6215_rle_crop_3747770595_0.png.png imagette220435441743762094/1743757612_3342175_1349840641_a7d8f8e91387c9cadcaae70955886889_rle_crop_3747733261_0.png.png imagette220435441743762094/1743758551_3362622_1349839129_c424d6565e0a4f3b6f11b17db6c2dd2d_rle_crop_3747770658_0.png.png imagette220435441743762094/1743757612_3342175_1349841356_b9d5417926e4ed13dd8db47b9e3fbed4_rle_crop_3747728070_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/b134afa39434638ac73eecbf6056e5f2_18164113.png imagette220435441743762094 22043546 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22043546 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350036666: '1743757612_3342175_1349841356_b9d5417926e4ed13dd8db47b9e3fbed4_rle_crop_3747728073_0.png', 1350036668: '1743757612_3342175_1349841111_730e8b621de48f03bb0eaae86c76a16e_rle_crop_3747729034_0.png', 1350036670: '1743757612_3342175_1349840953_8f72e4e1b95c51a45c939f9dc42f3037_rle_crop_3747729370_0.png', 1350036672: '1743757612_3342175_1349840882_d7f8f6e251a1896a3933de5748680c34_rle_crop_3747730106_0.png', 1350036673: '1743757612_3342175_1349840860_790104faf62f235a5b9f0d9ad018267d_rle_crop_3747730684_0.png', 1350043378: '1743758551_3362622_1349840370_e743765eb10c3c19cd93cf4e52e0162b_rle_crop_3747769618_0.png', 1350043379: '1743758551_3362622_1349839576_59d6ecb44a4a911fb87ab2429b3a4d4e_rle_crop_3747770390_0.png', 1350043380: '1743758551_3362622_1349839174_26c0f3b2c0e17c22590435976dae6215_rle_crop_3747770596_0.png', 1350043381: '1743758551_3362622_1349839129_c424d6565e0a4f3b6f11b17db6c2dd2d_rle_crop_3747770659_0.png', 1350043382: '1743758551_3362622_1349838835_e7f6c909e5bb99a36ae89db6f7eb12bb_rle_crop_3747770669_0.png', 1350043383: '1743758551_3362622_1349838806_74169d94dec2dbc0fab32087d0b72a41_rle_crop_3747770823_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/3f9660b746096308d3ac1fe96bd57bc4_62061334.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/1986fc63062b1e3f40bd2e6cc82cafe3_24041229.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/aa916ed5e95a0c12f1be85057721e5ce_66941528.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/6932442d605c8fbcfa7bdd96c87cd03f_27964864.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/45b233d9bfdb8a0342da05fc15102e05_29828081.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/a304a9a9c101af30ba66b461045c9157_74394342.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/a98d18691f832aacd7756fd9e7d6adf6_91627582.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/e90b10422cd4af2a8011379d8a321d27_27242337.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/e90b10422cd4af2a8011379d8a321d27_40195972.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/2d1d061a8ff3c2cbacb36b642221f27f_47562334.png change filename to text .imagette220435461743762094/ imagette220435461743762094/1743758551_3362622_1349839174_26c0f3b2c0e17c22590435976dae6215_rle_crop_3747770596_0.png.png imagette220435461743762094/1743758551_3362622_1349839129_c424d6565e0a4f3b6f11b17db6c2dd2d_rle_crop_3747770659_0.png.png imagette220435461743762094/1743758551_3362622_1349839576_59d6ecb44a4a911fb87ab2429b3a4d4e_rle_crop_3747770390_0.png.png imagette220435461743762094/1743757612_3342175_1349841356_b9d5417926e4ed13dd8db47b9e3fbed4_rle_crop_3747728073_0.png.png imagette220435461743762094/1743757612_3342175_1349840882_d7f8f6e251a1896a3933de5748680c34_rle_crop_3747730106_0.png.png imagette220435461743762094/1743758551_3362622_1349840370_e743765eb10c3c19cd93cf4e52e0162b_rle_crop_3747769618_0.png.png imagette220435461743762094/1743758551_3362622_1349838806_74169d94dec2dbc0fab32087d0b72a41_rle_crop_3747770823_0.png.png imagette220435461743762094/1743757612_3342175_1349840860_790104faf62f235a5b9f0d9ad018267d_rle_crop_3747730684_0.png.png imagette220435461743762094/1743758551_3362622_1349838835_e7f6c909e5bb99a36ae89db6f7eb12bb_rle_crop_3747770669_0.png.png imagette220435461743762094/1743757612_3342175_1349841111_730e8b621de48f03bb0eaae86c76a16e_rle_crop_3747729034_0.png.png imagette220435461743762094/1743757612_3342175_1349840953_8f72e4e1b95c51a45c939f9dc42f3037_rle_crop_3747729370_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/2d1d061a8ff3c2cbacb36b642221f27f_54992166.png imagette220435461743762094 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22042800 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22043555,22043556,22043558,22043559,22043560,22043562,22043563,22043565,22043566,22043567,22043569,22043570?tags=flou,plastique,kraft,Carton_gris,Carton_brun,cartonnette,Teint_Dans_La_Masse,autre_refus,mal_croppe,metal,papier,environnement your option no_mail is active, we will not send the real mail to your client args[1349841394] : ('0.04696480338853509',) no score found for photo 1349841394 We are sending mail with results at report@fotonower.com args[1349841356] : ('0.04696480338853509',) no score found for photo 1349841356 We are sending mail with results at report@fotonower.com args[1349841213] : ('0.04696480338853509',) no score found for photo 1349841213 We are sending mail with results at report@fotonower.com args[1349841184] : ('0.04696480338853509',) no score found for photo 1349841184 We are sending mail with results at report@fotonower.com args[1349841111] : ('0.04696480338853509',) no score found for photo 1349841111 We are sending mail with results at report@fotonower.com args[1349841085] : ('0.04696480338853509',) no score found for photo 1349841085 We are sending mail with results at report@fotonower.com args[1349841059] : ('0.04696480338853509',) no score found for photo 1349841059 We are sending mail with results at report@fotonower.com args[1349841030] : ('0.04696480338853509',) no score found for photo 1349841030 We are sending mail with results at report@fotonower.com args[1349840953] : ('0.04696480338853509',) no score found for photo 1349840953 We are sending mail with results at report@fotonower.com args[1349840928] : ('0.04696480338853509',) no score found for photo 1349840928 We are sending mail with results at report@fotonower.com args[1349840903] : ('0.04696480338853509',) no score found for photo 1349840903 We are sending mail with results at report@fotonower.com args[1349840882] : ('0.04696480338853509',) no score found for photo 1349840882 We are sending mail with results at report@fotonower.com args[1349840860] : ('0.04696480338853509',) no score found for photo 1349840860 We are sending mail with results at report@fotonower.com args[1349840835] : ('0.04696480338853509',) no score found for photo 1349840835 We are sending mail with results at report@fotonower.com args[1349840725] : ('0.04696480338853509',) no score found for photo 1349840725 We are sending mail with results at report@fotonower.com args[1349840722] : ('0.04696480338853509',) no score found for photo 1349840722 We are sending mail with results at report@fotonower.com args[1349840687] : ('0.04696480338853509',) no score found for photo 1349840687 We are sending mail with results at report@fotonower.com args[1349840679] : ('0.04696480338853509',) no score found for photo 1349840679 We are sending mail with results at report@fotonower.com args[1349840653] : ('0.04696480338853509',) no score found for photo 1349840653 We are sending mail with results at report@fotonower.com args[1349840641] : ('0.04696480338853509',) no score found for photo 1349840641 We are sending mail with results at report@fotonower.com args[1349840617] : ('0.04696480338853509',) no score found for photo 1349840617 We are sending mail with results at report@fotonower.com args[1349840608] : ('0.04696480338853509',) no score found for photo 1349840608 We are sending mail with results at report@fotonower.com args[1349840370] : ('0.04696480338853509',) no score found for photo 1349840370 We are sending mail with results at report@fotonower.com args[1349840326] : ('0.04696480338853509',) no score found for photo 1349840326 We are sending mail with results at report@fotonower.com args[1349840283] : ('0.04696480338853509',) no score found for photo 1349840283 We are sending mail with results at report@fotonower.com args[1349840236] : ('0.04696480338853509',) no score found for photo 1349840236 We are sending mail with results at report@fotonower.com args[1349840204] : ('0.04696480338853509',) no score found for photo 1349840204 We are sending mail with results at report@fotonower.com args[1349840145] : ('0.04696480338853509',) no score found for photo 1349840145 We are sending mail with results at report@fotonower.com args[1349839993] : ('0.04696480338853509',) no score found for photo 1349839993 We are sending mail with results at report@fotonower.com args[1349839944] : ('0.04696480338853509',) no score found for photo 1349839944 We are sending mail with results at report@fotonower.com args[1349839576] : ('0.04696480338853509',) no score found for photo 1349839576 We are sending mail with results at report@fotonower.com args[1349839174] : ('0.04696480338853509',) no score found for photo 1349839174 We are sending mail with results at report@fotonower.com args[1349839129] : ('0.04696480338853509',) no score found for photo 1349839129 We are sending mail with results at report@fotonower.com args[1349838835] : ('0.04696480338853509',) no score found for photo 1349838835 We are sending mail with results at report@fotonower.com args[1349838809] : ('0.04696480338853509',) no score found for photo 1349838809 We are sending mail with results at report@fotonower.com args[1349838806] : ('0.04696480338853509',) no score found for photo 1349838806 We are sending mail with results at report@fotonower.com args[1349838794] : ('0.04696480338853509',) no score found for photo 1349838794 We are sending mail with results at report@fotonower.com args[1349838761] : ('0.04696480338853509',) no score found for photo 1349838761 We are sending mail with results at report@fotonower.com args[1349838743] : ('0.04696480338853509',) no score found for photo 1349838743 We are sending mail with results at report@fotonower.com args[1349838594] : ('0.04696480338853509',) no score found for photo 1349838594 We are sending mail with results at report@fotonower.com refus_total : 0.04696480338853509 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22042800 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_P22042800_04-04-2025_12_21_32.pdf results_Auto_P22042800_04-04-2025_12_21_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042800_04-04-2025_12_21_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','22042800','results_Auto_P22042800_04-04-2025_12_21_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042800_04-04-2025_12_21_32.pdf','pdf','','0.36','0.04696480338853509') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22042800]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594] map_info['map_portfolio_photo'] : {22042800: [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594]} final : False mtd_id 4302 list_pids : [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594] 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, '2726163') ('4302', '22042800', '1349841394', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841356', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841213', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841184', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841111', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841085', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841059', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841030', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840953', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840928', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840903', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840882', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840860', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840835', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840725', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840722', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840687', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840679', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840653', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840641', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840617', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840608', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840370', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840326', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840283', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840236', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840204', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840145', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839993', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839944', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839576', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839174', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839129', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838835', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838809', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838806', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838794', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838761', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838743', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838594', None, None, None, None, None, '2726163') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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', '22042800', '1349841394', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841356', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841213', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841184', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841111', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841085', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841059', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841030', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840953', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840928', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840903', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840882', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840860', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840835', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840725', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840722', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840687', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840679', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840653', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840641', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840617', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840608', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840370', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840326', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840283', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840236', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840204', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840145', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839993', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839944', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839576', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839174', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839129', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838835', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838809', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838806', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838794', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838761', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838743', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838594', None, None, None, None, None, '2726163')] time used for this insertion : 0.023615598678588867 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.470259666442871 time spend to save output : 0.024089336395263672 total time spend for step 4 : 6.494349002838135 step5:split_time_score Fri Apr 4 12:21:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22042800'] 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 : [('22042800',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22042800) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1349841184: {'path': 'temp/1743762091_226133_1349841184_47b540f5747817e9ff57aa085ff1ae05.jpg', 'extension': 'jpg'}, 1349841213: {'path': 'temp/1743762091_226133_1349841213_55a52fae19dc2fea097ed0c13151fc37.jpg', 'extension': 'jpg'}, 1349841356: {'path': 'temp/1743762091_226133_1349841356_b9d5417926e4ed13dd8db47b9e3fbed4.jpg', 'extension': 'jpg'}, 1349841394: {'path': 'temp/1743762091_226133_1349841394_cb729aa4221beeedfd503874dbdbe436.jpg', 'extension': 'jpg'}, 1349839576: {'path': 'temp/1743762091_226133_1349839576_59d6ecb44a4a911fb87ab2429b3a4d4e.jpg', 'extension': 'jpg'}, 1349839944: {'path': 'temp/1743762091_226133_1349839944_cf69815c870a9d873452377b7451b995.jpg', 'extension': 'jpg'}, 1349839993: {'path': 'temp/1743762091_226133_1349839993_43d60051646cfe2bed2bf9c5df2a34bd.jpg', 'extension': 'jpg'}, 1349840145: {'path': 'temp/1743762091_226133_1349840145_960462443e0f818ffe4367cd531de4f5.jpg', 'extension': 'jpg'}, 1349840204: {'path': 'temp/1743762091_226133_1349840204_3cd87393abe9e0e6f1b75eff6ffde9b5.jpg', 'extension': 'jpg'}, 1349840236: {'path': 'temp/1743762091_226133_1349840236_fc5d9892f0baebc0cceacb445c07f3b7.jpg', 'extension': 'jpg'}, 1349840283: {'path': 'temp/1743762091_226133_1349840283_e9ff1c861cc580aa7735dd705b8deb7e.jpg', 'extension': 'jpg'}, 1349840326: {'path': 'temp/1743762091_226133_1349840326_34ebcb899c65818b483bc8e3fe7296a7.jpg', 'extension': 'jpg'}, 1349840370: {'path': 'temp/1743762091_226133_1349840370_e743765eb10c3c19cd93cf4e52e0162b.jpg', 'extension': 'jpg'}, 1349840860: {'path': 'temp/1743762091_226133_1349840860_790104faf62f235a5b9f0d9ad018267d.jpg', 'extension': 'jpg'}, 1349840882: {'path': 'temp/1743762091_226133_1349840882_d7f8f6e251a1896a3933de5748680c34.jpg', 'extension': 'jpg'}, 1349840903: {'path': 'temp/1743762091_226133_1349840903_ebce2e8fc5ebbf99759c88904df889a7.jpg', 'extension': 'jpg'}, 1349840928: {'path': 'temp/1743762091_226133_1349840928_eac448169cd447d674d2b3f080090591.jpg', 'extension': 'jpg'}, 1349840953: {'path': 'temp/1743762091_226133_1349840953_8f72e4e1b95c51a45c939f9dc42f3037.jpg', 'extension': 'jpg'}, 1349841030: {'path': 'temp/1743762091_226133_1349841030_98cb7bda39b583e6fcd32d6a81db9d24.jpg', 'extension': 'jpg'}, 1349841059: {'path': 'temp/1743762091_226133_1349841059_009a13ed766c9f2ade4e37bffd8578f3.jpg', 'extension': 'jpg'}, 1349841085: {'path': 'temp/1743762091_226133_1349841085_3ae07d3c4b6293a797a096c7cdff6474.jpg', 'extension': 'jpg'}, 1349841111: {'path': 'temp/1743762091_226133_1349841111_730e8b621de48f03bb0eaae86c76a16e.jpg', 'extension': 'jpg'}, 1349838594: {'path': 'temp/1743762091_226133_1349838594_df6948b471ac52409e2b1ef807707dea.jpg', 'extension': 'jpg'}, 1349838743: {'path': 'temp/1743762091_226133_1349838743_a2dde2ee72e550ffcf47e04f208196cc.jpg', 'extension': 'jpg'}, 1349838761: {'path': 'temp/1743762091_226133_1349838761_c19bd09e2cb385dc079487d22a13c993.jpg', 'extension': 'jpg'}, 1349838794: {'path': 'temp/1743762091_226133_1349838794_66730724c6f655147d7da1ae98c01ce9.jpg', 'extension': 'jpg'}, 1349838806: {'path': 'temp/1743762091_226133_1349838806_74169d94dec2dbc0fab32087d0b72a41.jpg', 'extension': 'jpg'}, 1349838809: {'path': 'temp/1743762091_226133_1349838809_cb56727c879766aa623174de458af66f.jpg', 'extension': 'jpg'}, 1349838835: {'path': 'temp/1743762091_226133_1349838835_e7f6c909e5bb99a36ae89db6f7eb12bb.jpg', 'extension': 'jpg'}, 1349839129: {'path': 'temp/1743762091_226133_1349839129_c424d6565e0a4f3b6f11b17db6c2dd2d.jpg', 'extension': 'jpg'}, 1349839174: {'path': 'temp/1743762091_226133_1349839174_26c0f3b2c0e17c22590435976dae6215.jpg', 'extension': 'jpg'}, 1349840608: {'path': 'temp/1743762091_226133_1349840608_9120f7910f796543bad8db457d6d0593.jpg', 'extension': 'jpg'}, 1349840617: {'path': 'temp/1743762091_226133_1349840617_a75fcbe435a7225d0dc46f41bcdb6c1f.jpg', 'extension': 'jpg'}, 1349840641: {'path': 'temp/1743762091_226133_1349840641_a7d8f8e91387c9cadcaae70955886889.jpg', 'extension': 'jpg'}, 1349840653: {'path': 'temp/1743762091_226133_1349840653_d7eb87ed833e85ba45a29872a25ded07.jpg', 'extension': 'jpg'}, 1349840679: {'path': 'temp/1743762091_226133_1349840679_3e8a0111ad7dcaf6db71dfb7096a4a55.jpg', 'extension': 'jpg'}, 1349840687: {'path': 'temp/1743762091_226133_1349840687_2565643c1b74d21461d2b8b48839e3d6.jpg', 'extension': 'jpg'}, 1349840722: {'path': 'temp/1743762091_226133_1349840722_d3c575d588251bb0d610961958828daf.jpg', 'extension': 'jpg'}, 1349840725: {'path': 'temp/1743762091_226133_1349840725_d18bad52c492e24a2f0f528982aaa253.jpg', 'extension': 'jpg'}, 1349840835: {'path': 'temp/1743762091_226133_1349840835_a9236816ab13ab640f4e64023eb7a66d.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 = 22042800; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22042800 group by h (('14', 40),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22042800 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 (22042800) 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 (22042800) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03042025 22042800 Nombre de photos uploadées : 40 / 23040 (0%) 03042025 22042800 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 03042025 22042800 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1349841394, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/cb729aa4221beeedfd503874dbdbe436.jpg', 'username': None, 'uploaded_at': 1743700072, 'text': 'image_03042025_14_45_04_10164.jpg'}, {'photo_id': 1349841356, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/b9d5417926e4ed13dd8db47b9e3fbed4.jpg', 'username': None, 'uploaded_at': 1743700072, 'text': 'image_03042025_14_45_44_10135.jpg'}, {'photo_id': 1349841213, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/55a52fae19dc2fea097ed0c13151fc37.jpg', 'username': None, 'uploaded_at': 1743700022, 'text': 'image_03042025_14_46_04_10136.jpg'}, {'photo_id': 1349841184, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/3/47b540f5747817e9ff57aa085ff1ae05.jpg', 'username': None, 'uploaded_at': 1743700022, 'text': 'image_03042025_14_46_14_10137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020618438720703125 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22042800, '2025-04-03' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1712161,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023073434829711914 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= 1712161 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 21996150, 'dashboard_result_id': 9875094, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21996150_04-04-2025_05_34_44.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21996170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21996171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21996172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21996173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21996174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21996175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21996176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21996177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21996178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21996179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21996180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21996181, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 21996904, 'dashboard_result_id': 9875095, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21996904_04-04-2025_05_35_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21996931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21996932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21996933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21996934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21996935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21996936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21996937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21996938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21996939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21996940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21996941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21996942, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 21997734, 'dashboard_result_id': 9875096, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21997734_04-04-2025_05_36_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21997749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21997750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21997751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21997752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21997753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21997754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21997755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21997756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21997757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21997758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21997759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21997760, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 21998160, 'dashboard_result_id': 9875097, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21998160_04-04-2025_05_36_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21998163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21998164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21998165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21998166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21998167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21998168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21998169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21998170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21998171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21998172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21998173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21998174, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 21999983, 'dashboard_result_id': 9875098, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21999983_04-04-2025_05_37_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21999986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21999987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21999988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21999989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21999990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21999991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21999992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21999993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21999994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21999995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21999996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21999997, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22000337, 'dashboard_result_id': 9875099, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22000337_04-04-2025_05_37_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22000338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22000339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22000340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22000341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22000342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22000343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22000344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22000345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22000346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22000347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22000348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22000349, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22000728, 'dashboard_result_id': 9875100, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22000728_04-04-2025_05_37_45.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22000734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22000735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22000736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22000737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22000738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22000739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22000740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22000741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22000742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22000743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22000744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22000745, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22001272, 'dashboard_result_id': 9875101, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22001272_04-04-2025_05_38_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22001276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22001277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22001278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22001279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22001280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22001281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22001282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22001283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22001284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22001285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22001286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22001287, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22001740, 'dashboard_result_id': 9875102, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22001740_04-04-2025_05_39_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22001763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22001764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22001765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22001766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22001767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22001768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22001769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22001770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22001771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22001772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22001773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22001774, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22002247, 'dashboard_result_id': 9875103, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22002247_04-04-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22002274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22002275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22002276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22002277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22002278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22002279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22002280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22002281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22002282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22002283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22002284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22002285, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22002793, 'dashboard_result_id': 9875104, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22002793_04-04-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22002845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22002846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22002847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22002848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22002849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22002850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22002851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22002852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22002853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22002854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22002855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22002856, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22003273, 'dashboard_result_id': 9875105, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22003273_04-04-2025_05_41_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22003301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22003302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22003303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22003304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22003305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22003306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22003307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22003308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22003309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22003310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22003311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22003312, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22003798, 'dashboard_result_id': 9875106, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22003798_04-04-2025_05_41_39.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22003813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22003814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22003815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22003816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22003817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22003818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22003819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22003820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22003821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22003822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22003824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22003825, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22004489, 'dashboard_result_id': 9875107, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22004489_04-04-2025_05_41_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22004491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22004492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22004493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22004494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22004495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22004496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22004497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22004498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22004499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22004500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22004501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22004502, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22005057, 'dashboard_result_id': 9875108, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22005057_04-04-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22005085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22005086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22005087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22005088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22005089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22005090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22005091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22005092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22005093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22005094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22005095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22005096, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22006079, 'dashboard_result_id': 9875109, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006079_04-04-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22006082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006093, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22006414, 'dashboard_result_id': 9875110, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006414_04-04-2025_05_43_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006427, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22006670, 'dashboard_result_id': 9875111, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006670_04-04-2025_05_44_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006722, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22007180, 'dashboard_result_id': 9875112, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007180_04-04-2025_05_44_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007194, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22007675, 'dashboard_result_id': 9875113, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007675_04-04-2025_05_45_45.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007721, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22008153, 'dashboard_result_id': 9875114, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008153_04-04-2025_05_46_11.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008216, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22008684, 'dashboard_result_id': 9875115, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008684_04-04-2025_05_46_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008698, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22009111, 'dashboard_result_id': 9875116, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22009111_04-04-2025_05_47_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22009137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22009138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22009139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22009140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22009141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22009142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22009143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22009144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22009145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22009146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22009147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22009148, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22009574, 'dashboard_result_id': 9875117, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22009574_04-04-2025_05_48_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22009656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22009657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22009658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22009659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22009660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22009661, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22009662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22009663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22009664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22009665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22009666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22009667, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22010196, 'dashboard_result_id': 9875118, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010196_04-04-2025_05_48_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22010258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22010259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22010260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22010261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22010262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22010263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22010264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22010265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22010266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22010267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22010268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22010269, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22010987, 'dashboard_result_id': 9875119, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010987_04-04-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011023, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22011757, 'dashboard_result_id': 9875120, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22011757_04-04-2025_05_51_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011770, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22012336, 'dashboard_result_id': 9875121, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012336_04-04-2025_05_54_07.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22012339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012350, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22012957, 'dashboard_result_id': 9875122, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_04-04-2025_05_54_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22012986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012996, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22013637, 'dashboard_result_id': 9875123, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22013637_04-04-2025_05_55_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22013666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22013667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22013668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22013669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22013670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22013671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22013672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22013673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22013674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22013675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22013676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22013677, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22014253, 'dashboard_result_id': 9875124, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22014253_04-04-2025_05_56_14.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22014331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22014332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22014333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22014334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22014335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22014336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22014337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22014338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22014339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22014340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22014341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22014342, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22016342, 'dashboard_result_id': 9875125, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22016342_04-04-2025_05_56_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22016344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22016345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22016346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22016347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22016348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22016349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22016350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22016351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22016352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22016353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22016354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22016355, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22016869, 'dashboard_result_id': 9875126, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22016869_04-04-2025_05_57_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22016871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22016872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22016873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22016874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22016875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22016876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22016877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22016878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22016879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22016880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22016882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22016883, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22017483, 'dashboard_result_id': 9875127, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22017483_04-04-2025_05_58_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22017488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22017489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22017490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22017491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22017492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22017493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22017494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22017495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22017496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22017497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22017498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22017499, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22018238, 'dashboard_result_id': 9875128, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22018238_04-04-2025_05_58_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22018247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22018248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22018249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22018250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22018251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22018252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22018253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22018254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22018255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22018256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22018257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22018258, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22018708, 'dashboard_result_id': 9875129, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22018708_04-04-2025_05_59_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22018739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22018740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22018741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22018742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22018743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22018744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22018745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22018746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22018747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22018748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22018749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22018750, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22019412, 'dashboard_result_id': 9875130, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22019412_04-04-2025_06_00_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22019413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22019414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22019415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22019416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22019417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22019418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22019419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22019420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22019421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22019422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22019423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22019424, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22019963, 'dashboard_result_id': 9875131, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22019963_04-04-2025_06_00_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22020013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22020014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22020015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22020016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22020017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22020018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22020019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22020020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22020021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22020022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22020023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22020024, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22020684, 'dashboard_result_id': 9875132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22020684_04-04-2025_06_01_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22020749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22020750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22020751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22020752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22020753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22020754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22020755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22020756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22020758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22020764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22020771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22020772, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22021391, 'dashboard_result_id': 9875133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22021391_04-04-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22021410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22021411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22021412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22021413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22021414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22021415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22021416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22021417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22021418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22021419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22021420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22021421, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22021881, 'dashboard_result_id': 9875134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22021881_04-04-2025_06_02_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22021908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22021909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22021910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22021911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22021912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22021913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22021914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22021915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22021916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22021917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22021918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22021919, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22022395, 'dashboard_result_id': 9875135, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22022395_04-04-2025_06_02_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22022422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22022423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22022424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22022425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22022426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22022427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22022428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22022429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22022430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22022431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22022432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22022433, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22023977, 'dashboard_result_id': 9875136, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22023977_04-04-2025_06_03_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22023979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22023980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22023981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22023982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22023983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22023984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22023985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22023986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22023987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22023988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22023989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22023990, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22024321, 'dashboard_result_id': 9875137, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024321_04-04-2025_06_04_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024375, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042795, 'dashboard_result_id': 9875138, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042795_04-04-2025_12_20_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043730, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043731, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042796, 'dashboard_result_id': 9875139, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042796_04-04-2025_12_20_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043611, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042797, 'dashboard_result_id': 9875140, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042797_04-04-2025_12_21_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043659, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042800, 'dashboard_result_id': 9875141, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042800_04-04-2025_06_06_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22043540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043551, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042801, 'dashboard_result_id': 9875142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042801_04-04-2025_06_07_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043504, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043509, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042803, 'dashboard_result_id': 9875143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042803_04-04-2025_06_08_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043475, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043478, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043483, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042804, 'dashboard_result_id': 9875144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042804_04-04-2025_06_08_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043204, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042805, 'dashboard_result_id': 9875145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042805_04-04-2025_06_09_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043177, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042806, 'dashboard_result_id': 9875146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042806_04-04-2025_06_10_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043126, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042807, 'dashboard_result_id': 9875147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042807_04-04-2025_06_11_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042820, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22026066, 'dashboard_result_id': 9875148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22026066_04-04-2025_06_11_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22026122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22026123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22026124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22026125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22026126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22026127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22026128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22026129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22026130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22026131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22026132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22026133, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22025234, 'dashboard_result_id': 9875149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22025234_04-04-2025_06_12_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22025284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22025285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22025286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22025287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22025288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22025289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22025290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22025291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22025292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22025293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22025294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22025295, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22024878, 'dashboard_result_id': 9875150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024878_04-04-2025_06_12_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024909, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22024881, 'dashboard_result_id': 9875151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024881_04-04-2025_06_13_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024897, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22027156, 'dashboard_result_id': 9875152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22027156_04-04-2025_06_14_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22027184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22027185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22027186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22027187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22027188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22027189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22027190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22027191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22027192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22027193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22027194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22027195, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22027723, 'dashboard_result_id': 9875153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22027723_04-04-2025_06_14_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22027726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22027727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22027728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22027729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22027730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22027731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22027732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22027733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22027734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22027735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22027736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22027737, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22028138, 'dashboard_result_id': 9875154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22028138_04-04-2025_06_15_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22028139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22028140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22028141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22028142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22028143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22028144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22028145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22028146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22028147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22028148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22028149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22028150, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22028575, 'dashboard_result_id': 9875155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22028575_04-04-2025_06_16_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22028602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22028603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22028604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22028605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22028606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22028607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22028608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22028609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22028610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22028611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22028612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22028613, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22029088, 'dashboard_result_id': 9875156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029088_04-04-2025_06_16_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029142, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029152, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22029764, 'dashboard_result_id': 9875157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029764_04-04-2025_06_18_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22029808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029819, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22030357, 'dashboard_result_id': 9875158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22030357_04-04-2025_06_18_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22030411, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22031213, 'dashboard_result_id': 9875159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031213_04-04-2025_06_20_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031228, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22031642, 'dashboard_result_id': 9875160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031642_04-04-2025_06_20_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031662, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22032545, 'dashboard_result_id': 9875161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22032545_04-04-2025_06_21_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22032600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032611, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22033502, 'dashboard_result_id': 9875162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22033502_04-04-2025_06_22_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22033506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22033507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22033508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22033509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22033510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22033511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22033512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22033513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22033514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22033515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22033516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22033517, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22034914, 'dashboard_result_id': 9875163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22034914_04-04-2025_06_24_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22034922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034926, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22035214, 'dashboard_result_id': 9875164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035214_04-04-2025_06_27_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22035270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22035273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035276, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22035987, 'dashboard_result_id': 9875165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035987_04-04-2025_06_27_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036001, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22036518, 'dashboard_result_id': 9875166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22036518_04-04-2025_06_28_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22036528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22036529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22036530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22036531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22036532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22036533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22036535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22036536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22036537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22036539, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22037273, 'dashboard_result_id': 9875167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22037273_04-04-2025_06_28_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22037278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037289, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22038344, 'dashboard_result_id': 9875168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22038344_04-04-2025_06_29_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22038393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22038394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22038395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22038396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22038397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22038399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22038400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22038401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22038402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22038403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22038404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22038416, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22039469, 'dashboard_result_id': 9875169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22039469_04-04-2025_06_30_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22039535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22039536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22039537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22039538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22039539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22039540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22039541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22039542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22039543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22039544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22039545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22039546, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22040415, 'dashboard_result_id': 9875170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22040415_04-04-2025_06_31_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22040488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22040489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22040490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22040491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22040492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22040493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22040494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22040495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22040496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22040497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22040498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22040499, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22041005, 'dashboard_result_id': 9875171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041005_04-04-2025_06_32_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041019, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22041770, 'dashboard_result_id': 9875172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041770_04-04-2025_06_32_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041801, 'pht': 3726}}"}, {'dashboat_entry_day': 1712161, 'dashboard_run_id': 1724141, 'mtr_portfolio_id': 22042424, 'dashboard_result_id': 9875173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042424_04-04-2025_06_33_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042486, '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 = 21996150 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723165, 'mtr_portfolio_id': 21996150, 'created_at': datetime.datetime(2025, 4, 4, 5, 34, 39), 'result': '0.05596302409410863', 'result_long': None, 'result_double': None}] Qualite : 0.05596302409410863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21996150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21996150_04-04-2025_05_34_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21996150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21996150_04-04-2025_05_34_44.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21996170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21996171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21996172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21996173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21996174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21996175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21996176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21996177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21996178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21996179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21996180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21996181, 'pht': 3726}}" where mtr_portfolio_id = 21996150 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21996150 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875094, 0.05596302409410863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21996150_04-04-2025_05_34_44.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21996170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21996171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21996172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21996173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21996174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21996175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21996176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21996177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21996178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21996179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21996180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21996181, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21996904 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723166, 'mtr_portfolio_id': 21996904, 'created_at': datetime.datetime(2025, 4, 4, 5, 35, 34), 'result': '0.04693283781275391', 'result_long': None, 'result_double': None}] Qualite : 0.04693283781275391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21996904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21996904_04-04-2025_05_35_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21996904 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21996904_04-04-2025_05_35_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21996931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21996932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21996933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21996934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21996935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21996936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21996937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21996938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21996939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21996940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21996941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21996942, 'pht': 3726}}" where mtr_portfolio_id = 21996904 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21996904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875095, 0.04693283781275391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21996904_04-04-2025_05_35_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21996931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21996932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21996933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21996934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21996935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21996936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21996937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21996938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21996939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21996940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21996941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21996942, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21997734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723167, 'mtr_portfolio_id': 21997734, 'created_at': datetime.datetime(2025, 4, 4, 5, 36, 1), 'result': '0.04395197910221564', 'result_long': None, 'result_double': None}] Qualite : 0.04395197910221564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21997734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21997734_04-04-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21997734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21997734_04-04-2025_05_36_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21997749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21997750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21997751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21997752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21997753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21997754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21997755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21997756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21997757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21997758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21997759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21997760, 'pht': 3726}}" where mtr_portfolio_id = 21997734 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21997734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875096, 0.04395197910221564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21997734_04-04-2025_05_36_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21997749, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21997750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21997751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21997752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21997753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21997754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21997755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21997756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21997757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21997758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21997759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21997760, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21998160 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723168, 'mtr_portfolio_id': 21998160, 'created_at': datetime.datetime(2025, 4, 4, 5, 36, 29), 'result': '0.046335698117922444', 'result_long': None, 'result_double': None}] Qualite : 0.046335698117922444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21998160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21998160_04-04-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21998160 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21998160_04-04-2025_05_36_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21998163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21998164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21998165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21998166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21998167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21998168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21998169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21998170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21998171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21998172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21998173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21998174, 'pht': 3726}}" where mtr_portfolio_id = 21998160 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21998160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875097, 0.046335698117922444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21998160_04-04-2025_05_36_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21998163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21998164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21998165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21998166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21998167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21998168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21998169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21998170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21998171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21998172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21998173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21998174, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21999983 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723169, 'mtr_portfolio_id': 21999983, 'created_at': datetime.datetime(2025, 4, 4, 5, 37, 29), 'result': '0.04030241881529166', 'result_long': None, 'result_double': None}] Qualite : 0.04030241881529166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21999983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21999983_04-04-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21999983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21999983_04-04-2025_05_37_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21999986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21999987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21999988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21999989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21999990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21999991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21999992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21999993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21999994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21999995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21999996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21999997, 'pht': 3726}}" where mtr_portfolio_id = 21999983 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21999983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875098, 0.04030241881529166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21999983_04-04-2025_05_37_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21999986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21999987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21999988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21999989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21999990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21999991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21999992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21999993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21999994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21999995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21999996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21999997, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22000337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723170, 'mtr_portfolio_id': 22000337, 'created_at': datetime.datetime(2025, 4, 4, 5, 37, 39), 'result': '0.02775395537365176', 'result_long': None, 'result_double': None}] Qualite : 0.02775395537365176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22000337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22000337_04-04-2025_05_37_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22000337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22000337_04-04-2025_05_37_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22000338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22000339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22000340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22000341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22000342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22000343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22000344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22000345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22000346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22000347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22000348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22000349, 'pht': 3726}}" where mtr_portfolio_id = 22000337 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22000337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875099, 0.02775395537365176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22000337_04-04-2025_05_37_42.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22000338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22000339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22000340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22000341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22000342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22000343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22000344, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22000345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22000346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22000347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22000348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22000349, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22000728 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723171, 'mtr_portfolio_id': 22000728, 'created_at': datetime.datetime(2025, 4, 4, 5, 37, 35), 'result': '0.05754334036547467', 'result_long': None, 'result_double': None}] Qualite : 0.05754334036547467 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22000728 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22000728_04-04-2025_05_37_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22000728 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22000728_04-04-2025_05_37_45.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22000734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22000735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22000736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22000737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22000738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22000739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22000740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22000741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22000742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22000743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22000744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22000745, 'pht': 3726}}" where mtr_portfolio_id = 22000728 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22000728 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875100, 0.05754334036547467, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22000728_04-04-2025_05_37_45.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22000734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22000735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22000736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22000737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22000738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22000739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22000740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22000741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22000742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22000743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22000744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22000745, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22001272 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723172, 'mtr_portfolio_id': 22001272, 'created_at': datetime.datetime(2025, 4, 4, 5, 37, 59), 'result': '0.06288184892449623', 'result_long': None, 'result_double': None}] Qualite : 0.06288184892449623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22001272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22001272_04-04-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22001272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22001272_04-04-2025_05_38_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22001276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22001277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22001278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22001279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22001280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22001281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22001282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22001283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22001284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22001285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22001286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22001287, 'pht': 3726}}" where mtr_portfolio_id = 22001272 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22001272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875101, 0.06288184892449623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22001272_04-04-2025_05_38_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22001276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22001277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22001278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22001279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22001280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22001281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22001282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22001283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22001284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22001285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22001286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22001287, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22001740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723173, 'mtr_portfolio_id': 22001740, 'created_at': datetime.datetime(2025, 4, 4, 5, 39, 32), 'result': '0.05591817716865305', 'result_long': None, 'result_double': None}] Qualite : 0.05591817716865305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22001740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22001740_04-04-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22001740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22001740_04-04-2025_05_39_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22001763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22001764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22001765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22001766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22001767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22001768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22001769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22001770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22001771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22001772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22001773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22001774, 'pht': 3726}}" where mtr_portfolio_id = 22001740 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22001740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875102, 0.05591817716865305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22001740_04-04-2025_05_39_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22001763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22001764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22001765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22001766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22001767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22001768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22001769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22001770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22001771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22001772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22001773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22001774, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22002247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723174, 'mtr_portfolio_id': 22002247, 'created_at': datetime.datetime(2025, 4, 4, 5, 39, 59), 'result': '0.07414138207275904', 'result_long': None, 'result_double': None}] Qualite : 0.07414138207275904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22002247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22002247_04-04-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22002247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22002247_04-04-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22002274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22002275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22002276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22002277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22002278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22002279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22002280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22002281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22002282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22002283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22002284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22002285, 'pht': 3726}}" where mtr_portfolio_id = 22002247 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22002247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875103, 0.07414138207275904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22002247_04-04-2025_05_40_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22002274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22002275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22002276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22002277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22002278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22002279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22002280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22002281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22002282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22002283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22002284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22002285, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22002793 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723175, 'mtr_portfolio_id': 22002793, 'created_at': datetime.datetime(2025, 4, 4, 5, 41), 'result': '0.043614259838390075', 'result_long': None, 'result_double': None}] Qualite : 0.043614259838390075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22002793 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22002793_04-04-2025_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22002793 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22002793_04-04-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22002845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22002846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22002847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22002848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22002849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22002850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22002851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22002852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22002853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22002854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22002855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22002856, 'pht': 3726}}" where mtr_portfolio_id = 22002793 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22002793 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875104, 0.043614259838390075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22002793_04-04-2025_05_41_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22002845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22002846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22002847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22002848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22002849, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22002850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22002851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22002852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22002853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22002854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22002855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22002856, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22003273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723176, 'mtr_portfolio_id': 22003273, 'created_at': datetime.datetime(2025, 4, 4, 5, 41, 4), 'result': '0.051412007429009', 'result_long': None, 'result_double': None}] Qualite : 0.051412007429009 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22003273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22003273_04-04-2025_05_41_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22003273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22003273_04-04-2025_05_41_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22003301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22003302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22003303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22003304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22003305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22003306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22003307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22003308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22003309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22003310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22003311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22003312, 'pht': 3726}}" where mtr_portfolio_id = 22003273 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22003273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875105, 0.051412007429009, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22003273_04-04-2025_05_41_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22003301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22003302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22003303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22003304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22003305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22003306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22003307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22003308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22003309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22003310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22003311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22003312, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22003798 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723177, 'mtr_portfolio_id': 22003798, 'created_at': datetime.datetime(2025, 4, 4, 5, 41, 34), 'result': '0.04246320128205323', 'result_long': None, 'result_double': None}] Qualite : 0.04246320128205323 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22003798 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22003798_04-04-2025_05_41_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22003798 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22003798_04-04-2025_05_41_39.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22003813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22003814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22003815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22003816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22003817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22003818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22003819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22003820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22003821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22003822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22003824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22003825, 'pht': 3726}}" where mtr_portfolio_id = 22003798 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22003798 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875106, 0.04246320128205323, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22003798_04-04-2025_05_41_39.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22003813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22003814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22003815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22003816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22003817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22003818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22003819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22003820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22003821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22003822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22003824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22003825, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22004489 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723178, 'mtr_portfolio_id': 22004489, 'created_at': datetime.datetime(2025, 4, 4, 5, 41, 33), 'result': '0.06341947411830058', 'result_long': None, 'result_double': None}] Qualite : 0.06341947411830058 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22004489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22004489_04-04-2025_05_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22004489 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22004489_04-04-2025_05_41_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22004491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22004492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22004493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22004494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22004495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22004496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22004497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22004498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22004499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22004500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22004501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22004502, 'pht': 3726}}" where mtr_portfolio_id = 22004489 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22004489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875107, 0.06341947411830058, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22004489_04-04-2025_05_41_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22004491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22004492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22004493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22004494, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22004495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22004496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22004497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22004498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22004499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22004500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22004501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22004502, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22005057 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723179, 'mtr_portfolio_id': 22005057, 'created_at': datetime.datetime(2025, 4, 4, 5, 42, 1), 'result': '0.04642275817649071', 'result_long': None, 'result_double': None}] Qualite : 0.04642275817649071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22005057 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22005057_04-04-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22005057 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22005057_04-04-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22005085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22005086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22005087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22005088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22005089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22005090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22005091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22005092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22005093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22005094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22005095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22005096, 'pht': 3726}}" where mtr_portfolio_id = 22005057 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22005057 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875108, 0.04642275817649071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22005057_04-04-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22005085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22005086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22005087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22005088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22005089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22005090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22005091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22005092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22005093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22005094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22005095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22005096, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22006079 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723180, 'mtr_portfolio_id': 22006079, 'created_at': datetime.datetime(2025, 4, 4, 5, 42, 30), 'result': '0.039462823823642974', 'result_long': None, 'result_double': None}] Qualite : 0.039462823823642974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22006079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006079_04-04-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22006079 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006079_04-04-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22006082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006093, 'pht': 3726}}" where mtr_portfolio_id = 22006079 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22006079 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875109, 0.039462823823642974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006079_04-04-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22006082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006090, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006091, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006093, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22006414 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723181, 'mtr_portfolio_id': 22006414, 'created_at': datetime.datetime(2025, 4, 4, 5, 43, 38), 'result': '0.045195385450760614', 'result_long': None, 'result_double': None}] Qualite : 0.045195385450760614 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22006414 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006414_04-04-2025_05_43_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22006414 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006414_04-04-2025_05_43_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006427, 'pht': 3726}}" where mtr_portfolio_id = 22006414 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22006414 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875110, 0.045195385450760614, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006414_04-04-2025_05_43_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006427, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22006670 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723182, 'mtr_portfolio_id': 22006670, 'created_at': datetime.datetime(2025, 4, 4, 5, 44, 3), 'result': '0.05538285292734459', 'result_long': None, 'result_double': None}] Qualite : 0.05538285292734459 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22006670 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006670_04-04-2025_05_44_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22006670 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006670_04-04-2025_05_44_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006722, 'pht': 3726}}" where mtr_portfolio_id = 22006670 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22006670 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875111, 0.05538285292734459, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22006670_04-04-2025_05_44_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22006711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22006712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22006713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22006714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22006715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22006716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22006717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22006718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22006719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22006720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22006721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22006722, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22007180 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723183, 'mtr_portfolio_id': 22007180, 'created_at': datetime.datetime(2025, 4, 4, 5, 44, 32), 'result': '0.041794767705762015', 'result_long': None, 'result_double': None}] Qualite : 0.041794767705762015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22007180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007180_04-04-2025_05_44_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22007180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007180_04-04-2025_05_44_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007194, 'pht': 3726}}" where mtr_portfolio_id = 22007180 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22007180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875112, 0.041794767705762015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007180_04-04-2025_05_44_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007194, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22007675 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723184, 'mtr_portfolio_id': 22007675, 'created_at': datetime.datetime(2025, 4, 4, 5, 45, 41), 'result': '0.04912877505492141', 'result_long': None, 'result_double': None}] Qualite : 0.04912877505492141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22007675 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007675_04-04-2025_05_45_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22007675 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007675_04-04-2025_05_45_45.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007721, 'pht': 3726}}" where mtr_portfolio_id = 22007675 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22007675 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875113, 0.04912877505492141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22007675_04-04-2025_05_45_45.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22007710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22007711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22007712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22007713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22007714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22007715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22007716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22007717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22007718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22007719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22007720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22007721, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22008153 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723185, 'mtr_portfolio_id': 22008153, 'created_at': datetime.datetime(2025, 4, 4, 5, 46, 7), 'result': '0.05092146246754778', 'result_long': None, 'result_double': None}] Qualite : 0.05092146246754778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22008153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008153_04-04-2025_05_46_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22008153 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008153_04-04-2025_05_46_11.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008216, 'pht': 3726}}" where mtr_portfolio_id = 22008153 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22008153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875114, 0.05092146246754778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008153_04-04-2025_05_46_11.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008216, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22008684 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723186, 'mtr_portfolio_id': 22008684, 'created_at': datetime.datetime(2025, 4, 4, 5, 46, 34), 'result': '0.0507420481818836', 'result_long': None, 'result_double': None}] Qualite : 0.0507420481818836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22008684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008684_04-04-2025_05_46_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22008684 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008684_04-04-2025_05_46_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008698, 'pht': 3726}}" where mtr_portfolio_id = 22008684 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22008684 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875115, 0.0507420481818836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22008684_04-04-2025_05_46_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22008687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22008688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22008689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22008690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22008691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22008692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22008693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22008694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22008695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22008696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22008697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22008698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22009111 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723187, 'mtr_portfolio_id': 22009111, 'created_at': datetime.datetime(2025, 4, 4, 5, 47, 31), 'result': '0.030907868510090353', 'result_long': None, 'result_double': None}] Qualite : 0.030907868510090353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22009111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22009111_04-04-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22009111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22009111_04-04-2025_05_47_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22009137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22009138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22009139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22009140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22009141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22009142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22009143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22009144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22009145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22009146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22009147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22009148, 'pht': 3726}}" where mtr_portfolio_id = 22009111 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22009111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875116, 0.030907868510090353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22009111_04-04-2025_05_47_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22009137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22009138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22009139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22009140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22009141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22009142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22009143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22009144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22009145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22009146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22009147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22009148, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22009574 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723188, 'mtr_portfolio_id': 22009574, 'created_at': datetime.datetime(2025, 4, 4, 5, 47, 59), 'result': '0.038322955137894396', 'result_long': None, 'result_double': None}] Qualite : 0.038322955137894396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22009574 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22009574_04-04-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22009574 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22009574_04-04-2025_05_48_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22009656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22009657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22009658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22009659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22009660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22009661, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22009662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22009663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22009664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22009665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22009666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22009667, 'pht': 3726}}" where mtr_portfolio_id = 22009574 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22009574 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875117, 0.038322955137894396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22009574_04-04-2025_05_48_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22009656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22009657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22009658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22009659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22009660, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22009661, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22009662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22009663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22009664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22009665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22009666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22009667, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22010196 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723189, 'mtr_portfolio_id': 22010196, 'created_at': datetime.datetime(2025, 4, 4, 5, 48, 32), 'result': '0.042143937764016266', 'result_long': None, 'result_double': None}] Qualite : 0.042143937764016266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22010196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010196_04-04-2025_05_48_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22010196 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010196_04-04-2025_05_48_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22010258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22010259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22010260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22010261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22010262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22010263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22010264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22010265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22010266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22010267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22010268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22010269, 'pht': 3726}}" where mtr_portfolio_id = 22010196 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22010196 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875118, 0.042143937764016266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010196_04-04-2025_05_48_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22010258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22010259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22010260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22010261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22010262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22010263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22010264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22010265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22010266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22010267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22010268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22010269, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22010987 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723190, 'mtr_portfolio_id': 22010987, 'created_at': datetime.datetime(2025, 4, 4, 5, 49, 59), 'result': '0.0406514415246754', 'result_long': None, 'result_double': None}] Qualite : 0.0406514415246754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22010987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010987_04-04-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22010987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010987_04-04-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011023, 'pht': 3726}}" where mtr_portfolio_id = 22010987 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22010987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875119, 0.0406514415246754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22010987_04-04-2025_05_50_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22011757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723191, 'mtr_portfolio_id': 22011757, 'created_at': datetime.datetime(2025, 4, 4, 5, 51, 1), 'result': '0.05639859578073659', 'result_long': None, 'result_double': None}] Qualite : 0.05639859578073659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22011757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22011757_04-04-2025_05_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22011757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22011757_04-04-2025_05_51_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011770, 'pht': 3726}}" where mtr_portfolio_id = 22011757 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22011757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875120, 0.05639859578073659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22011757_04-04-2025_05_51_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22011759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22011760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22011761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22011762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22011763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22011764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22011765, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22011766, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22011767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22011768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22011769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22011770, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22012336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723192, 'mtr_portfolio_id': 22012336, 'created_at': datetime.datetime(2025, 4, 4, 5, 54, 2), 'result': '0.04652640158535378', 'result_long': None, 'result_double': None}] Qualite : 0.04652640158535378 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22012336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012336_04-04-2025_05_54_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22012336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012336_04-04-2025_05_54_07.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22012339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012350, 'pht': 3726}}" where mtr_portfolio_id = 22012336 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22012336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875121, 0.04652640158535378, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012336_04-04-2025_05_54_07.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22012339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012350, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22012957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723193, 'mtr_portfolio_id': 22012957, 'created_at': datetime.datetime(2025, 4, 4, 5, 54, 29), 'result': '0.06052319370403317', 'result_long': None, 'result_double': None}] Qualite : 0.06052319370403317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22012957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_04-04-2025_05_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22012957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_04-04-2025_05_54_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22012986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012996, 'pht': 3726}}" where mtr_portfolio_id = 22012957 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22012957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875122, 0.06052319370403317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22012957_04-04-2025_05_54_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22012985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22012986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22012987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22012988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22012989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22012990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22012991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22012992, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22012993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22012994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22012995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22012996, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22013637 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723194, 'mtr_portfolio_id': 22013637, 'created_at': datetime.datetime(2025, 4, 4, 5, 55, 33), 'result': '0.04074848770924765', 'result_long': None, 'result_double': None}] Qualite : 0.04074848770924765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22013637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22013637_04-04-2025_05_55_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22013637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22013637_04-04-2025_05_55_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22013666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22013667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22013668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22013669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22013670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22013671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22013672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22013673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22013674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22013675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22013676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22013677, 'pht': 3726}}" where mtr_portfolio_id = 22013637 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22013637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875123, 0.04074848770924765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22013637_04-04-2025_05_55_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22013666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22013667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22013668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22013669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22013670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22013671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22013672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22013673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22013674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22013675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22013676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22013677, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22014253 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723195, 'mtr_portfolio_id': 22014253, 'created_at': datetime.datetime(2025, 4, 4, 5, 56, 3), 'result': '0.04874553675882017', 'result_long': None, 'result_double': None}] Qualite : 0.04874553675882017 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22014253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22014253_04-04-2025_05_56_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22014253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22014253_04-04-2025_05_56_14.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22014331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22014332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22014333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22014334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22014335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22014336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22014337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22014338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22014339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22014340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22014341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22014342, 'pht': 3726}}" where mtr_portfolio_id = 22014253 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22014253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875124, 0.04874553675882017, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22014253_04-04-2025_05_56_14.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22014331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22014332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22014333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22014334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22014335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22014336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22014337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22014338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22014339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22014340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22014341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22014342, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22016342 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723196, 'mtr_portfolio_id': 22016342, 'created_at': datetime.datetime(2025, 4, 4, 5, 56, 31), 'result': '0.053356913536665725', 'result_long': None, 'result_double': None}] Qualite : 0.053356913536665725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22016342 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22016342_04-04-2025_05_56_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22016342 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22016342_04-04-2025_05_56_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22016344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22016345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22016346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22016347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22016348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22016349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22016350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22016351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22016352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22016353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22016354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22016355, 'pht': 3726}}" where mtr_portfolio_id = 22016342 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22016342 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875125, 0.053356913536665725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22016342_04-04-2025_05_56_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22016344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22016345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22016346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22016347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22016348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22016349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22016350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22016351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22016352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22016353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22016354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22016355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22016869 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723197, 'mtr_portfolio_id': 22016869, 'created_at': datetime.datetime(2025, 4, 4, 5, 57, 31), 'result': '0.04194417389615146', 'result_long': None, 'result_double': None}] Qualite : 0.04194417389615146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22016869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22016869_04-04-2025_05_57_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22016869 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22016869_04-04-2025_05_57_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22016871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22016872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22016873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22016874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22016875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22016876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22016877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22016878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22016879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22016880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22016882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22016883, 'pht': 3726}}" where mtr_portfolio_id = 22016869 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22016869 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875126, 0.04194417389615146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22016869_04-04-2025_05_57_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22016871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22016872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22016873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22016874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22016875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22016876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22016877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22016878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22016879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22016880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22016882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22016883, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22017483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723198, 'mtr_portfolio_id': 22017483, 'created_at': datetime.datetime(2025, 4, 4, 5, 57, 59), 'result': '0.03375775737253626', 'result_long': None, 'result_double': None}] Qualite : 0.03375775737253626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22017483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22017483_04-04-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22017483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22017483_04-04-2025_05_58_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22017488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22017489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22017490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22017491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22017492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22017493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22017494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22017495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22017496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22017497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22017498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22017499, 'pht': 3726}}" where mtr_portfolio_id = 22017483 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22017483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875127, 0.03375775737253626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22017483_04-04-2025_05_58_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22017488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22017489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22017490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22017491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22017492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22017493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22017494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22017495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22017496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22017497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22017498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22017499, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22018238 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723199, 'mtr_portfolio_id': 22018238, 'created_at': datetime.datetime(2025, 4, 4, 5, 58, 33), 'result': '0.03674494101284215', 'result_long': None, 'result_double': None}] Qualite : 0.03674494101284215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22018238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22018238_04-04-2025_05_58_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22018238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22018238_04-04-2025_05_58_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22018247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22018248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22018249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22018250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22018251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22018252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22018253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22018254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22018255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22018256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22018257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22018258, 'pht': 3726}}" where mtr_portfolio_id = 22018238 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22018238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875128, 0.03674494101284215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22018238_04-04-2025_05_58_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22018247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22018248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22018249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22018250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22018251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22018252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22018253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22018254, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22018255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22018256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22018257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22018258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22018708 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723200, 'mtr_portfolio_id': 22018708, 'created_at': datetime.datetime(2025, 4, 4, 5, 59, 29), 'result': '0.0493886904475222', 'result_long': None, 'result_double': None}] Qualite : 0.0493886904475222 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22018708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22018708_04-04-2025_05_59_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22018708 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22018708_04-04-2025_05_59_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22018739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22018740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22018741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22018742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22018743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22018744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22018745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22018746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22018747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22018748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22018749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22018750, 'pht': 3726}}" where mtr_portfolio_id = 22018708 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22018708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875129, 0.0493886904475222, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22018708_04-04-2025_05_59_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22018739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22018740, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22018741, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22018742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22018743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22018744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22018745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22018746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22018747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22018748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22018749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22018750, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22019412 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723201, 'mtr_portfolio_id': 22019412, 'created_at': datetime.datetime(2025, 4, 4, 6, 0, 4), 'result': '0.03399730902088398', 'result_long': None, 'result_double': None}] Qualite : 0.03399730902088398 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22019412 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22019412_04-04-2025_06_00_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22019412 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22019412_04-04-2025_06_00_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22019413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22019414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22019415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22019416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22019417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22019418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22019419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22019420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22019421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22019422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22019423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22019424, 'pht': 3726}}" where mtr_portfolio_id = 22019412 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22019412 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875130, 0.03399730902088398, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22019412_04-04-2025_06_00_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22019413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22019414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22019415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22019416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22019417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22019418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22019419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22019420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22019421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22019422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22019423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22019424, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22019963 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723202, 'mtr_portfolio_id': 22019963, 'created_at': datetime.datetime(2025, 4, 4, 6, 0, 29), 'result': '0.05335344589846793', 'result_long': None, 'result_double': None}] Qualite : 0.05335344589846793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22019963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22019963_04-04-2025_06_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22019963 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22019963_04-04-2025_06_00_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22020013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22020014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22020015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22020016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22020017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22020018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22020019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22020020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22020021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22020022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22020023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22020024, 'pht': 3726}}" where mtr_portfolio_id = 22019963 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22019963 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875131, 0.05335344589846793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22019963_04-04-2025_06_00_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22020013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22020014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22020015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22020016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22020017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22020018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22020019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22020020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22020021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22020022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22020023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22020024, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22020684 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723203, 'mtr_portfolio_id': 22020684, 'created_at': datetime.datetime(2025, 4, 4, 6, 1), 'result': '0.057326609665876806', 'result_long': None, 'result_double': None}] Qualite : 0.057326609665876806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22020684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22020684_04-04-2025_06_01_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22020684 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22020684_04-04-2025_06_01_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22020749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22020750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22020751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22020752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22020753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22020754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22020755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22020756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22020758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22020764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22020771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22020772, 'pht': 3726}}" where mtr_portfolio_id = 22020684 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22020684 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875132, 0.057326609665876806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22020684_04-04-2025_06_01_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22020749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22020750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22020751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22020752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22020753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22020754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22020755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22020756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22020758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22020764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22020771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22020772, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22021391 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723204, 'mtr_portfolio_id': 22021391, 'created_at': datetime.datetime(2025, 4, 4, 6, 1, 29), 'result': '0.06306844127600976', 'result_long': None, 'result_double': None}] Qualite : 0.06306844127600976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22021391 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22021391_04-04-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22021391 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22021391_04-04-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22021410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22021411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22021412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22021413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22021414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22021415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22021416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22021417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22021418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22021419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22021420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22021421, 'pht': 3726}}" where mtr_portfolio_id = 22021391 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22021391 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875133, 0.06306844127600976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22021391_04-04-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22021410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22021411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22021412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22021413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22021414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22021415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22021416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22021417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22021418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22021419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22021420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22021421, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22021881 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723205, 'mtr_portfolio_id': 22021881, 'created_at': datetime.datetime(2025, 4, 4, 6, 2, 1), 'result': '0.042896852691170544', 'result_long': None, 'result_double': None}] Qualite : 0.042896852691170544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22021881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22021881_04-04-2025_06_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22021881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22021881_04-04-2025_06_02_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22021908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22021909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22021910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22021911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22021912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22021913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22021914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22021915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22021916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22021917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22021918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22021919, 'pht': 3726}}" where mtr_portfolio_id = 22021881 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22021881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875134, 0.042896852691170544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22021881_04-04-2025_06_02_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22021908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22021909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22021910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22021911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22021912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22021913, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22021914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22021915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22021916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22021917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22021918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22021919, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22022395 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723206, 'mtr_portfolio_id': 22022395, 'created_at': datetime.datetime(2025, 4, 4, 6, 2, 32), 'result': '0.05052927208236053', 'result_long': None, 'result_double': None}] Qualite : 0.05052927208236053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22022395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22022395_04-04-2025_06_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22022395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22022395_04-04-2025_06_02_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22022422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22022423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22022424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22022425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22022426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22022427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22022428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22022429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22022430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22022431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22022432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22022433, 'pht': 3726}}" where mtr_portfolio_id = 22022395 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22022395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875135, 0.05052927208236053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22022395_04-04-2025_06_02_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22022422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22022423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22022424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22022425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22022426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22022427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22022428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22022429, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22022430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22022431, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22022432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22022433, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22023977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723207, 'mtr_portfolio_id': 22023977, 'created_at': datetime.datetime(2025, 4, 4, 6, 3, 32), 'result': '0.06305549028307833', 'result_long': None, 'result_double': None}] Qualite : 0.06305549028307833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22023977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22023977_04-04-2025_06_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22023977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22023977_04-04-2025_06_03_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22023979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22023980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22023981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22023982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22023983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22023984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22023985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22023986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22023987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22023988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22023989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22023990, 'pht': 3726}}" where mtr_portfolio_id = 22023977 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22023977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875136, 0.06305549028307833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22023977_04-04-2025_06_03_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22023979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22023980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22023981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22023982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22023983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22023984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22023985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22023986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22023987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22023988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22023989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22023990, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22024321 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723208, 'mtr_portfolio_id': 22024321, 'created_at': datetime.datetime(2025, 4, 4, 6, 4, 5), 'result': '0.0449105743527248', 'result_long': None, 'result_double': None}] Qualite : 0.0449105743527248 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22024321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024321_04-04-2025_06_04_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22024321 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024321_04-04-2025_06_04_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024375, 'pht': 3726}}" where mtr_portfolio_id = 22024321 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22024321 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875137, 0.0449105743527248, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024321_04-04-2025_06_04_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024375, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042795 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726160, 'mtr_portfolio_id': 22042795, 'created_at': datetime.datetime(2025, 4, 4, 12, 20, 3), 'result': '0.041827970249769766', 'result_long': None, 'result_double': None}] Qualite : 0.041827970249769766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22042795 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042795_04-04-2025_12_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042795 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042795_04-04-2025_12_20_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043730, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043731, 'pht': 3726}}" where mtr_portfolio_id = 22042795 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22042795 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875138, 0.041827970249769766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042795_04-04-2025_12_20_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043730, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043731, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042796 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726161, 'mtr_portfolio_id': 22042796, 'created_at': datetime.datetime(2025, 4, 4, 12, 20, 30), 'result': '0.04885893154334296', 'result_long': None, 'result_double': None}] Qualite : 0.04885893154334296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22042796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042796_04-04-2025_12_20_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042796 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042796_04-04-2025_12_20_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043611, 'pht': 3726}}" where mtr_portfolio_id = 22042796 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22042796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875139, 0.04885893154334296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042796_04-04-2025_12_20_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043600, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043611, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042797 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726162, 'mtr_portfolio_id': 22042797, 'created_at': datetime.datetime(2025, 4, 4, 12, 20, 58), 'result': '0.051963721773554856', 'result_long': None, 'result_double': None}] Qualite : 0.051963721773554856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22042797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042797_04-04-2025_12_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042797_04-04-2025_12_21_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043659, 'pht': 3726}}" where mtr_portfolio_id = 22042797 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22042797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875140, 0.051963721773554856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042797_04-04-2025_12_21_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043649, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043650, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043659, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042800 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726163, 'mtr_portfolio_id': 22042800, 'created_at': datetime.datetime(2025, 4, 4, 12, 21, 30), 'result': '0.04696480338853509', 'result_long': None, 'result_double': None}] Qualite : 0.04696480338853509 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22042800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042800_04-04-2025_12_21_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042800 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042800_04-04-2025_12_21_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22043540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043551, 'pht': 3726}}" where mtr_portfolio_id = 22042800 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22042800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875141, 0.04696480338853509, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042800_04-04-2025_12_21_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22043540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043551, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042801 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 = 22042801 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 = 22042801 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042801 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 = 22042801 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 = 22042801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042801_04-04-2025_06_07_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042801_04-04-2025_06_07_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043504, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043509, 'pht': 3726}}" where mtr_portfolio_id = 22042801 and dashboard_run_id = 1724141 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042803 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 = 22042803 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 = 22042803 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042803 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 = 22042803 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 = 22042803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042803_04-04-2025_06_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042803_04-04-2025_06_08_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043475, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043478, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043483, 'pht': 3726}}" where mtr_portfolio_id = 22042803 and dashboard_run_id = 1724141 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042804 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 = 22042804 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 = 22042804 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042804 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 = 22042804 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 = 22042804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042804_04-04-2025_06_08_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042804 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042804_04-04-2025_06_08_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043195, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043204, 'pht': 3726}}" where mtr_portfolio_id = 22042804 and dashboard_run_id = 1724141 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042805 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 = 22042805 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 = 22042805 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042805 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 = 22042805 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 = 22042805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042805_04-04-2025_06_09_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042805_04-04-2025_06_09_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043177, 'pht': 3726}}" where mtr_portfolio_id = 22042805 and dashboard_run_id = 1724141 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042806 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 = 22042806 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 = 22042806 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042806 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 = 22042806 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 = 22042806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042806_04-04-2025_06_10_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042806 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042806_04-04-2025_06_10_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043126, 'pht': 3726}}" where mtr_portfolio_id = 22042806 and dashboard_run_id = 1724141 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042807 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 = 22042807 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 = 22042807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042807 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 = 22042807 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 = 22042807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042807_04-04-2025_06_11_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042807_04-04-2025_06_11_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042820, 'pht': 3726}}" where mtr_portfolio_id = 22042807 and dashboard_run_id = 1724141 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22026066 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 = 22026066 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 = 22026066 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22026066 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 = 22026066 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 = 22026066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22026066_04-04-2025_06_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22026066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22026066_04-04-2025_06_11_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22026122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22026123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22026124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22026125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22026126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22026127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22026128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22026129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22026130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22026131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22026132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22026133, 'pht': 3726}}" where mtr_portfolio_id = 22026066 and dashboard_run_id = 1724141 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22025234 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723220, 'mtr_portfolio_id': 22025234, 'created_at': datetime.datetime(2025, 4, 4, 6, 11, 59), 'result': '0.03250741853380034', 'result_long': None, 'result_double': None}] Qualite : 0.03250741853380034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22025234 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22025234_04-04-2025_06_12_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22025234 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22025234_04-04-2025_06_12_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22025284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22025285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22025286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22025287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22025288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22025289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22025290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22025291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22025292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22025293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22025294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22025295, 'pht': 3726}}" where mtr_portfolio_id = 22025234 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22025234 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875149, 0.03250741853380034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22025234_04-04-2025_06_12_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22025284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22025285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22025286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22025287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22025288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22025289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22025290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22025291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22025292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22025293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22025294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22025295, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22024878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723221, 'mtr_portfolio_id': 22024878, 'created_at': datetime.datetime(2025, 4, 4, 6, 12, 30), 'result': '0.05674850229664205', 'result_long': None, 'result_double': None}] Qualite : 0.05674850229664205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22024878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024878_04-04-2025_06_12_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22024878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024878_04-04-2025_06_12_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024909, 'pht': 3726}}" where mtr_portfolio_id = 22024878 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22024878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875150, 0.05674850229664205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024878_04-04-2025_06_12_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024909, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22024881 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723222, 'mtr_portfolio_id': 22024881, 'created_at': datetime.datetime(2025, 4, 4, 6, 13, 31), 'result': '0.06363453083756651', 'result_long': None, 'result_double': None}] Qualite : 0.06363453083756651 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22024881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024881_04-04-2025_06_13_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22024881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024881_04-04-2025_06_13_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024897, 'pht': 3726}}" where mtr_portfolio_id = 22024881 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22024881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875151, 0.06363453083756651, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22024881_04-04-2025_06_13_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22024886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22024887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22024888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22024889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22024890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22024891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22024892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22024893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22024894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22024895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22024896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22024897, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22027156 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723223, 'mtr_portfolio_id': 22027156, 'created_at': datetime.datetime(2025, 4, 4, 6, 13, 58), 'result': '0.05173144512202034', 'result_long': None, 'result_double': None}] Qualite : 0.05173144512202034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22027156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22027156_04-04-2025_06_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22027156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22027156_04-04-2025_06_14_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22027184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22027185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22027186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22027187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22027188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22027189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22027190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22027191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22027192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22027193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22027194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22027195, 'pht': 3726}}" where mtr_portfolio_id = 22027156 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22027156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875152, 0.05173144512202034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22027156_04-04-2025_06_14_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22027184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22027185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22027186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22027187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22027188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22027189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22027190, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22027191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22027192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22027193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22027194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22027195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22027723 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723224, 'mtr_portfolio_id': 22027723, 'created_at': datetime.datetime(2025, 4, 4, 6, 14, 31), 'result': '0.04765720742886969', 'result_long': None, 'result_double': None}] Qualite : 0.04765720742886969 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22027723 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22027723_04-04-2025_06_14_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22027723 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22027723_04-04-2025_06_14_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22027726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22027727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22027728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22027729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22027730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22027731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22027732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22027733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22027734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22027735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22027736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22027737, 'pht': 3726}}" where mtr_portfolio_id = 22027723 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22027723 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875153, 0.04765720742886969, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22027723_04-04-2025_06_14_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22027726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22027727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22027728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22027729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22027730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22027731, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22027732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22027733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22027734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22027735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22027736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22027737, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22028138 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723225, 'mtr_portfolio_id': 22028138, 'created_at': datetime.datetime(2025, 4, 4, 6, 15, 29), 'result': '0.03499884131475009', 'result_long': None, 'result_double': None}] Qualite : 0.03499884131475009 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22028138 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22028138_04-04-2025_06_15_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22028138 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22028138_04-04-2025_06_15_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22028139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22028140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22028141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22028142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22028143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22028144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22028145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22028146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22028147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22028148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22028149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22028150, 'pht': 3726}}" where mtr_portfolio_id = 22028138 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22028138 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875154, 0.03499884131475009, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22028138_04-04-2025_06_15_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22028139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22028140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22028141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22028142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22028143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22028144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22028145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22028146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22028147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22028148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22028149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22028150, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22028575 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723226, 'mtr_portfolio_id': 22028575, 'created_at': datetime.datetime(2025, 4, 4, 6, 16, 1), 'result': '0.06386139938544927', 'result_long': None, 'result_double': None}] Qualite : 0.06386139938544927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22028575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22028575_04-04-2025_06_16_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22028575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22028575_04-04-2025_06_16_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22028602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22028603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22028604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22028605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22028606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22028607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22028608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22028609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22028610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22028611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22028612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22028613, 'pht': 3726}}" where mtr_portfolio_id = 22028575 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22028575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875155, 0.06386139938544927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22028575_04-04-2025_06_16_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22028602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22028603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22028604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22028605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22028606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22028607, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22028608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22028609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22028610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22028611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22028612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22028613, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22029088 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723227, 'mtr_portfolio_id': 22029088, 'created_at': datetime.datetime(2025, 4, 4, 6, 16, 30), 'result': '0.048251592235153996', 'result_long': None, 'result_double': None}] Qualite : 0.048251592235153996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22029088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029088_04-04-2025_06_16_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22029088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029088_04-04-2025_06_16_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029142, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029152, 'pht': 3726}}" where mtr_portfolio_id = 22029088 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22029088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875156, 0.048251592235153996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029088_04-04-2025_06_16_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029142, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22029151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029152, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22029764 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723228, 'mtr_portfolio_id': 22029764, 'created_at': datetime.datetime(2025, 4, 4, 6, 18, 2), 'result': '0.0544525182565503', 'result_long': None, 'result_double': None}] Qualite : 0.0544525182565503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22029764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029764_04-04-2025_06_18_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22029764 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029764_04-04-2025_06_18_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22029808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029819, 'pht': 3726}}" where mtr_portfolio_id = 22029764 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22029764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875157, 0.0544525182565503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22029764_04-04-2025_06_18_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22029808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22029809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22029810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22029811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22029812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22029813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22029814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22029815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22029816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22029817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22029818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22029819, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22030357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723229, 'mtr_portfolio_id': 22030357, 'created_at': datetime.datetime(2025, 4, 4, 6, 18, 32), 'result': '0.06160380115146187', 'result_long': None, 'result_double': None}] Qualite : 0.06160380115146187 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22030357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22030357_04-04-2025_06_18_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22030357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22030357_04-04-2025_06_18_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22030411, 'pht': 3726}}" where mtr_portfolio_id = 22030357 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22030357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875158, 0.06160380115146187, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22030357_04-04-2025_06_18_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22030400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22030401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22030402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22030403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22030404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22030405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22030406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22030407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22030408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22030409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22030410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22030411, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22031213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723230, 'mtr_portfolio_id': 22031213, 'created_at': datetime.datetime(2025, 4, 4, 6, 20, 3), 'result': '0.04369765023440898', 'result_long': None, 'result_double': None}] Qualite : 0.04369765023440898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22031213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031213_04-04-2025_06_20_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22031213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031213_04-04-2025_06_20_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031228, 'pht': 3726}}" where mtr_portfolio_id = 22031213 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22031213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875159, 0.04369765023440898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031213_04-04-2025_06_20_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031228, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22031642 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723231, 'mtr_portfolio_id': 22031642, 'created_at': datetime.datetime(2025, 4, 4, 6, 20, 36), 'result': '0.03786239997432494', 'result_long': None, 'result_double': None}] Qualite : 0.03786239997432494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22031642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031642_04-04-2025_06_20_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22031642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031642_04-04-2025_06_20_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031662, 'pht': 3726}}" where mtr_portfolio_id = 22031642 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22031642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875160, 0.03786239997432494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22031642_04-04-2025_06_20_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22031651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22031652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22031653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22031654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22031655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22031656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22031657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22031658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22031659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22031660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22031661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22031662, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22032545 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723232, 'mtr_portfolio_id': 22032545, 'created_at': datetime.datetime(2025, 4, 4, 6, 21, 30), 'result': '0.05615107250979249', 'result_long': None, 'result_double': None}] Qualite : 0.05615107250979249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22032545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22032545_04-04-2025_06_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22032545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22032545_04-04-2025_06_21_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22032600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032611, 'pht': 3726}}" where mtr_portfolio_id = 22032545 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22032545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875161, 0.05615107250979249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22032545_04-04-2025_06_21_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22032600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22032601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22032602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22032603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22032604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22032605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22032606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22032607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22032608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22032609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22032610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22032611, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22033502 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723233, 'mtr_portfolio_id': 22033502, 'created_at': datetime.datetime(2025, 4, 4, 6, 22, 1), 'result': '0.05516925296778239', 'result_long': None, 'result_double': None}] Qualite : 0.05516925296778239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22033502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22033502_04-04-2025_06_22_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22033502 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22033502_04-04-2025_06_22_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22033506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22033507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22033508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22033509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22033510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22033511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22033512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22033513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22033514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22033515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22033516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22033517, 'pht': 3726}}" where mtr_portfolio_id = 22033502 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22033502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875162, 0.05516925296778239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22033502_04-04-2025_06_22_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22033506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22033507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22033508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22033509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22033510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22033511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22033512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22033513, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22033514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22033515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22033516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22033517, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22034914 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723234, 'mtr_portfolio_id': 22034914, 'created_at': datetime.datetime(2025, 4, 4, 6, 24, 1), 'result': '0.07392256675354443', 'result_long': None, 'result_double': None}] Qualite : 0.07392256675354443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22034914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22034914_04-04-2025_06_24_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22034914 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22034914_04-04-2025_06_24_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22034922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034926, 'pht': 3726}}" where mtr_portfolio_id = 22034914 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22034914 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875163, 0.07392256675354443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22034914_04-04-2025_06_24_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22034915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22034916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22034917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22034918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22034919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22034920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22034921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22034922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22034923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22034924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22034925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22034926, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22035214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723235, 'mtr_portfolio_id': 22035214, 'created_at': datetime.datetime(2025, 4, 4, 6, 27, 5), 'result': '0.04611464742827592', 'result_long': None, 'result_double': None}] Qualite : 0.04611464742827592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22035214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035214_04-04-2025_06_27_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22035214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035214_04-04-2025_06_27_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22035270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22035273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035276, 'pht': 3726}}" where mtr_portfolio_id = 22035214 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22035214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875164, 0.04611464742827592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035214_04-04-2025_06_27_10.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22035270, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22035273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035276, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22035987 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723236, 'mtr_portfolio_id': 22035987, 'created_at': datetime.datetime(2025, 4, 4, 6, 27, 36), 'result': '0.054783280112446604', 'result_long': None, 'result_double': None}] Qualite : 0.054783280112446604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22035987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035987_04-04-2025_06_27_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22035987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035987_04-04-2025_06_27_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036001, 'pht': 3726}}" where mtr_portfolio_id = 22035987 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22035987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875165, 0.054783280112446604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22035987_04-04-2025_06_27_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22035990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22035991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22035992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22035993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22035994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22035995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22035996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22035997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22035998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22035999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036001, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22036518 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723237, 'mtr_portfolio_id': 22036518, 'created_at': datetime.datetime(2025, 4, 4, 6, 28, 4), 'result': '0.0486091432573802', 'result_long': None, 'result_double': None}] Qualite : 0.0486091432573802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22036518 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22036518_04-04-2025_06_28_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22036518 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22036518_04-04-2025_06_28_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22036528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22036529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22036530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22036531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22036532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22036533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22036535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22036536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22036537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22036539, 'pht': 3726}}" where mtr_portfolio_id = 22036518 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22036518 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875166, 0.0486091432573802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22036518_04-04-2025_06_28_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22036528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22036529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22036530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22036531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22036532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22036533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22036534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22036535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22036536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22036537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22036538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22036539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22037273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723238, 'mtr_portfolio_id': 22037273, 'created_at': datetime.datetime(2025, 4, 4, 6, 28, 32), 'result': '0.052623664344313134', 'result_long': None, 'result_double': None}] Qualite : 0.052623664344313134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22037273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22037273_04-04-2025_06_28_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22037273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22037273_04-04-2025_06_28_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22037278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037289, 'pht': 3726}}" where mtr_portfolio_id = 22037273 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22037273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875167, 0.052623664344313134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22037273_04-04-2025_06_28_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22037278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22037279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22037280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22037281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22037282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22037283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22037284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22037285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22037286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22037287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22037288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22037289, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22038344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723239, 'mtr_portfolio_id': 22038344, 'created_at': datetime.datetime(2025, 4, 4, 6, 29, 35), 'result': '0.040932253927570855', 'result_long': None, 'result_double': None}] Qualite : 0.040932253927570855 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22038344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22038344_04-04-2025_06_29_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22038344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22038344_04-04-2025_06_29_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22038393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22038394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22038395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22038396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22038397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22038399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22038400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22038401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22038402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22038403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22038404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22038416, 'pht': 3726}}" where mtr_portfolio_id = 22038344 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22038344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875168, 0.040932253927570855, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22038344_04-04-2025_06_29_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22038393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22038394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22038395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22038396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22038397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22038399, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22038400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22038401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22038402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22038403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22038404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22038416, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22039469 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723240, 'mtr_portfolio_id': 22039469, 'created_at': datetime.datetime(2025, 4, 4, 6, 30, 6), 'result': '0.05241498824853366', 'result_long': None, 'result_double': None}] Qualite : 0.05241498824853366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22039469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22039469_04-04-2025_06_30_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22039469 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22039469_04-04-2025_06_30_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22039535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22039536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22039537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22039538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22039539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22039540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22039541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22039542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22039543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22039544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22039545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22039546, 'pht': 3726}}" where mtr_portfolio_id = 22039469 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22039469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875169, 0.05241498824853366, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22039469_04-04-2025_06_30_10.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22039535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22039536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22039537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22039538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22039539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22039540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22039541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22039542, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22039543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22039544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22039545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22039546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22040415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723241, 'mtr_portfolio_id': 22040415, 'created_at': datetime.datetime(2025, 4, 4, 6, 31, 33), 'result': '0.04021818609497775', 'result_long': None, 'result_double': None}] Qualite : 0.04021818609497775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22040415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22040415_04-04-2025_06_31_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22040415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22040415_04-04-2025_06_31_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22040488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22040489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22040490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22040491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22040492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22040493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22040494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22040495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22040496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22040497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22040498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22040499, 'pht': 3726}}" where mtr_portfolio_id = 22040415 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22040415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875170, 0.04021818609497775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22040415_04-04-2025_06_31_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22040488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22040489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22040490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22040491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22040492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22040493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22040494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22040495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22040496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22040497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22040498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22040499, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22041005 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723242, 'mtr_portfolio_id': 22041005, 'created_at': datetime.datetime(2025, 4, 4, 6, 32, 4), 'result': '0.05938326160732059', 'result_long': None, 'result_double': None}] Qualite : 0.05938326160732059 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22041005 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041005_04-04-2025_06_32_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22041005 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041005_04-04-2025_06_32_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041019, 'pht': 3726}}" where mtr_portfolio_id = 22041005 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22041005 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875171, 0.05938326160732059, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041005_04-04-2025_06_32_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041011, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041019, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22041770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723243, 'mtr_portfolio_id': 22041770, 'created_at': datetime.datetime(2025, 4, 4, 6, 32, 31), 'result': '0.04156414485076401', 'result_long': None, 'result_double': None}] Qualite : 0.04156414485076401 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22041770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041770_04-04-2025_06_32_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22041770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041770_04-04-2025_06_32_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041801, 'pht': 3726}}" where mtr_portfolio_id = 22041770 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22041770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875172, 0.04156414485076401, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22041770_04-04-2025_06_32_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22041789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22041790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22041792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22041793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22041794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22041795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22041796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22041797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22041798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22041799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22041800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22041801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22042424 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723244, 'mtr_portfolio_id': 22042424, 'created_at': datetime.datetime(2025, 4, 4, 6, 33, 35), 'result': '0.03264344982873473', 'result_long': None, 'result_double': None}] Qualite : 0.03264344982873473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22042424 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042424_04-04-2025_06_33_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22042424 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042424_04-04-2025_06_33_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042486, 'pht': 3726}}" where mtr_portfolio_id = 22042424 and dashboard_run_id = 1724141 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22042424 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9875173, 0.03264344982873473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22042424_04-04-2025_06_33_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22042475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22042476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22042477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22042478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22042479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22042480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22042481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22042482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22042483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22042484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22042485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22042486, '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 (21996150,21996904,21997734,21998160,21999983,22000337,22000728,22001272,22001740,22002247,22002793,22003273,22003798,22004489,22005057,22006079,22006414,22006670,22007180,22007675,22008153,22008684,22009111,22009574,22010196,22010987,22011757,22012336,22012957,22013637,22014253,22016342,22016869,22017483,22018238,22018708,22019412,22019963,22020684,22021391,22021881,22022395,22023977,22024321,22042795,22042796,22042797,22042800,22042801,22042803,22042804,22042805,22042806,22042807,22026066,22025234,22024878,22024881,22027156,22027723,22028138,22028575,22029088,22029764,22030357,22031213,22031642,22032545,22033502,22034914,22035214,22035987,22036518,22037273,22038344,22039469,22040415,22041005,22041770,22042424) result : ((1349665939,), (1349665997,), (1349666643,), (1349666714,), (1349666765,), (1349666822,), (1349666874,), (1349666923,), (1349667139,), (1349667171,), (1349667215,), (1349667260,), (1349667306,), (1349667709,), (1349667787,), (1349667818,), (1349667850,), (1349667880,), (1349668101,), (1349668120,), (1349668132,), (1349668136,), (1349668139,), (1349668316,), (1349668341,), (1349668367,), (1349668388,), (1349668422,), (1349668596,), (1349668649,), (1349668657,), (1349668660,), (1349668675,), (1349668687,), (1349668805,), (1349668810,), (1349668813,), (1349668928,), (1349668931,), (1349668933,), (1349668935,), (1349668939,), (1349668945,), (1349668970,), (1349668974,), (1349668976,), (1349668978,), (1349668981,), (1349668991,), (1349669148,), (1349669151,), (1349669153,), (1349669286,), (1349669314,), (1349669379,), (1349669382,), (1349669386,), (1349669390,), (1349669565,), (1349669568,), (1349669570,), (1349669575,), (1349669589,), (1349669631,), (1349669747,), (1349669776,), (1349669780,), (1349669784,), (1349669787,), (1349669821,), (1349669834,), (1349669845,), (1349669851,), (1349669858,), (1349669863,), (1349670092,), (1349670018,), (1349670065,), (1349670069,), (1349670086,), (1349670174,), (1349670177,), (1349670180,), (1349670183,), (1349670187,), (1349670193,), (1349670253,), (1349670257,), (1349670264,), (1349670273,), (1349670342,), (1349670363,), (1349670393,), (1349670398,), (1349670405,), (1349670423,), (1349670520,), (1349670530,), (1349670561,), (1349670566,), (1349670574,), (1349670635,), (1349670899,), (1349670916,), (1349670951,), (1349671010,), (1349671019,), (1349671031,), (1349671042,), (1349671053,), (1349671058,), (1349671181,), (1349671185,), (1349671187,), (1349671189,), (1349671196,), (1349671226,), (1349671298,), (1349671302,), (1349671316,), (1349671599,), (1349671626,), (1349671642,), (1349671654,), (1349671722,), (1349671747,), (1349671820,), (1349671865,), (1349671873,), (1349671879,), (1349672004,), (1349672043,), (1349672098,), (1349672100,), (1349672118,), (1349672127,), (1349672371,), (1349672387,), (1349672415,), (1349672442,), (1349672476,), (1349672481,), (1349672491,), (1349672493,), (1349672498,), (1349672505,), (1349672669,), (1349672716,), (1349672769,), (1349672818,), (1349672838,), (1349672847,), (1349673589,), (1349673444,), (1349673869,), (1349673973,), (1349674018,), (1349674050,), (1349674080,), (1349674403,), (1349674432,), (1349674480,), (1349674509,), (1349674925,), (1349675033,), (1349675062,), (1349675087,), (1349675258,), (1349675263,), (1349675265,), (1349675297,), (1349675324,), (1349675353,), (1349675423,), (1349675437,), (1349675444,), (1349675453,), (1349675470,), (1349675476,), (1349675480,), (1349675485,), (1349675489,), (1349675536,), (1349676060,), (1349676125,), (1349676127,), (1349676133,), (1349676298,), (1349676327,), (1349676349,), (1349676361,), (1349676371,), (1349676656,), (1349676667,), (1349676697,), (1349676716,), (1349676720,), (1349676721,), (1349676900,), (1349676904,), (1349676906,), (1349676909,), (1349676945,), (1349676951,), (1349676956,), (1349676965,), (1349677065,), (1349677068,), (1349677072,), (1349677140,), (1349677145,), (1349677150,), (1349677376,), (1349677398,), (1349677424,), (1349677448,), (1349677461,), (1349677465,), (1349677846,), (1349677576,), (1349677660,), (1349677746,), (1349677833,), (1349677888,), (1349677894,), (1349677897,), (1349677905,), (1349677932,), (1349677938,), (1349677947,), (1349677964,), (1349677972,), (1349677976,), (1349678044,), (1349678048,), (1349678052,), (1349678056,), (1349678083,), (1349678090,), (1349678103,), (1349678107,), (1349678111,), (1349678114,), (1349678214,), (1349678237,), (1349678280,), (1349678292,), (1349678375,), (1349678384,), (1349678392,), (1349678395,), (1349678400,), (1349678408,), (1349678559,), (1349678613,), (1349678628,), (1349678636,), (1349678799,), (1349678814,), (1349678869,), (1349678878,), (1349678882,), (1349679027,), (1349679045,), (1349679048,), (1349679053,), (1349679087,), (1349679578,), (1349679635,), (1349679690,), (1349680286,), (1349680435,), (1349680569,), (1349680669,), (1349680781,), (1349680875,), (1349681225,), (1349681296,), (1349682314,), (1349682384,), (1349682435,), (1349682512,), (1349682758,), (1349682829,), (1349683317,), (1349690884,), (1349691020,), (1349691031,), (1349691048,), (1349691060,), (1349691067,), (1349691118,), (1349691122,), (1349691145,), (1349691194,), (1349691215,), (1349691328,), (1349691332,), (1349691490,), (1349691502,), (1349691554,), (1349691614,), (1349691687,), (1349691711,), (1349691919,), (1349691927,), (1349691938,), (1349691943,), (1349691971,), (1349691982,), (1349692056,), (1349692060,), (1349692063,), (1349692067,), (1349692149,), (1349692195,), (1349692203,), (1349692208,), (1349692211,), (1349693746,), (1349693077,), (1349694011,), (1349694592,), (1349694615,), (1349694635,), (1349694689,), (1349694962,), (1349695007,), (1349695023,), (1349695027,), (1349695251,), (1349695291,), (1349695311,), (1349695312,), (1349695426,), (1349695455,), (1349695496,), (1349695533,), (1349695703,), (1349695727,), (1349695756,), (1349695782,), (1349695809,), (1349695830,), (1349696381,), (1349696390,), (1349696394,), (1349696399,), (1349696419,), (1349696921,), (1349696646,), (1349696698,), (1349696770,), (1349696806,), (1349697355,), (1349697412,), (1349697460,), (1349697513,), (1349697560,), (1349698076,), (1349698162,), (1349698229,), (1349698310,), (1349698423,), (1349698488,), (1349698975,), (1349699053,), (1349699102,), (1349699756,), (1349699829,), (1349699874,), (1349699956,), (1349700044,), (1349700094,), (1349700479,), (1349700529,), (1349700563,), (1349700615,), (1349700630,), (1349700652,), (1349700811,), (1349700824,), (1349700828,), (1349700829,), (1349700853,), (1349700860,), (1349700863,), (1349700868,), (1349700870,), (1349700875,), (1349700893,), (1349700896,), (1349700898,), (1349700900,), (1349700928,), (1349700931,), (1349700933,), (1349700935,), (1349700938,), (1349700960,), (1349700971,), (1349700972,), (1349700974,), (1349700990,), (1349700993,), (1349700996,), (1349700999,), (1349701003,), (1349701035,), (1349701037,), (1349701038,), (1349701040,), (1349701055,), (1349701063,), (1349701065,), (1349701072,), (1349701074,), (1349701076,), (1349701109,), (1349701093,), (1349701100,), (1349701105,), (1349701106,), (1349701126,), (1349701129,), (1349701134,), (1349701141,), (1349701170,), (1349701178,), (1349701260,), (1349701263,), (1349701281,), (1349701314,), (1349701407,), (1349701414,), (1349701422,), (1349701434,), (1349701609,), (1349701612,), (1349701620,), (1349701628,), (1349701630,), (1349701633,), (1349701695,), (1349701697,), (1349701700,), (1349701702,), (1349701722,), (1349701725,), (1349701726,), (1349701858,), (1349701862,), (1349701963,), (1349701966,), (1349701968,), (1349702365,), (1349702368,), (1349702379,), (1349702380,), (1349702402,), (1349702409,), (1349702558,), (1349702562,), (1349702563,), (1349702621,), (1349702675,), (1349702679,), (1349702684,), (1349702699,), (1349702718,), (1349702801,), (1349703172,), (1349703198,), (1349703199,), (1349703215,), (1349703218,), (1349703259,), (1349703260,), (1349703264,), (1349703267,), (1349703272,), (1349703334,), (1349703303,), (1349703307,), (1349703312,), (1349703325,), (1349703331,), (1349703355,), (1349703368,), (1349703381,), (1349703387,), (1349703489,), (1349703493,), (1349703496,), (1349703499,), (1349703557,), (1349703603,), (1349703763,), (1349703770,), (1349703779,), (1349703806,), (1349703847,), (1349703985,), (1349704004,), (1349704007,), (1349704010,), (1349704063,), (1349704067,), (1349704070,), (1349704074,), (1349704077,), (1349704080,), (1349704090,), (1349704094,), (1349704097,), (1349704102,), (1349704139,), (1349704143,), (1349704144,), (1349704145,), (1349704148,), (1349704152,), (1349704168,), (1349704172,), (1349704176,), (1349704178,), (1349704211,), (1349704213,), (1349704214,), (1349704216,), (1349704218,), (1349704220,), (1349704476,), (1349704480,), (1349704482,), (1349704497,), (1349704505,), (1349704575,), (1349704818,), (1349704843,), (1349704867,), (1349704893,), (1349704998,), (1349705001,), (1349705006,), (1349705018,), (1349705027,), (1349705041,), (1349705045,), (1349705048,), (1349705051,), (1349705091,), (1349705081,), (1349705083,), (1349705084,), (1349705085,), (1349705088,), (1349705134,), (1349705136,), (1349705140,), (1349705143,), (1349705224,), (1349705229,), (1349705231,), (1349705273,), (1349705402,), (1349705412,), (1349705420,), (1349705422,), (1349705425,), (1349705455,), (1349705456,), (1349705457,), (1349705605,), (1349705611,), (1349705614,), (1349705617,), (1349705620,), (1349705696,), (1349705699,), (1349705732,), (1349705763,), (1349705819,), (1349705822,), (1349705826,), (1349705829,), (1349705918,), (1349705920,), (1349705956,), (1349705958,), (1349705960,), (1349705962,), (1349705965,), (1349705969,), (1349706000,), (1349706003,), (1349706005,), (1349706009,), (1349706042,), (1349706045,), (1349706047,), (1349706049,), (1349706051,), (1349706054,), (1349706235,), (1349706268,), (1349706276,), (1349706279,), (1349706282,), (1349706956,), (1349706966,), (1349706975,), (1349706980,), (1349706992,), (1349706998,), (1349707028,), (1349707053,), (1349707081,), (1349707227,), (1349707173,), (1349707176,), (1349707192,), (1349707213,), (1349707357,), (1349707385,), (1349707706,), (1349707732,), (1349707755,), (1349707785,), (1349707811,), (1349707880,), (1349708224,), (1349708251,), (1349708338,), (1349708368,), (1349708404,), (1349708437,), (1349708681,), (1349708685,), (1349708689,), (1349708693,), (1349708721,), (1349708725,), (1349708746,), (1349708780,), (1349708806,), (1349709014,), (1349709030,), (1349709038,), (1349709040,), (1349709042,), (1349709045,), (1349709193,), (1349709195,), (1349709197,), (1349709239,), (1349709242,), (1349709244,), (1349709246,), (1349709353,), (1349709358,), (1349709365,), (1349709367,), (1349709369,), (1349709401,), (1349709404,), (1349709406,), (1349709408,), (1349709410,), (1349709413,), (1349709433,), (1349709456,), (1349709458,), (1349709460,), (1349709463,), (1349709501,), (1349709504,), (1349709514,), (1349709526,), (1349709545,), (1349709548,), (1349709550,), (1349709552,), (1349709555,), (1349709558,), (1349709588,), (1349709571,), (1349709574,), (1349709582,), (1349709584,), (1349709618,), (1349709632,), (1349709634,), (1349709636,), (1349709639,), (1349709728,), (1349709732,), (1349709735,), (1349709738,), (1349709742,), (1349709874,), (1349709900,), (1349709970,), (1349709976,), (1349709979,), (1349709983,), (1349709986,), (1349710025,), (1349710029,), (1349710067,), (1349710076,), (1349710081,), (1349710085,), (1349710088,), (1349710091,), (1349710104,), (1349710115,), (1349710117,), (1349710119,), (1349710122,), (1349710142,), (1349710177,), (1349710180,), (1349710182,), (1349710260,), (1349710266,), (1349710289,), (1349710295,), (1349710308,), (1349710311,), (1349710348,), (1349710349,), (1349710350,), (1349710351,), (1349710355,), (1349710360,), (1349710395,), (1349710400,), (1349710403,), (1349710482,), (1349710559,), (1349710593,), (1349710625,), (1349710686,), (1349710719,), (1349710804,), (1349710806,), (1349710807,), (1349710902,), (1349710910,), (1349710933,), (1349710955,), (1349710997,), (1349711023,), (1349711201,), (1349711138,), (1349711164,), (1349711166,), (1349711170,), (1349711233,), (1349711237,), (1349711242,), (1349711249,), (1349711311,), (1349711341,), (1349711370,), (1349711385,), (1349711406,), (1349711410,), (1349711519,), (1349711535,), (1349711558,), (1349711571,), (1349711729,), (1349711731,), (1349711738,), (1349711883,), (1349711887,), (1349711899,), (1349711922,), (1349711925,), (1349711949,), (1349711951,), (1349711986,), (1349712024,), (1349712027,), (1349712111,), (1349712114,), (1349712116,), (1349712119,), (1349712131,), (1349712134,), (1349712136,), (1349712138,), (1349712141,), (1349712175,), (1349712183,), (1349712187,), (1349712192,), (1349712195,), (1349712197,), (1349712272,), (1349712274,), (1349712275,), (1349712277,), (1349712312,), (1349712322,), (1349712327,), (1349712346,), (1349712371,), (1349712374,), (1349712452,), (1349712459,), (1349712461,), (1349712480,), (1349712483,), (1349712490,), (1349712530,), (1349712553,), (1349712667,), (1349712671,), (1349712674,), (1349712677,), (1349712680,), (1349712683,), (1349712727,), (1349712711,), (1349712720,), (1349712723,), (1349712725,), (1349712751,), (1349712754,), (1349712756,), (1349712758,), (1349712760,), (1349712860,), (1349712878,), (1349712892,), (1349712903,), (1349712909,), (1349712972,), (1349712974,), (1349712975,), (1349712976,), (1349712983,), (1349713028,), (1349713031,), (1349713039,), (1349713041,), (1349713044,), (1349713047,), (1349713087,), (1349713089,), (1349713093,), (1349713095,), (1349713101,), (1349713116,), (1349713119,), (1349713124,), (1349713127,), (1349713131,), (1349713148,), (1349713150,), (1349713153,), (1349713156,), (1349713159,), (1349713174,), (1349713180,), (1349713185,), (1349713192,), (1349713234,), (1349713238,), (1349713241,), (1349713243,), (1349713248,), (1349713251,), (1349713264,), (1349713272,), (1349713290,), (1349713298,), (1349713318,), (1349713321,), (1349713324,), (1349713327,), (1349713330,), (1349713469,), (1349713484,), (1349713506,), (1349713526,), (1349713558,), (1349714052,), (1349714060,), (1349714067,), (1349714071,), (1349714094,), (1349714095,), (1349714099,), (1349714101,), (1349714105,), (1349714107,), (1349714109,), (1349714110,), (1349714137,), (1349714140,), (1349714159,), (1349714153,), (1349714156,), (1349714216,), (1349714221,), (1349714228,), (1349714243,), (1349714264,), (1349714534,), (1349714573,), (1349714609,), (1349714626,), (1349714658,), (1349714683,), (1349714865,), (1349714893,), (1349714917,), (1349714949,), (1349715145,), (1349715186,), (1349715238,), (1349715293,), (1349715348,), (1349715372,), (1349715887,), (1349716002,), (1349716077,), (1349716147,), (1349716200,), (1349716438,), (1349716479,), (1349716515,), (1349716549,), (1349716602,), (1349716891,), (1349716912,), (1349716925,), (1349716962,), (1349716985,), (1349717009,), (1349717011,), (1349717012,), (1349717036,), (1349717265,), (1349717303,), (1349717314,), (1349717336,), (1349717415,), (1349717422,), (1349717426,), (1349717428,), (1349717430,), (1349717432,), (1349717457,), (1349723182,), (1349723148,), (1349723463,), (1349723468,), (1349723981,), (1349724014,), (1349724018,), (1349724109,), (1349724114,), (1349724117,), (1349724147,), (1349724151,), (1349724154,), (1349724159,), (1349724163,), (1349724166,), (1349724185,), (1349724188,), (1349724224,), (1349724228,), (1349724234,), (1349724237,), (1349724304,), (1349724307,), (1349724309,), (1349724312,), (1349724315,), (1349724319,), (1349724343,), (1349724347,), (1349724391,), (1349724428,), (1349724707,), (1349724563,), (1349724703,), (1349724705,), (1349724762,), (1349724766,), (1349724770,), (1349724865,), (1349724868,), (1349724870,), (1349724871,), (1349724875,), (1349724938,), (1349724985,), (1349724990,), (1349724994,), (1349724997,), (1349725001,), (1349725024,), (1349725028,), (1349725030,), (1349725032,), (1349725068,), (1349725071,), (1349725075,), (1349725080,), (1349725083,), (1349725086,), (1349725106,), (1349725109,), (1349725113,), (1349725139,), (1349725151,), (1349725158,), (1349725171,), (1349725182,), (1349725183,), (1349725217,), (1349725221,), (1349725226,), (1349725229,), (1349725234,), (1349725239,), (1349725252,), (1349725256,), (1349725258,), (1349725275,), (1349725278,), (1349725281,), (1349725284,), (1349725288,), (1349725310,), (1349725312,), (1349725318,), (1349725327,), (1349725334,), (1349725409,), (1349725398,), (1349725401,), (1349725403,), (1349725405,), (1349725438,), (1349725440,), (1349725442,), (1349725444,), (1349725447,), (1349725448,), (1349725468,), (1349725470,), (1349725475,), (1349725479,), (1349725556,), (1349725559,), (1349725561,), (1349725563,), (1349725564,), (1349725590,), (1349725592,), (1349725594,), (1349725626,), (1349725636,), (1349725676,), (1349725678,), (1349725680,), (1349725681,), (1349725708,), (1349725710,), (1349725718,), (1349725722,), (1349725751,), (1349725754,), (1349725755,), (1349725756,), (1349725786,), (1349725799,), (1349725802,), (1349725806,), (1349725842,), (1349725845,), (1349725849,), (1349725850,), (1349725897,), (1349725898,), (1349725899,), (1349725900,), (1349725903,), (1349725906,), (1349725925,), (1349725928,), (1349725931,), (1349725934,), (1349725937,), (1349725967,), (1349725974,), (1349725976,), (1349725978,), (1349726005,), (1349726009,), (1349726011,), (1349726013,), (1349726016,), (1349726019,), (1349726051,), (1349726044,), (1349726047,), (1349726048,), (1349726102,), (1349726106,), (1349726109,), (1349726112,), (1349726150,), (1349726153,), (1349726160,), (1349726161,), (1349726164,), (1349726167,), (1349726237,), (1349726239,), (1349726241,), (1349726244,), (1349726247,), (1349726273,), (1349726277,), (1349726281,), (1349726283,), (1349726285,), (1349726290,), (1349726338,), (1349726342,), (1349726343,), (1349726344,), (1349726422,), (1349726430,), (1349726435,), (1349726437,), (1349726440,), (1349726442,), (1349726531,), (1349726532,), (1349726557,), (1349726560,), (1349726569,), (1349726602,), (1349726609,), (1349726723,), (1349726726,), (1349726729,), (1349726855,), (1349726861,), (1349726862,), (1349726863,), (1349726943,), (1349726970,), (1349726998,), (1349727018,), (1349727045,), (1349727073,), (1349727394,), (1349727423,), (1349727459,), (1349727471,), (1349727495,), (1349727706,), (1349727721,), (1349727730,), (1349727736,), (1349727744,), (1349727764,), (1349727771,), (1349727793,), (1349727799,), (1349727802,), (1349727914,), (1349727820,), (1349727904,), (1349727951,), (1349727978,), (1349727997,), (1349728067,), (1349728200,), (1349728318,), (1349728775,), (1349728781,), (1349728786,), (1349728791,), (1349728795,), (1349728863,), (1349729105,), (1349729107,), (1349729177,), (1349729202,), (1349729374,), (1349729378,), (1349729391,), (1349729395,), (1349729399,), (1349729401,), (1349729495,), (1349729498,), (1349729500,), (1349729620,), (1349729627,), (1349729631,), (1349729635,), (1349729638,), (1349729642,), (1349729674,), (1349729681,), (1349729689,), (1349729695,), (1349729720,), (1349729723,), (1349729726,), (1349729728,), (1349729730,), (1349729751,), (1349729756,), (1349729758,), (1349729762,), (1349729818,), (1349729823,), (1349729825,), (1349729831,), (1349729839,), (1349729881,), (1349729885,), (1349729888,), (1349729890,), (1349729893,), (1349729895,), (1349729916,), (1349729918,), (1349729920,), (1349729922,), (1349729948,), (1349729950,), (1349729958,), (1349729967,), (1349729969,), (1349729971,), (1349730003,), (1349730005,), (1349730007,), (1349730008,), (1349730010,), (1349730142,), (1349730040,), (1349730044,), (1349730047,), (1349730050,), (1349730084,), (1349730466,), (1349730468,), (1349730471,), (1349730473,), (1349730495,), (1349730496,), (1349730497,), (1349730498,), (1349730604,), (1349730607,), (1349730610,), (1349730617,), (1349730619,), (1349730635,), (1349730682,), (1349730691,), (1349730693,), (1349730694,), (1349730756,), (1349730760,), (1349730763,), (1349730766,), (1349730769,), (1349730843,), (1349730886,), (1349730896,), (1349730906,), (1349730909,), (1349730913,), (1349730928,), (1349730932,), (1349730945,), (1349730953,), (1349731009,), (1349731012,), (1349731014,), (1349731015,), (1349731025,), (1349731067,), (1349731068,), (1349731070,), (1349731071,), (1349731073,), (1349731076,), (1349731114,), (1349731118,), (1349731123,), (1349731125,), (1349731147,), (1349731149,), (1349731150,), (1349731151,), (1349731153,), (1349731156,), (1349731174,), (1349731178,), (1349731181,), (1349731185,), (1349731222,), (1349731224,), (1349731225,), (1349731226,), (1349731229,), (1349731259,), (1349731263,), (1349731266,), (1349731270,), (1349731345,), (1349731329,), (1349731336,), (1349731342,), (1349731409,), (1349731413,), (1349731425,), (1349731445,), (1349731477,), (1349731480,), (1349731560,), (1349731564,), (1349731566,), (1349731568,), (1349731632,), (1349731661,), (1349731663,), (1349731665,), (1349731678,), (1349731697,), (1349731787,), (1349731840,), (1349731842,), (1349731849,), (1349731955,), (1349731958,), (1349731968,), (1349731970,), (1349731983,), (1349731989,), (1349732040,), (1349732093,), (1349732110,), (1349732114,), (1349732116,), (1349732155,), (1349732212,), (1349732246,), (1349732254,), (1349732284,), (1349732286,), (1349732287,), (1349732289,), (1349732291,), (1349732314,), (1349732326,), (1349732339,), (1349732342,), (1349732345,), (1349732381,), (1349732384,), (1349732386,), (1349732388,), (1349732435,), (1349732442,), (1349732444,), (1349732445,), (1349732448,), (1349732459,), (1349732495,), (1349732498,), (1349732502,), (1349732505,), (1349732535,), (1349732539,), (1349732546,), (1349732551,), (1349732553,), (1349732556,), (1349732581,), (1349732585,), (1349732588,), (1349732590,), (1349732594,), (1349733047,), (1349732991,), (1349732997,), (1349732998,), (1349733027,), (1349733108,), (1349733111,), (1349733114,), (1349733117,), (1349733120,), (1349733192,), (1349733194,), (1349733195,), (1349733196,), (1349733246,), (1349733250,), (1349733254,), (1349733258,), (1349733261,), (1349733263,), (1349733638,), (1349733673,), (1349733675,), (1349733678,), (1349733682,), (1349733746,), (1349733752,), (1349733755,), (1349733756,), (1349733759,), (1349733761,), (1349733784,), (1349733788,), (1349733790,), (1349733831,), (1349733833,), (1349733836,), (1349733840,), (1349733845,), (1349733848,), (1349733878,), (1349733880,), (1349733882,), (1349733886,), (1349733889,), (1349733891,), (1349733926,), (1349733929,), (1349733931,), (1349733977,), (1349733980,), (1349733982,), (1349733984,), (1349733987,), (1349734011,), (1349734013,), (1349734014,), (1349734015,), (1349734018,), (1349734055,), (1349734058,), (1349734061,), (1349734064,), (1349734067,), (1349734610,), (1349734684,), (1349734766,), (1349734843,), (1349735909,), (1349735690,), (1349735748,), (1349735800,), (1349735853,), (1349736260,), (1349736297,), (1349736322,), (1349736346,), (1349736372,), (1349736588,), (1349736645,), (1349736667,), (1349736918,), (1349736932,), (1349736935,), (1349736940,), (1349736944,), (1349736985,), (1349736990,), (1349736995,), (1349737049,), (1349737057,), (1349737061,), (1349737064,), (1349737118,), (1349737122,), (1349737129,), (1349737152,), (1349737294,), (1349737315,), (1349737341,), (1349737363,), (1349737388,), (1349737409,), (1349737448,), (1349737450,), (1349737453,), (1349737490,), (1349737497,), (1349737505,), (1349737512,), (1349737521,), (1349737528,), (1349737567,), (1349737599,), (1349737605,), (1349737609,), (1349737618,), (1349737624,), (1349737632,), (1349737638,), (1349737649,), (1349737659,), (1349737700,), (1349737704,), (1349737708,), (1349737747,), (1349737752,), (1349737784,), (1349737800,), (1349737820,), (1349737829,), (1349737831,), (1349737836,), (1349737870,), (1349737874,), (1349737535,), (1349737542,), (1349737546,), (1349737556,), (1349737561,), (1349737582,), (1349737587,), (1349737593,), (1349737687,), (1349737690,), (1349737695,), (1349737722,), (1349737725,), (1349737734,), (1349737743,), (1349737853,), (1349737858,), (1349737863,), (1349737908,), (1349738012,), (1349738031,), (1349738151,), (1349738274,), (1349738350,), (1349738355,), (1349738360,), (1349738375,), (1349738389,), (1349738463,), (1349738553,), (1349738572,), (1349738581,), (1349738608,), (1349738614,), (1349738619,), (1349738623,), (1349738629,), (1349738670,), (1349738676,), (1349738682,), (1349738686,), (1349738691,), (1349738734,), (1349738745,), (1349738770,), (1349738801,), (1349738824,), (1349738927,), (1349738939,), (1349739062,), (1349739056,), (1349739229,), (1349739233,), (1349739239,), (1349739243,), (1349739248,), (1349739295,), (1349739302,), (1349739313,), (1349739321,), (1349739375,), (1349739558,), (1349739599,), (1349739672,), (1349739687,), (1349739699,), (1349739705,), (1349739710,), (1349739770,), (1349739784,), (1349739789,), (1349739796,), (1349739813,), (1349739846,), (1349739850,), (1349739857,), (1349739873,), (1349739890,), (1349739919,), (1349739981,), (1349739987,), (1349739992,), (1349740057,), (1349740218,), (1349740242,), (1349740251,), (1349740255,), (1349740266,), (1349740408,), (1349740431,), (1349740436,), (1349740442,), (1349740448,), (1349740611,), (1349740617,), (1349740622,), (1349740626,), (1349740675,), (1349740683,), (1349740694,), (1349740703,), (1349740709,), (1349740715,), (1349740797,), (1349740808,), (1349740819,), (1349740822,), (1349740891,), (1349740904,), (1349740908,), (1349740912,), (1349740918,), (1349741033,), (1349741015,), (1349741029,), (1349741121,), (1349741128,), (1349741135,), (1349741139,), (1349741155,), (1349741163,), (1349741354,), (1349741403,), (1349741473,), (1349741545,), (1349741719,), (1349741740,), (1349741764,), (1349741768,), (1349741793,), (1349741811,), (1349741884,), (1349741891,), (1349741947,), (1349741971,), (1349741989,), (1349742303,), (1349742365,), (1349742369,), (1349742372,), (1349742377,), (1349742381,), (1349742410,), (1349742413,), (1349742416,), (1349742420,), (1349742441,), (1349742542,), (1349742565,), (1349742591,), (1349742637,), (1349742659,), (1349742686,), (1349743204,), (1349743238,), (1349743267,), (1349743318,), (1349743335,), (1349743518,), (1349743520,), (1349743535,), (1349743541,), (1349743547,), (1349743681,), (1349743701,), (1349743705,), (1349743709,), (1349743713,), (1349743718,), (1349743739,), (1349743742,), (1349743745,), (1349743748,), (1349744152,), (1349744201,), (1349744252,), (1349744295,), (1349744345,), (1349744392,), (1349744831,), (1349744856,), (1349744882,), (1349744914,), (1349745273,), (1349745162,), (1349745190,), (1349745217,), (1349745245,), (1349745473,), (1349745479,), (1349745492,), (1349745498,), (1349745502,), (1349745557,), (1349745649,), (1349745679,), (1349745705,), (1349745733,), (1349745755,), (1349746365,), (1349746608,), (1349746665,), (1349746669,), (1349746708,), (1349746933,), (1349747116,), (1349747179,), (1349747207,), (1349747228,), (1349747299,), (1349747452,), (1349747467,), (1349747473,), (1349747525,), (1349747531,), (1349747537,), (1349747541,), (1349747543,), (1349747606,), (1349747632,), (1349747646,), (1349747679,), (1349747709,), (1349747786,), (1349747789,), (1349747792,), (1349747794,), (1349747801,), (1349747897,), (1349747908,), (1349747920,), (1349747924,), (1349747929,), (1349748035,), (1349748039,), (1349748059,), (1349748064,), (1349748068,), (1349748073,), (1349748096,), (1349748106,), (1349748112,), (1349748116,), (1349748120,), (1349748183,), (1349748187,), (1349748192,), (1349748198,), (1349748203,), (1349748209,), (1349748262,), (1349748268,), (1349748272,), (1349748277,), (1349748462,), (1349748469,), (1349748472,), (1349748476,), (1349748481,), (1349748487,), (1349748814,), (1349748604,), (1349748690,), (1349748788,), (1349748908,), (1349748914,), (1349748920,), (1349748934,), (1349748942,), (1349748956,), (1349749098,), (1349749106,), (1349749117,), (1349749121,), (1349749203,), (1349749206,), (1349749210,), (1349749267,), (1349749283,), (1349749305,), (1349749413,), (1349749419,), (1349749425,), (1349749435,), (1349749554,), (1349749581,), (1349749585,), (1349749590,), (1349749595,), (1349749600,), (1349749661,), (1349749666,), (1349749670,), (1349749673,), (1349749679,), (1349749754,), (1349749760,), (1349749779,), (1349749784,), (1349749790,), (1349749828,), (1349749839,), (1349749841,), (1349749848,), (1349749854,), (1349749891,), (1349749899,), (1349749907,), (1349749911,), (1349749916,), (1349749952,), (1349749964,), (1349749976,), (1349749979,), (1349749984,), (1349750015,), (1349750019,), (1349750022,), (1349750025,), (1349750055,), (1349750060,), (1349750065,), (1349750070,), (1349750073,), (1349750078,), (1349750116,), (1349750119,), (1349750129,), (1349750134,), (1349750189,), (1349750194,), (1349750199,), (1349750202,), (1349750206,), (1349750332,), (1349750297,), (1349750326,), (1349750329,), (1349750391,), (1349750395,), (1349750500,), (1349750507,), (1349750648,), (1349750733,), (1349750737,), (1349750873,), (1349750877,), (1349750881,), (1349750916,), (1349750920,), (1349750924,), (1349750926,), (1349750930,), (1349750961,), (1349750964,), (1349750967,), (1349750970,), (1349751014,), (1349751139,), (1349751148,), (1349751150,), (1349751257,), (1349751260,), (1349751280,), (1349751300,), (1349751366,), (1349751375,), (1349751379,), (1349751383,), (1349751524,), (1349751536,), (1349751570,), (1349751601,), (1349751799,), (1349751802,), (1349751806,), (1349751811,), (1349751861,), (1349751845,), (1349751849,), (1349751853,), (1349751856,), (1349751916,), (1349751919,), (1349751921,), (1349751941,), (1349751958,), (1349751962,), (1349752000,), (1349752009,), (1349752014,), (1349752031,), (1349752105,), (1349752112,), (1349752115,), (1349752118,), (1349752149,), (1349752289,), (1349752320,), (1349752329,), (1349752341,), (1349752352,), (1349752356,), (1349752506,), (1349752514,), (1349752523,), (1349752526,), (1349752675,), (1349752680,), (1349752688,), (1349752695,), (1349752708,), (1349752748,), (1349752869,), (1349752885,), (1349752956,), (1349752959,), (1349752963,), (1349752992,), (1349752997,), (1349752999,), (1349753004,), (1349753010,), (1349753014,), (1349753041,), (1349753044,), (1349753048,), (1349753052,), (1349753056,), (1349753060,), (1349753099,), (1349753101,), (1349753103,), (1349753105,), (1349753177,), (1349753209,), (1349753212,), (1349753223,), (1349753228,), (1349753376,), (1349753382,), (1349754109,), (1349754188,), (1349754262,), (1349754372,), (1349754429,), (1349754524,), (1349754791,), (1349754868,), (1349754940,), (1349755017,), (1349755297,), (1349764920,), (1349765252,), (1349765254,), (1349765257,), (1349765259,), (1349765454,), (1349765484,), (1349765507,), (1349765531,), (1349765608,), (1349765613,), (1349765617,), (1349765621,), (1349765624,), (1349765702,), (1349765706,), (1349765711,), (1349765721,), (1349765725,), (1349765858,), (1349765883,), (1349765911,), (1349765935,), (1349765959,), (1349766029,), (1349766037,), (1349766040,), (1349766052,), (1349766056,), (1349766237,), (1349766259,), (1349766267,), (1349766290,), (1349766309,), (1349766546,), (1349766565,), (1349766578,), (1349766584,), (1349766810,), (1349766859,), (1349766863,), (1349766904,), (1349766942,), (1349766994,), (1349767221,), (1349767247,), (1349767291,), (1349767787,), (1349767820,), (1349767827,), (1349767870,), (1349767916,), (1349767952,), (1349768218,), (1349768278,), (1349768321,), (1349768336,), (1349768355,), (1349768383,), (1349768480,), (1349768482,), (1349768484,), (1349768506,), (1349768545,), (1349768561,), (1349768585,), (1349768592,), (1349768594,), (1349768596,), (1349768600,), (1349768693,), (1349768647,), (1349768649,), (1349768653,), (1349768673,), (1349768685,), (1349768767,), (1349768816,), (1349768857,), (1349768929,), (1349768995,), (1349769125,), (1349769143,), (1349769159,), (1349769172,), (1349769191,), (1349769342,), (1349769387,), (1349769402,), (1349769405,), (1349769409,), (1349769456,), (1349769543,), (1349769549,), (1349769563,), (1349769584,), (1349769594,), (1349769655,), (1349769659,), (1349769668,), (1349769687,), (1349769696,), (1349769706,), (1349769819,), (1349769848,), (1349769874,), (1349769907,), (1349769954,), (1349769958,), (1349769987,), (1349770151,), (1349770178,), (1349770629,), (1349771076,), (1349771262,), (1349771483,), (1349771495,), (1349771507,), (1349771516,), (1349771598,), (1349771568,), (1349771573,), (1349771579,), (1349771584,), (1349771591,), (1349771646,), (1349771651,), (1349771670,), (1349771689,), (1349771900,), (1349771935,), (1349771990,), (1349772034,), (1349772082,), (1349772658,), (1349772714,), (1349772776,), (1349772832,), (1349773028,), (1349773172,), (1349773692,), (1349773815,), (1349773860,), (1349773906,), (1349774012,), (1349774067,), (1349774123,), (1349774176,), (1349774232,), (1349774755,), (1349774779,), (1349774876,), (1349774897,), (1349774902,), (1349774907,), (1349774947,), (1349774967,), (1349775019,), (1349775054,), (1349775517,), (1349775560,), (1349775624,), (1349775653,), (1349775679,), (1349775882,), (1349775889,), (1349775894,), (1349775900,), (1349775903,), (1349775906,), (1349775959,), (1349775961,), (1349775964,), (1349775968,), (1349776055,), (1349776061,), (1349776065,), (1349776069,), (1349776072,), (1349776138,), (1349776142,), (1349776145,), (1349776149,), (1349776151,), (1349776162,), (1349776230,), (1349776234,), (1349776245,), (1349776264,), (1349776312,), (1349776317,), (1349776322,), (1349776327,), (1349776331,), (1349776412,), (1349776470,), (1349776533,), (1349776612,), (1349776670,), (1349777010,), (1349776903,), (1349776933,), (1349776972,), (1349777307,), (1349777340,), (1349777362,), (1349777387,), (1349777532,), (1349777543,), (1349777550,), (1349777553,), (1349777558,), (1349777563,), (1349777627,), (1349777665,), (1349777677,), (1349777680,), (1349777725,), (1349777968,), (1349777982,), (1349777987,), (1349777991,), (1349777994,), (1349778067,), (1349778076,), (1349778079,), (1349778085,), (1349778089,), (1349778092,), (1349778212,), (1349778241,), (1349778251,), (1349778255,), (1349778260,), (1349778307,), (1349778312,), (1349778317,), (1349778322,), (1349778327,), (1349778366,), (1349778374,), (1349778380,), (1349778393,), (1349778401,), (1349778525,), (1349778529,), (1349778533,), (1349778537,), (1349778544,), (1349778548,), (1349778592,), (1349778595,), (1349778601,), (1349778604,), (1349778610,), (1349778660,), (1349778673,), (1349778689,), (1349778693,), (1349778700,), (1349778731,), (1349778798,), (1349778801,), (1349778805,), (1349778810,), (1349778856,), (1349778861,), (1349778865,), (1349778869,), (1349778914,), (1349778918,), (1349778942,), (1349778980,), (1349779010,), (1349779041,), (1349779350,), (1349779251,), (1349779294,), (1349779326,), (1349779628,), (1349779633,), (1349779643,), (1349779648,), (1349779652,), (1349779768,), (1349779789,), (1349779801,), (1349779803,), (1349779825,), (1349779884,), (1349779893,), (1349779916,), (1349779940,), (1349779965,), (1349780080,), (1349780087,), (1349780096,), (1349780100,), (1349780103,), (1349780108,), (1349780170,), (1349780183,), (1349780187,), (1349780191,), (1349780318,), (1349780323,), (1349780328,), (1349780333,), (1349780336,), (1349780342,), (1349780385,), (1349780418,), (1349780424,), (1349780430,), (1349780435,), (1349780443,), (1349780473,), (1349780480,), (1349780486,), (1349780493,), (1349780548,), (1349780559,), (1349780566,), (1349780593,), (1349780625,), (1349780655,), (1349780755,), (1349780759,), (1349780781,), (1349780794,), (1349780878,), (1349780883,), (1349780888,), (1349780893,), (1349781142,), (1349781207,), (1349781262,), (1349781317,), (1349781387,), (1349781427,), (1349781562,), (1349781578,), (1349781607,), (1349781611,), (1349781614,), (1349781658,), (1349781670,), (1349781676,), (1349781679,), (1349782104,), (1349781991,), (1349782060,), (1349782102,), (1349782267,), (1349782298,), (1349782303,), (1349782307,), (1349782310,), (1349782314,), (1349782342,), (1349782347,), (1349782355,), (1349782371,), (1349782465,), (1349782472,), (1349782478,), (1349782526,), (1349782534,), (1349782536,), (1349782550,), (1349782553,), (1349782561,), (1349782586,), (1349782602,), (1349782647,), (1349782665,), (1349782670,), (1349782674,), (1349782679,), (1349782688,), (1349782705,), (1349782739,), (1349782780,), (1349782819,), (1349782840,), (1349782861,), (1349782874,), (1349782881,), (1349782883,), (1349782888,), (1349782889,), (1349782896,), (1349782897,), (1349782906,), (1349782907,), (1349782911,), (1349782915,), (1349782920,), (1349782922,), (1349782932,), (1349782935,), (1349782938,), (1349782943,), (1349782948,), (1349782953,), (1349783097,), (1349783168,), (1349783181,), (1349783218,), (1349783223,), (1349783280,), (1349783310,), (1349783328,), (1349783556,), (1349783579,), (1349783618,), (1349783630,), (1349783636,), (1349783827,), (1349783836,), (1349783842,), (1349783848,), (1349783851,), (1349783855,), (1349783890,), (1349783895,), (1349783899,), (1349783965,), (1349783970,), (1349783974,), (1349784011,), (1349784040,), (1349784050,), (1349784484,), (1349784514,), (1349784549,), (1349784585,), (1349784682,), (1349784712,), (1349784741,), (1349784769,), (1349784827,), (1349785309,), (1349785051,), (1349785130,), (1349785200,), (1349785894,), (1349785955,), (1349786013,), (1349786075,), (1349786834,), (1349786903,), (1349786982,), (1349787031,), (1349787091,), (1349787814,), (1349787879,), (1349787944,), (1349788030,), (1349788094,), (1349788354,), (1349788402,), (1349788426,), (1349788458,), (1349788494,), (1349788643,), (1349788685,), (1349788701,), (1349788724,), (1349788974,), (1349789066,), (1349789126,), (1349789199,), (1349789237,), (1349789619,), (1349789652,), (1349789667,), (1349789705,), (1349789714,), (1349790044,), (1349790055,), (1349790072,), (1349790090,), (1349790243,), (1349790257,), (1349790282,), (1349790291,), (1349790300,), (1349790317,), (1349790382,), (1349790385,), (1349790386,), (1349790410,), (1349790497,), (1349790505,), (1349790511,), (1349790516,), (1349790522,), (1349790526,), (1349790542,), (1349790549,), (1349790555,), (1349790561,), (1349790594,), (1349790602,), (1349790608,), (1349790613,), (1349790617,), (1349790621,), (1349790655,), (1349790658,), (1349790667,), (1349790749,), (1349790727,), (1349790734,), (1349790737,), (1349790742,), (1349790744,), (1349790812,), (1349790822,), (1349790825,), (1349790867,), (1349790971,), (1349791003,), (1349791022,), (1349791027,), (1349791048,), (1349791076,), (1349791140,), (1349791145,), (1349791153,), (1349791171,), (1349791182,), (1349791293,), (1349791299,), (1349791309,), (1349791323,), (1349791640,), (1349791671,), (1349791700,), (1349791731,), (1349791756,), (1349791803,), (1349791807,), (1349791818,), (1349791831,), (1349791837,), (1349791840,), (1349791883,), (1349791901,), (1349791907,), (1349791913,), (1349791922,), (1349791997,), (1349792005,), (1349792019,), (1349792022,), (1349792025,), (1349792028,), (1349792054,), (1349792063,), (1349792079,), (1349792083,), (1349792086,), (1349792127,), (1349792225,), (1349792301,), (1349792369,), (1349792423,), (1349792508,), (1349792511,), (1349792515,), (1349792518,), (1349792525,), (1349792602,), (1349792608,), (1349792612,), (1349792622,), (1349792634,), (1349792676,), (1349792682,), (1349792688,), (1349792695,), (1349792699,), (1349792734,), (1349792738,), (1349792746,), (1349792851,), (1349792826,), (1349792833,), (1349792838,), (1349792841,), (1349792847,), (1349792895,), (1349792901,), (1349792907,), (1349792917,), (1349792923,), (1349793039,), (1349793045,), (1349793051,), (1349793057,), (1349793139,), (1349793150,), (1349793153,), (1349793191,), (1349793218,), (1349793232,), (1349793309,), (1349793313,), (1349793318,), (1349793394,), (1349793399,), (1349793402,), (1349793406,), (1349793408,), (1349793410,), (1349793437,), (1349793440,), (1349793449,), (1349793455,), (1349793540,), (1349793553,), (1349793559,), (1349793564,), (1349793568,), (1349793570,), (1349793599,), (1349793604,), (1349793656,), (1349793661,), (1349793666,), (1349793670,), (1349793675,), (1349793689,), (1349793779,), (1349793781,), (1349793784,), (1349793787,), (1349793798,), (1349793807,), (1349793889,), (1349793915,), (1349793926,), (1349793964,), (1349793966,), (1349793969,), (1349793971,), (1349793976,), (1349793985,), (1349794009,), (1349794014,), (1349794019,), (1349794034,), (1349794042,), (1349794047,), (1349794078,), (1349794081,), (1349794084,), (1349794088,), (1349794164,), (1349794134,), (1349794138,), (1349794143,), (1349794148,), (1349794155,), (1349794199,), (1349794205,), (1349794209,), (1349794217,), (1349794287,), (1349794294,), (1349794299,), (1349794343,), (1349794358,), (1349794360,), (1349794497,), (1349794501,), (1349794505,), (1349794507,), (1349794549,), (1349794560,), (1349794565,), (1349794570,), (1349794574,), (1349794625,), (1349794637,), (1349794641,), (1349794645,), (1349794649,), (1349794683,), (1349794733,), (1349794746,), (1349794753,), (1349794790,), (1349794793,), (1349794798,), (1349794802,), (1349794807,), (1349794812,), (1349795010,), (1349795028,), (1349795044,), (1349795052,), (1349795093,), (1349795095,), (1349795098,), (1349795101,), (1349795104,), (1349795107,), (1349795149,), (1349795160,), (1349795162,), (1349795164,), (1349795167,), (1349795203,), (1349795205,), (1349795207,), (1349795210,), (1349795214,), (1349795337,), (1349795341,), (1349795344,), (1349796078,), (1349796095,), (1349796106,), (1349796140,), (1349796176,), (1349796208,), (1349796797,), (1349796563,), (1349796602,), (1349796711,), (1349796751,), (1349797077,), (1349797122,), (1349797149,), (1349797181,), (1349797516,), (1349797543,), (1349797614,), (1349797651,), (1349797657,), (1349797695,), (1349797791,), (1349797822,), (1349797860,), (1349798250,), (1349798281,), (1349798326,), (1349798377,), (1349798419,), (1349798444,), (1349798736,), (1349798771,), (1349798807,), (1349798833,), (1349798864,), (1349799097,), (1349799121,), (1349799149,), (1349799177,), (1349799490,), (1349799517,), (1349799554,), (1349799600,), (1349799607,), (1349799611,), (1349799657,), (1349799662,), (1349799668,), (1349799674,), (1349799690,), (1349800070,), (1349800113,), (1349800146,), (1349800187,), (1349800681,), (1349800689,), (1349800705,), (1349800728,), (1349800750,), (1349800772,), (1349800847,), (1349805095,), (1349815246,), (1349815691,), (1349815723,), (1349815727,), (1349815732,), (1349815767,), (1349815770,), (1349815776,), (1349815779,), (1349815891,), (1349815894,), (1349815897,), (1349815997,), (1349816002,), (1349816392,), (1349816647,), (1349816662,), (1349816767,), (1349817475,), (1349817479,), (1349817480,), (1349817513,), (1349817518,), (1349817523,), (1349817529,), (1349817534,), (1349817540,), (1349817582,), (1349817571,), (1349817573,), (1349817576,), (1349817579,), (1349817674,), (1349817679,), (1349817695,), (1349817708,), (1349817830,), (1349817833,), (1349817838,), (1349817844,), (1349817857,), (1349817859,), (1349817957,), (1349817977,), (1349817981,), (1349818053,), (1349818055,), (1349818058,), (1349818061,), (1349818102,), (1349818105,), (1349818107,), (1349818109,), (1349818150,), (1349818154,), (1349818156,), (1349818158,), (1349818225,), (1349818229,), (1349818230,), (1349818237,), (1349818289,), (1349818293,), (1349818297,), (1349818301,), (1349818335,), (1349818339,), (1349818343,), (1349818347,), (1349818352,), (1349818386,), (1349818390,), (1349818397,), (1349818402,), (1349818406,), (1349818412,), (1349818444,), (1349818451,), (1349818458,), (1349818487,), (1349818490,), (1349818781,), (1349818817,), (1349818855,), (1349819286,), (1349822819,), (1349822820,), (1349822821,), (1349822822,), (1349822825,), (1349822828,), (1349822843,), (1349822847,), (1349822850,), (1349822854,), (1349822858,), (1349822862,), (1349822887,), (1349822892,), (1349822899,), (1349822918,), (1349822925,), (1349822931,), (1349822935,), (1349822939,), (1349822943,), (1349822973,), (1349822979,), (1349822985,), (1349822989,), (1349822999,), (1349823002,), (1349823006,), (1349823010,), (1349823014,), (1349823018,), (1349823051,), (1349823084,), (1349823101,), (1349823108,), (1349823112,), (1349823115,), (1349823124,), (1349823129,), (1349823170,), (1349823190,), (1349823193,), (1349823195,), (1349823198,), (1349823203,), (1349823207,), (1349823265,), (1349823268,), (1349823271,), (1349823287,), (1349823293,), (1349823298,), (1349823302,), (1349823305,), (1349823308,), (1349823378,), (1349823394,), (1349823402,), (1349823407,), (1349823412,), (1349823418,), (1349823421,), (1349823488,), (1349823503,), (1349823505,), (1349823508,), (1349823513,), (1349823518,), (1349823521,), (1349823849,), (1349823893,), (1349822878,), (1349822881,), (1349822884,), (1349822957,), (1349822965,), (1349823026,), (1349823030,), (1349823037,), (1349823041,), (1349823046,), (1349823060,), (1349823064,), (1349823067,), (1349823073,), (1349823079,), (1349823147,), (1349823151,), (1349823155,), (1349823158,), (1349823164,), (1349823223,), (1349823227,), (1349823229,), (1349823232,), (1349823234,), (1349823235,), (1349823250,), (1349823256,), (1349823262,), (1349823317,), (1349823333,), (1349823339,), (1349823344,), (1349823347,), (1349823348,), (1349823359,), (1349823363,), (1349823368,), (1349823372,), (1349823376,), (1349823432,), (1349823437,), (1349823445,), (1349823450,), (1349823453,), (1349823456,), (1349823463,), (1349823467,), (1349823470,), (1349823479,), (1349823484,), (1349823542,), (1349823601,), (1349823605,), (1349823610,), (1349823640,), (1349823671,), (1349823722,), (1349823756,), (1349823778,), (1349823803,), (1349823840,), (1349823880,), (1349823883,), (1349823888,), (1349823967,), (1349823972,), (1349823980,), (1349823993,), (1349824010,), (1349824016,), (1349824072,), (1349823897,), (1349823900,), (1349823911,), (1349823913,), (1349823916,), (1349823922,), (1349823927,), (1349823944,), (1349824085,), (1349824106,), (1349824130,), (1349824205,), (1349824216,), (1349824229,), (1349824265,), (1349824294,), (1349824325,), (1349824425,), (1349824453,), (1349824475,), (1349824498,), (1349824519,), (1349824559,), (1349824646,), (1349824649,), (1349824654,), (1349824660,), (1349824669,), (1349824689,), (1349824794,), (1349824819,), (1349824842,), (1349824868,), (1349824877,), (1349824883,), (1349824907,), (1349824916,), (1349824926,), (1349824931,), (1349824934,), (1349824940,), (1349825013,), (1349825070,), (1349825082,), (1349825088,), (1349825092,), (1349825105,), (1349825126,), (1349825176,), (1349825197,), (1349825204,), (1349825222,), (1349825226,), (1349825276,), (1349825294,), (1349825320,), (1349825372,), (1349825421,), (1349825474,), (1349825674,), (1349825734,), (1349825796,), (1349825872,), (1349825928,), (1349825977,), (1349826114,), (1349826149,), (1349826190,), (1349826223,), (1349826253,), (1349826295,), (1349826401,), (1349826460,), (1349826513,), (1349826554,), (1349826595,), (1349826618,), (1349826740,), (1349826789,), (1349826827,), (1349826856,), (1349826898,), (1349826923,), (1349827083,), (1349827145,), (1349827179,), (1349827204,), (1349827264,), (1349827315,), (1349827413,), (1349827442,), (1349827482,), (1349827530,), (1349827594,), (1349827642,), (1349827717,), (1349827762,), (1349827801,), (1349827838,), (1349827876,), (1349827908,), (1349828006,), (1349828046,), (1349828084,), (1349828125,), (1349828164,), (1349828189,), (1349828253,), (1349828275,), (1349828300,), (1349828343,), (1349828353,), (1349828358,), (1349828400,), (1349828406,), (1349828414,), (1349828444,), (1349828467,), (1349828497,), (1349828624,), (1349828653,), (1349828695,), (1349828712,), (1349828741,), (1349828769,), (1349828849,), (1349828885,), (1349828899,), (1349828916,), (1349828956,), (1349832087,), (1349832145,), (1349832153,), (1349832167,), (1349832188,), (1349832198,), (1349832287,), (1349832345,), (1349832660,), (1349832665,), (1349832669,), (1349832674,), (1349832677,), (1349832685,), (1349832701,), (1349832710,), (1349832717,), (1349832726,), (1349832734,), (1349832737,), (1349832746,), (1349832752,), (1349832760,), (1349832776,), (1349832841,), (1349832845,), (1349832849,), (1349832857,), (1349832893,), (1349832899,), (1349832907,), (1349832924,), (1349832930,), (1349833072,), (1349833091,), (1349833096,), (1349833112,), (1349833161,), (1349833162,), (1349833181,), (1349833182,), (1349833198,), (1349833200,), (1349833201,), (1349833207,), (1349833213,), (1349833219,), (1349833231,), (1349833244,), (1349833267,), (1349833272,), (1349833275,), (1349833280,), (1349833310,), (1349833319,), (1349833325,), (1349833330,), (1349833337,), (1349833576,), (1349833604,), (1349833640,), (1349833687,), (1349833823,), (1349833853,), (1349833882,), (1349833908,), (1349834184,), (1349834090,), (1349834132,), (1349834462,), (1349834476,), (1349834495,), (1349834526,), (1349834869,), (1349834884,), (1349834899,), (1349834905,), (1349834911,), (1349834926,), (1349834931,), (1349834933,), (1349834938,), (1349834940,), (1349834944,), (1349834946,), (1349834952,), (1349834999,), (1349835007,), (1349835036,), (1349835041,), (1349835048,), (1349835052,), (1349835358,), (1349835384,), (1349835398,), (1349835406,), (1349835411,), (1349835427,), (1349835441,), (1349835444,), (1349835451,), (1349835478,), (1349835482,), (1349835486,), (1349835490,), (1349835495,), (1349835582,), (1349835584,), (1349835585,), (1349835588,), (1349835589,), (1349835591,), (1349835593,), (1349835596,), (1349835598,), (1349835608,), (1349835609,), (1349835613,), (1349835796,), (1349835825,), (1349835873,), (1349836085,), (1349836093,), (1349836098,), (1349836129,), (1349836124,), (1349836146,), (1349836152,), (1349836157,), (1349836163,), (1349836169,), (1349836173,), (1349836513,), (1349836654,), (1349836656,), (1349836824,), (1349836827,), (1349836829,), (1349836832,), (1349836834,), (1349836836,), (1349836839,), (1349836841,), (1349836844,), (1349836845,), (1349836858,), (1349836863,), (1349836867,), (1349836930,), (1349836935,), (1349836942,), (1349836948,), (1349836950,), (1349836977,), (1349836979,), (1349836991,), (1349836998,), (1349837001,), (1349837051,), (1349837053,), (1349837199,), (1349837202,), (1349837207,), (1349837212,), (1349837217,), (1349837230,), (1349837232,), (1349837235,), (1349837239,), (1349837242,), (1349837248,), (1349837311,), (1349837312,), (1349837302,), (1349837306,), (1349837336,), (1349837338,), (1349837342,), (1349837344,), (1349837431,), (1349837433,), (1349837439,), (1349837466,), (1349837469,), (1349837472,), (1349837475,), (1349837646,), (1349837649,), (1349837652,), (1349837663,), (1349837670,), (1349837681,), (1349837684,), (1349837686,), (1349837738,), (1349837750,), (1349837755,), (1349837760,), (1349837781,), (1349837787,), (1349837795,), (1349837814,), (1349837815,), (1349837817,), (1349837820,), (1349837825,), (1349837888,), (1349837894,), (1349837899,), (1349837915,), (1349837926,), (1349837929,), (1349837932,), (1349837936,), (1349837941,), (1349838003,), (1349838009,), (1349838014,), (1349838019,), (1349838025,), (1349838029,), (1349838032,), (1349838035,), (1349838039,), (1349838044,), (1349838103,), (1349838109,), (1349838121,), (1349838133,), (1349838157,), (1349838187,), (1349838438,), (1349838462,), (1349838502,), (1349838529,), (1349838573,), (1349838576,), (1349838579,), (1349838580,), (1349838586,), (1349838719,), (1349838733,), (1349838667,), (1349838668,), (1349838695,), (1349838710,), (1349838953,), (1349838955,), (1349838999,), (1349839004,), (1349839042,), (1349839049,), (1349839069,), (1349839098,), (1349839122,), (1349839150,), (1349839320,), (1349839347,), (1349839372,), (1349839490,), (1349839538,), (1349839733,), (1349839789,), (1349839837,), (1349839895,), (1349840521,), (1349840525,), (1349840566,), (1349840574,), (1349841668,), (1349841675,), (1349841695,), (1349841696,), (1349841736,), (1349841737,), (1349841785,), (1349841788,), (1349841833,), (1349841836,), (1349841963,), (1349841969,), (1349841974,), (1349841980,), (1349842243,), (1349842262,), (1349842299,), (1349842322,), (1349842348,), (1349842386,), (1349842505,), (1349842535,), (1349842563,), (1349842588,), (1349842922,), (1349842948,), (1349842952,), (1349842955,), (1349842967,), (1349842970,), (1349843039,), (1349843067,), (1349843086,), (1349843092,), (1349843097,), (1349843140,), (1349843163,), (1349843176,), (1349843191,), (1349843279,), (1349843283,), (1349843286,), (1349843288,), (1349843292,), (1349843295,), (1349843298,), (1349843299,), (1349843301,), (1349843302,), (1349843307,), (1349843325,), (1349843372,), (1349843351,), (1349843356,), (1349843361,), (1349843364,), (1349843368,), (1349843413,), (1349843439,), (1349843468,), (1349843629,), (1349843630,), (1349843643,), (1349843644,), (1349843655,), (1349843658,), (1349843663,), (1349843664,), (1349843668,), (1349843669,), (1349843672,), (1349843673,), (1349843754,), (1349843767,), (1349843781,), (1349843790,), (1349844105,), (1349844112,), (1349844132,), (1349844141,), (1349844144,), (1349844154,), (1349844183,), (1349844196,), (1349844206,), (1349844213,), (1349844242,), (1349844285,), (1349844289,), (1349844293,), (1349844300,), (1349844483,), (1349844549,), (1349844555,), (1349844561,), (1349844567,), (1349844571,), (1349844572,), (1349844619,), (1349844623,), (1349844627,), (1349844662,), (1349844663,), (1349844668,), (1349844669,), (1349844675,), (1349844676,), (1349844680,), (1349844687,), (1349844703,), (1349844705,), (1349844725,), (1349844730,), (1349844735,), (1349844792,), (1349844796,), (1349844802,), (1349844807,), (1349844820,), (1349844828,), (1349844841,), (1349844844,), (1349844847,), (1349844852,), (1349844858,), (1349844863,), (1349844945,), (1349844958,), (1349845001,), (1349845187,), (1349845121,), (1349845125,), (1349845134,), (1349845158,), (1349845173,), (1349845283,), (1349845326,), (1349845391,), (1349845401,), (1349845405,), (1349845411,), (1349845486,), (1349845493,), (1349845510,), (1349845764,), (1349845769,), (1349845776,), (1349845789,), (1349845795,), (1349845836,), (1349845840,), (1349845846,), (1349845850,), (1349845856,), (1349845865,), (1349845926,), (1349845929,), (1349845969,), (1349845982,), (1349846159,), (1349846165,), (1349846173,), (1349846187,), (1349846214,), (1349846297,), (1349846321,), (1349846347,), (1349846382,), (1349846399,), (1349846439,), (1349846445,), (1349846453,), (1349846458,), (1349846474,), (1349846631,), (1349846656,), (1349846672,), (1349846696,), (1349846703,), (1349846738,), (1349846747,), (1349846754,), (1349846760,), (1349846787,), (1349846790,), (1349846793,), (1349846796,), (1349846800,), (1349846805,), (1349846886,), (1349846893,), (1349846900,), (1349846906,), (1349846917,), (1349846922,), (1349846933,), (1349846938,), (1349846947,), (1349847085,), (1349847125,), (1349847152,), (1349847164,), (1349847180,), (1349847187,), (1349847292,), (1349847248,), (1349847256,), (1349847273,), (1349847280,), (1349847289,), (1349847307,), (1349847315,), (1349847395,), (1349847400,), (1349847407,), (1349847416,), (1349847434,), (1349847438,), (1349847441,), (1349847445,), (1349847450,), (1349847454,), (1349847615,), (1349847632,), (1349847661,), (1349847665,), (1349847753,), (1349847757,), (1349847760,), (1349847765,), (1349847773,), (1349847840,), (1349847855,), (1349847864,), (1349847877,), (1349847881,), (1349847889,), (1349847915,), (1349847917,), (1349847920,), (1349847922,), (1349847966,), (1349847969,), (1349847971,), (1349847975,), (1349847983,), (1349848000,), (1349848021,), (1349848023,), (1349848026,), (1349848028,), (1349848077,), (1349848083,), (1349848088,), (1349848103,), (1349848107,), (1349848160,), (1349848166,), (1349848188,), (1349848191,), (1349848195,), (1349848255,), (1349848261,), (1349848268,), (1349848272,), (1349848329,), (1349848340,), (1349848355,), (1349848385,), (1349848410,), (1349848444,), (1349848519,), (1349848542,), (1349848590,), (1349848659,), (1349848895,), (1349848812,), (1349848853,), (1349849240,), (1349849286,), (1349849348,), (1349849384,), (1349849412,), (1349849435,), (1349849591,), (1349849617,), (1349849652,), (1349849685,), (1349849721,), (1349850255,), (1349850334,), (1349850360,), (1349850891,), (1349850921,), (1349850948,), (1349850967,), (1349851141,), (1349851204,), (1349851269,), (1349851331,), (1349851747,), (1349851756,), (1349851787,), (1349851810,), (1349851818,), (1349852473,), (1349852591,), (1349852700,), (1349852751,), (1349852759,), (1349852767,), (1349852772,), (1349852775,), (1349852781,), (1349853129,), (1349853132,), (1349853142,), (1349853155,), (1349853174,), (1349853237,), (1349853389,), (1349853418,), (1349853445,), (1349853470,), (1349853541,), (1349853545,), (1349853549,), (1349853555,), (1349853577,), (1349853701,), (1349853713,), (1349853717,), (1349853725,), (1349853742,), (1349853746,), (1349853810,), (1349853837,), (1349853863,), (1349853913,), (1349853928,), (1349853933,), (1349853937,), (1349853940,), (1349853943,), (1349853997,), (1349853977,), (1349853981,), (1349853987,), (1349853991,), (1349853993,), (1349854014,), (1349854022,), (1349854029,), (1349854037,), (1349854211,), (1349854237,), (1349854274,), (1349854325,), (1349854343,), (1349854379,), (1349854655,), (1349854695,), (1349854725,), (1349854751,), (1349855072,), (1349855114,), (1349855136,), (1349855151,), (1349855159,), (1349855323,), (1349855331,), (1349855335,), (1349855373,), (1349855377,), (1349855383,), (1349855406,), (1349855415,), (1349855424,), (1349855430,), (1349855485,), (1349855489,), (1349855500,), (1349855523,), (1349855538,), (1349855545,), (1349855616,), (1349855621,), (1349855630,), (1349855648,), (1349855931,), (1349856001,), (1349856041,), (1349856078,), (1349856086,), (1349856101,), (1349856195,), (1349856221,), (1349856423,), (1349856771,), (1349856754,), (1349856760,), (1349856765,), (1349856843,), (1349856849,), (1349856855,), (1349856859,), (1349857008,), (1349857053,), (1349857066,), (1349857070,), (1349857077,), (1349857127,), (1349857140,), (1349857150,), (1349857153,), (1349857181,), (1349857187,), (1349857195,), (1349857199,), (1349857202,), (1349857204,), (1349857230,), (1349857235,), (1349857239,), (1349857275,), (1349857314,), (1349857326,), (1349857440,), (1349857454,), (1349857461,), (1349857691,), (1349857744,), (1349857816,), (1349857852,), (1349857893,), (1349857941,), (1349858070,), (1349858077,), (1349858086,), (1349858098,), (1349858141,), (1349858453,), (1349858458,), (1349858466,), (1349866591,), (1349866543,), (1349866768,), (1349866942,), (1349866946,), (1349867296,), (1349867301,), (1349867303,), (1349867307,), (1349867328,), (1349867331,), (1349867357,), (1349867372,), (1349867377,), (1349867473,), (1349867479,), (1349867482,), (1349867487,), (1349867490,), (1349867514,), (1349867531,), (1349867533,), (1349867535,), (1349867698,), (1349867776,), (1349867837,), (1349867853,), (1349867861,), (1349867865,), (1349867909,), (1349867950,), (1349867955,), (1349867962,), (1349867965,), (1349868033,), (1349868094,), (1349868142,), (1349868177,), (1349868444,), (1349868405,), (1349868420,), (1349868422,), (1349868424,), (1349868439,), (1349868465,), (1349868466,), (1349868468,), (1349868471,), (1349868475,), (1349868480,), (1349868515,), (1349868535,), (1349868539,), (1349868542,), (1349868548,), (1349868551,), (1349868602,), (1349868615,), (1349868633,), (1349868656,), (1349868674,), (1349868704,), (1349869006,), (1349869037,), (1349869096,), (1349869154,), (1349869195,), (1349869568,), (1349869605,), (1349869626,), (1349869648,), (1349869662,), (1349869674,), (1349869814,), (1349869831,), (1349869836,), (1349869840,), (1349869852,), (1349869861,), (1349869968,), (1349870050,), (1349870109,), (1349870756,), (1349870795,), (1349870834,), (1349870871,), (1349871059,), (1349871132,), (1349871151,), (1349871410,), (1349871430,), (1349871460,), (1349871483,), (1349871602,), (1349871610,), (1349871633,), (1349871709,), (1349871712,), (1349871715,), (1349871718,), (1349871721,), (1349871725,), (1349871846,), (1349871851,), (1349871856,), (1349871910,), (1349871942,), (1349871974,), (1349871992,), (1349872020,), (1349872054,), (1349872207,), (1349872199,), (1349872201,), (1349872203,), (1349872423,), (1349872426,), (1349872454,), (1349872478,), (1349872503,), (1349872621,), (1349872627,), (1349872689,), (1349872702,), (1349872725,), (1349872738,), (1349872842,), (1349872856,), (1349872863,), (1349872867,), (1349873065,), (1349873095,), (1349873149,), (1349873168,), (1349873210,), (1349873252,), (1349873347,), (1349873349,), (1349873352,), (1349873383,), (1349873389,), (1349873404,), (1349873413,), (1349873418,), (1349873422,), (1349873451,), (1349873455,), (1349873827,), (1349873914,), (1349873934,), (1349873959,), (1349874349,), (1349874294,), (1349874321,), (1349874569,), (1349874576,), (1349874586,), (1349874631,), (1349874636,), (1349874706,), (1349874831,), (1349875894,), (1349875919,), (1349875946,), (1349875957,), (1349876371,), (1349876492,), (1349876497,), (1349876552,), (1349876561,), (1349876581,), (1349876906,), (1349876967,), (1349877002,), (1349877061,), (1349877125,), (1349877622,), (1349877704,), (1349877956,), (1349878062,), (1349878284,), (1349878734,), (1349878780,), (1349878832,), (1349878870,), (1349879408,), (1349879526,), (1349879571,), (1349879610,), (1349880129,), (1349880517,), (1349880576,), (1349881072,), (1349881133,), (1349881186,), (1349881879,), (1349881936,), (1349881995,), (1349882080,), (1349882156,), (1349882705,), (1349882749,), (1349882783,), (1349882846,), (1349882858,), (1349883345,), (1349883400,), (1349883453,), (1349883494,), (1349883879,), (1349883725,), (1349883748,), (1349883788,), (1349883830,), (1349883853,), (1349883971,), (1349883992,), (1349884024,), (1349884052,), (1349884103,), (1349884143,), (1349884589,), (1349884673,), (1349885167,), (1349885202,), (1349885235,), (1349885260,), (1349885848,), (1349885934,), (1349885978,), (1349886013,), (1349886058,), (1349886341,), (1349886398,), (1349886458,), (1349886810,), (1349886854,), (1349886882,), (1349886927,), (1349886982,), (1349887040,), (1349887300,), (1349887332,), (1349887384,), (1349887427,), (1349887895,), (1349887959,), (1349888019,), (1349888078,), (1349888157,), (1349888228,), (1349888562,), (1349888592,), (1349888635,), (1349888669,), (1349888694,), (1349888727,), (1349888901,), (1349888956,), (1349889001,), (1349889036,), (1349889311,), (1349889347,), (1349889384,), (1349889412,), (1349889455,), (1349889505,), (1349889823,), (1349889871,), (1349889951,), (1349890025,), (1349890857,), (1349890952,), (1349891044,), (1349891170,), (1349891206,), (1349891259,), (1349891466,), (1349891532,), (1349891593,), (1349891645,), (1349891681,), (1349892455,), (1349892242,), (1349892319,), (1349892383,), (1349892873,), (1349892937,), (1349893012,), (1349893050,), (1349893075,), (1349893113,), (1349893304,), (1349893387,), (1349893483,), (1349893940,), (1349894017,), (1349894098,), (1349894146,), (1349894200,), (1349894526,), (1349894566,), (1349894594,), (1349894911,), (1349894951,), (1349894979,), (1349895024,), (1349895590,), (1349895836,), (1349896027,), (1349896230,), (1349896394,), (1349896415,), (1349896438,), (1349897099,), (1349897172,), (1349897221,), (1349897280,), (1349897336,), (1349897805,), (1349897854,), (1349897915,), (1349897959,), (1349898020,), (1349898394,), (1349898426,), (1349898492,), (1349898532,), (1349898582,), (1349898622,), (1349898871,), (1349898916,), (1349898964,), (1349898994,), (1349899045,), (1349899064,), (1349899241,), (1349899274,), (1349899310,), (1349899462,), (1349899688,), (1349899724,), (1349899746,), (1349899803,), (1349899858,), (1349899900,), (1349899999,), (1349900029,), (1349900053,), (1349900070,), (1349900114,), (1349900162,), (1349900286,), (1349900348,), (1349900412,), (1349900432,), (1349900476,), (1349900515,), (1349900651,), (1349900579,), (1349900609,), (1349900629,), (1349900734,), (1349900992,), (1349901162,), (1349901179,), (1349901197,), (1349901208,), (1349901294,), (1349901305,), (1349901311,), (1349901320,), (1349901340,), (1349901366,), (1349901451,), (1349901489,), (1349901508,), (1349901514,), (1349901586,), (1349901611,), (1349901641,), (1349901693,), (1349901712,), (1349901730,), (1349901795,), (1349901803,), (1349901819,), (1349901826,), (1349901841,), (1349901846,), (1349901865,), (1349901884,), (1349901890,), (1349901905,), (1349901989,), (1349902015,), (1349902033,), (1349902061,), (1349902094,), (1349902134,), (1349902239,), (1349902279,), (1349902381,), (1349902387,), (1349902406,), (1349902430,), (1349902458,), (1349902477,), (1349902499,), (1349902532,), (1349902610,), (1349902636,), (1349902641,), (1349902658,), (1349902742,), (1349902745,), (1349902749,), (1349902752,), (1349902757,), (1349902759,), (1349902787,), (1349902816,), (1349902826,), (1349902830,), (1349902868,), (1349902873,), (1349902877,), (1349902882,), (1349902886,), (1349902966,), (1349902989,), (1349903010,), (1349903042,), (1349903057,), (1349903082,), (1349903315,), (1349903321,), (1349903328,), (1349903354,), (1349903628,), (1349903562,), (1349903594,), (1349903953,), (1349903984,), (1349903999,), (1349904026,), (1349904056,), (1349904099,), (1349904352,), (1349904438,), (1349904469,), (1349904502,), (1349904527,), (1349904553,), (1349904756,), (1349904792,), (1349904812,), (1349905073,), (1349905162,), (1349905218,), (1349905241,), (1349905332,), (1349905376,), (1349905520,), (1349905556,), (1349905767,), (1349905814,), (1349905864,), (1349905903,), (1349905935,), (1349906200,), (1349906242,), (1349906283,), (1349906309,), (1349906339,), (1349906590,), (1349906623,), (1349906657,), (1349906686,), (1349906708,), (1349906918,), (1349906952,), (1349906976,), (1349907009,), (1349907032,), (1349907282,), (1349907323,), (1349907348,), (1349907374,), (1349907406,), (1349907442,), (1349907700,), (1349907715,), (1349907721,), (1349907725,), (1349907729,), (1349907819,), (1349907822,), (1349907827,), (1349907831,), (1349907835,), (1349907839,), (1349908041,), (1349908070,), (1349908097,), (1349908120,), (1349908334,), (1349908340,), (1349908350,), (1349908374,), (1349908395,), (1349908400,), (1349908507,), (1349908476,), (1349908492,), (1349908499,), (1349908503,), (1349908536,), (1349908544,), (1349908550,), (1349908556,), (1349908562,), (1349908613,), (1349908617,), (1349908622,), (1349908631,), (1349908678,), (1349908681,), (1349908687,), (1349908743,), (1349908756,), (1349908761,), (1349908951,), (1349908954,), (1349908961,), (1349908965,), (1349908972,), (1349908975,), (1349909072,), (1349909088,), (1349909104,), (1349909109,), (1349909141,), (1349909150,), (1349909161,), (1349909182,), (1349909186,), (1349909199,), (1349910101,), (1349910116,), (1349910129,), (1349910133,), (1349910136,), (1349910874,), (1349910924,), (1349910974,), (1349911020,), (1349911058,), (1349911457,), (1349911455,), (1349911584,), (1349911600,), (1349911612,), (1349911616,), (1349911655,), (1349911691,), (1349911789,), (1349911828,), (1349911883,), (1349911950,), (1349912026,), (1349912127,), (1349912177,), (1349912236,), (1349912270,), (1349912307,), (1349912309,), (1349912319,), (1349912421,), (1349912466,), (1349912504,), (1349912528,), (1349912809,), (1349912833,), (1349912842,), (1349912845,), (1349912883,), (1349912887,), (1349912891,), (1349912893,), (1349912896,), (1349912898,), (1349912924,), (1349912926,), (1349912929,), (1349912976,), (1349912979,), (1349912983,), (1349912987,), (1349912989,), (1349912992,), (1349913019,), (1349913022,), (1349913024,), (1349913033,), (1349913077,), (1349913205,), (1349913219,), (1349913223,), (1349913227,), (1349913254,), (1349913262,), (1349913269,), (1349913274,), (1349913278,), (1349913282,), (1349913313,), (1349913318,), (1349913325,), (1349913334,), (1349913371,), (1349913374,), (1349913379,), (1349913385,), (1349913663,), (1349913628,), (1349913837,), (1349913843,), (1349913848,), (1349913852,), (1349913856,), (1349913915,), (1349913951,), (1349913975,), (1349913985,), (1349914035,), (1349914077,), (1349914125,), (1349914144,), (1349914148,), (1349914792,), (1349914796,), (1349914801,), (1349914833,), (1349914864,), (1349914871,), (1349914874,), (1349914877,), (1349914880,), (1349914887,), (1349914907,), (1349914911,), (1349915089,), (1349915112,), (1349915136,), (1349915159,), (1349915178,), (1349915318,), (1349915336,), (1349915346,), (1349915350,), (1349915352,), (1349915353,), (1349915982,), (1349916034,), (1349916087,), (1349916554,), (1349819251,), (1349819832,), (1349819915,), (1349819995,), (1349820036,), (1349820160,), (1349820244,), (1349820847,), (1349820896,), (1349820957,), (1349821313,), (1349821345,), (1349821378,), (1349821511,), (1349821518,), (1349821662,), (1349821692,), (1349821725,), (1349821751,), (1349821785,), (1349821950,), (1349821982,), (1349822013,), (1349822474,), (1349822496,), (1349822513,), (1349822516,), (1349822533,), (1349822677,), (1349822686,), (1349822691,), (1349822734,), (1349822740,), (1349822747,), (1349822753,), (1349822785,), (1349822789,), (1349822793,), (1349822799,), (1349822808,), (1349822814,), (1349846961,), (1349847012,), (1349847208,), (1349847211,), (1349847214,), (1349847217,), (1349847228,), (1349847239,), (1349847320,), (1349847324,), (1349847330,), (1349847333,), (1349847351,), (1349847363,), (1349847368,), (1349847377,), (1349847384,), (1349847387,), (1349847422,), (1349847428,), (1349847482,), (1349847537,), (1349847549,), (1349847551,), (1349844580,), (1349844586,), (1349844590,), (1349844596,), (1349844603,), (1349844606,), (1349844636,), (1349844646,), (1349844652,), (1349844712,), (1349844713,), (1349844740,), (1349844744,), (1349844748,), (1349844764,), (1349844768,), (1349844773,), (1349844777,), (1349844780,), (1349844782,), (1349844899,), (1349844913,), (1349844918,), (1349844920,), (1349844923,), (1349844929,), (1349845033,), (1349845040,), (1349845059,), (1349845211,), (1349845224,), (1349845233,), (1349845238,), (1349845241,), (1349845262,), (1349845581,), (1349845612,), (1349845634,), (1349845710,), (1349845720,), (1349845725,), (1349845731,), (1349845736,), (1349845739,), (1349845807,), (1349846001,), (1349846011,), (1349846081,), (1349846086,), (1349846093,), (1349846106,), (1349846110,), (1349846132,), (1349846245,), (1349846413,), (1349846480,), (1349846506,), (1349846515,), (1349846521,), (1349846548,), (1349846591,), (1349846617,), (1349846721,), (1349846765,), (1349846772,), (1349846817,), (1349846822,), (1349846830,), (1349846837,), (1349846842,), (1349846849,), (1349846955,), (1349841437,), (1349841480,), (1349841523,), (1349841566,), (1349841869,), (1349841873,), (1349841986,), (1349841990,), (1349842062,), (1349842088,), (1349842122,), (1349842142,), (1349842156,), (1349842169,), (1349842613,), (1349842639,), (1349842699,), (1349842722,), (1349842753,), (1349842777,), (1349842804,), (1349842835,), (1349843100,), (1349843198,), (1349843204,), (1349843211,), (1349843216,), (1349843226,), (1349843229,), (1349843246,), (1349843256,), (1349843510,), (1349843527,), (1349843539,), (1349843571,), (1349843578,), (1349843586,), (1349843589,), (1349843593,), (1349843603,), (1349843800,), (1349843810,), (1349843886,), (1349843907,), (1349843935,), (1349843988,), (1349844009,), (1349844027,), (1349844217,), (1349844221,), (1349844307,), (1349844376,), (1349844392,), (1349844398,), (1349844407,), (1349844443,), (1349844449,), (1349844489,), (1349844509,), (1349844517,), (1349844523,), (1349844534,), (1349838594,), (1349838743,), (1349838761,), (1349838794,), (1349838806,), (1349838809,), (1349838835,), (1349839129,), (1349839174,), (1349839576,), (1349839944,), (1349839993,), (1349840145,), (1349840204,), (1349840236,), (1349840283,), (1349840326,), (1349840370,), (1349840608,), (1349840617,), (1349840641,), (1349840653,), (1349840679,), (1349840687,), (1349840722,), (1349840725,), (1349840835,), (1349840860,), (1349840882,), (1349840903,), (1349840928,), (1349840953,), (1349841030,), (1349841059,), (1349841085,), (1349841111,), (1349841184,), (1349841213,), (1349841356,), (1349841394,), (1349837223,), (1349837259,), (1349837262,), (1349837265,), (1349837268,), (1349837273,), (1349837277,), (1349837317,), (1349837318,), (1349837321,), (1349837323,), (1349837326,), (1349837328,), (1349837330,), (1349837331,), (1349837357,), (1349837365,), (1349837384,), (1349837387,), (1349837390,), (1349837393,), (1349837404,), (1349837413,), (1349837445,), (1349837450,), (1349837457,), (1349837513,), (1349837520,), (1349837572,), (1349837577,), (1349837588,), (1349837592,), (1349837621,), (1349837625,), (1349837672,), (1349837689,), (1349837692,), (1349837695,), (1349837705,), (1349837709,), (1349837711,), (1349837721,), (1349837727,), (1349837730,), (1349837839,), (1349837849,), (1349837855,), (1349837856,), (1349837869,), (1349837871,), (1349837918,), (1349837920,), (1349837944,), (1349837955,), (1349837958,), (1349837962,), (1349837965,), (1349837967,), (1349837977,), (1349838049,), (1349838054,), (1349838066,), (1349838075,), (1349838081,), (1349838085,), (1349838088,), (1349838091,), (1349838535,), (1349838545,), (1349836326,), (1349836349,), (1349836392,), (1349836409,), (1349836428,), (1349836436,), (1349836493,), (1349836517,), (1349836522,), (1349836527,), (1349836531,), (1349836535,), (1349836556,), (1349836559,), (1349836563,), (1349836566,), (1349836569,), (1349836574,), (1349836581,), (1349836587,), (1349836593,), (1349836596,), (1349836598,), (1349836599,), (1349836606,), (1349836610,), (1349836615,), (1349836624,), (1349836630,), (1349836642,), (1349836659,), (1349836664,), (1349836671,), (1349836676,), (1349836692,), (1349836707,), (1349836732,), (1349836754,), (1349836773,), (1349836794,), (1349836848,), (1349836850,), (1349836870,), (1349836873,), (1349836887,), (1349836900,), (1349836907,), (1349836911,), (1349836913,), (1349836917,), (1349836920,), (1349836953,), (1349837019,), (1349837068,), (1349837070,), (1349837073,), (1349837090,), (1349837113,), (1349837117,), (1349837121,), (1349837123,), (1349837126,), (1349837128,), (1349835244,), (1349835251,), (1349835269,), (1349835291,), (1349835457,), (1349835462,), (1349835468,), (1349835501,), (1349835530,), (1349835540,), (1349835551,), (1349835565,), (1349835573,), (1349835576,), (1349835623,), (1349835626,), (1349835629,), (1349835639,), (1349835660,), (1349835681,), (1349835717,), (1349835725,), (1349835735,), (1349835739,), (1349835781,), (1349835783,), (1349835885,), (1349835902,), (1349835919,), (1349835943,), (1349835944,), (1349835945,), (1349835948,), (1349835957,), (1349835967,), (1349835978,), (1349835985,), (1349835991,), (1349835996,), (1349835999,), (1349836003,), (1349836011,), (1349836014,), (1349836018,), (1349836020,), (1349836025,), (1349836030,), (1349836043,), (1349836045,), (1349836048,), (1349836050,), (1349836054,), (1349836058,), (1349836105,), (1349836109,), (1349836114,), (1349836134,), (1349836136,), (1349836138,), (1349836140,), (1349836178,), (1349836180,), (1349836182,), (1349836188,), (1349836193,), (1349836208,), (1349836261,), (1349836264,), (1349836268,), (1349836271,), (1349836273,), (1349832017,), (1349832025,), (1349832030,), (1349832038,), (1349832052,), (1349832099,), (1349832102,), (1349832109,), (1349832115,), (1349832353,), (1349832359,), (1349832390,), (1349832420,), (1349832484,), (1349832592,), (1349832599,), (1349832603,), (1349832633,), (1349832637,), (1349832646,), (1349832782,), (1349832785,), (1349832797,), (1349832801,), (1349832807,), (1349832819,), (1349832823,), (1349832827,), (1349832864,), (1349832869,), (1349832939,), (1349832966,), (1349832971,), (1349832988,), (1349832991,), (1349832999,), (1349833008,), (1349833119,), (1349833125,), (1349833286,), (1349833290,), (1349833342,), (1349833391,), (1349833403,), (1349833412,), (1349833429,), (1349833449,), (1349833490,), (1349833717,), (1349833740,), (1349833936,), (1349833975,), (1349834211,), (1349834375,), (1349834398,), (1349834549,), (1349834576,), (1349834664,), (1349834690,), (1349834746,), (1349834771,), (1349834808,), (1349834834,), (1349834916,), (1349835016,), (1349835020,), (1349835145,), (1349835172,), (1349835234,), (1349835238,), (1349829817,), (1349829821,), (1349829824,), (1349829838,), (1349829842,), (1349829846,), (1349829850,), (1349829852,), (1349829855,), (1349829867,), (1349829875,), (1349829891,), (1349829903,), (1349829906,), (1349829910,), (1349829949,), (1349829954,), (1349829958,), (1349829962,), (1349829966,), (1349829974,), (1349829986,), (1349829989,), (1349829994,), (1349830035,), (1349830037,), (1349830038,), (1349830046,), (1349830051,), (1349830055,), (1349830069,), (1349830093,), (1349830139,), (1349830211,), (1349830225,), (1349830229,), (1349830263,), (1349830455,), (1349830503,), (1349830631,), (1349830654,), (1349830663,), (1349830676,), (1349830679,), (1349830703,), (1349831069,), (1349831118,), (1349831159,), (1349831210,), (1349831256,), (1349831676,), (1349831699,), (1349831713,), (1349831736,), (1349831746,), (1349831756,), (1349831814,), (1349831832,), (1349831838,), (1349831854,), (1349831880,), (1349831902,), (1349831967,), (1349831974,), (1349831980,), (1349831987,), (1349831992,), (1349831997,), (1349832009,), (1349828981,), (1349829031,), (1349829038,), (1349829044,), (1349829050,), (1349829053,), (1349829057,), (1349829124,), (1349829141,), (1349829148,), (1349829166,), (1349829191,), (1349829209,), (1349829228,), (1349829230,), (1349829235,), (1349829237,), (1349829242,), (1349829248,), (1349829263,), (1349829266,), (1349829270,), (1349829273,), (1349829290,), (1349829339,), (1349829396,), (1349829412,), (1349829415,), (1349829421,), (1349829425,), (1349829477,), (1349829481,), (1349829482,), (1349829487,), (1349829498,), (1349829505,), (1349829550,), (1349829570,), (1349829596,), (1349829612,), (1349829620,), (1349829627,), (1349829662,), (1349829678,), (1349829680,), (1349829683,), (1349829685,), (1349829688,), (1349829690,), (1349829694,), (1349829702,), (1349829710,), (1349829712,), (1349829722,), (1349829745,), (1349829750,), (1349829756,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03042025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22042800]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594] map_info['map_portfolio_photo'] : {22042800: [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594]} final : True mtd_id 4302 list_pids : [1349841394, 1349841356, 1349841213, 1349841184, 1349841111, 1349841085, 1349841059, 1349841030, 1349840953, 1349840928, 1349840903, 1349840882, 1349840860, 1349840835, 1349840725, 1349840722, 1349840687, 1349840679, 1349840653, 1349840641, 1349840617, 1349840608, 1349840370, 1349840326, 1349840283, 1349840236, 1349840204, 1349840145, 1349839993, 1349839944, 1349839576, 1349839174, 1349839129, 1349838835, 1349838809, 1349838806, 1349838794, 1349838761, 1349838743, 1349838594] Looping around the photos to save general results len do output : 1 /22042800Didn'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, '2726163') ('4302', '22042800', '1349841394', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841356', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841213', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841184', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841111', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841085', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841059', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349841030', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840953', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840928', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840903', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840882', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840860', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840835', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840725', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840722', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840687', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840679', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840653', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840641', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840617', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840608', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840370', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840326', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840283', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840236', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840204', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349840145', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839993', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839944', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839576', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839174', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349839129', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838835', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838809', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838806', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838794', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838761', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838743', None, None, None, None, None, '2726163') ('4302', None, None, None, None, None, None, None, '2726163') ('4302', '22042800', '1349838594', None, None, None, None, None, '2726163') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '22042800', 'None', None, None, None, None, '2726163'), ('4302', '22042800', '1349841394', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841356', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841213', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841184', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841111', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841085', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841059', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349841030', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840953', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840928', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840903', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840882', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840860', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840835', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840725', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840722', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840687', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840679', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840653', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840641', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840617', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840608', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840370', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840326', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840283', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840236', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840204', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349840145', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839993', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839944', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839576', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839174', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349839129', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838835', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838809', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838806', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838794', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838761', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838743', None, None, None, None, None, '2726163'), ('4302', '22042800', '1349838594', None, None, None, None, None, '2726163')] time used for this insertion : 0.019099950790405273 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.54616117477417 time spend to save output : 0.01956486701965332 total time spend for step 5 : 4.565726041793823 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 (2726163) 3.26user 2.30system 0:17.37elapsed 32%CPU (0avgtext+0avgdata 167136maxresident)k 248inputs+28320outputs (41major+89144minor)pagefaults 0swaps