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 : 864972 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 (3303644) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3303644) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033517 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3303644'] with mtr_portfolio_ids : ['25033517'] and first list_photo_ids : [] new path : /proc/864972/ Name: python3 Umask: 0002 State: R (running) Tgid: 864972 Ngid: 0 Pid: 864972 PPid: 864971 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 864972 NSpid: 864972 NSpgid: 863148 NSsid: 863148 VmPeak: 1106884 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98768 kB VmRSS: 98768 kB RssAnon: 59796 kB RssFile: 38972 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 46 nonvoluntary_ctxt_switches: 99 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '864972', 'Ngid': '0', 'Pid': '864972', 'PPid': '864971', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '864972', 'NSpid': '864972', 'NSpgid': '863148', 'NSsid': '863148', 'VmPeak': '1106884 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98768 kB', 'VmRSS': '98768 kB', 'RssAnon': '59796 kB', 'RssFile': '38972 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '46', 'nonvoluntary_ctxt_switches': '99'} ('datou_batch_current', '864972', '1106884', '0', '1106884', '865636', '98768', b'', 'marlene', '3303644') 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 (25033517) 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 (3303644 ) ) 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 (25033517) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1372484379, 'portfolio_id': 25033517}, {'photo_id': 1372484354, 'portfolio_id': 25033517}, {'photo_id': 1372484335, 'portfolio_id': 25033517}, {'photo_id': 1372484315, 'portfolio_id': 25033517}, {'photo_id': 1372484295, 'portfolio_id': 25033517}, {'photo_id': 1372484274, 'portfolio_id': 25033517}, {'photo_id': 1372484181, 'portfolio_id': 25033517}, {'photo_id': 1372484179, 'portfolio_id': 25033517}, {'photo_id': 1372484173, 'portfolio_id': 25033517}, {'photo_id': 1372484147, 'portfolio_id': 25033517}, {'photo_id': 1372484119, 'portfolio_id': 25033517}, {'photo_id': 1372484100, 'portfolio_id': 25033517}, {'photo_id': 1372483978, 'portfolio_id': 25033517}, {'photo_id': 1372483916, 'portfolio_id': 25033517}, {'photo_id': 1372483872, 'portfolio_id': 25033517}, {'photo_id': 1372483854, 'portfolio_id': 25033517}, {'photo_id': 1372483845, 'portfolio_id': 25033517}, {'photo_id': 1372483832, 'portfolio_id': 25033517}, {'photo_id': 1372483411, 'portfolio_id': 25033517}, {'photo_id': 1372483383, 'portfolio_id': 25033517}, {'photo_id': 1372483343, 'portfolio_id': 25033517}, {'photo_id': 1372483315, 'portfolio_id': 25033517}, {'photo_id': 1372483289, 'portfolio_id': 25033517}, {'photo_id': 1372483237, 'portfolio_id': 25033517}, {'photo_id': 1372482845, 'portfolio_id': 25033517}, {'photo_id': 1372482803, 'portfolio_id': 25033517}, {'photo_id': 1372482766, 'portfolio_id': 25033517}, {'photo_id': 1372482718, 'portfolio_id': 25033517}, {'photo_id': 1372482652, 'portfolio_id': 25033517}, {'photo_id': 1372482591, 'portfolio_id': 25033517}, {'photo_id': 1372482199, 'portfolio_id': 25033517}, {'photo_id': 1372482160, 'portfolio_id': 25033517}, {'photo_id': 1372482117, 'portfolio_id': 25033517}, {'photo_id': 1372482085, 'portfolio_id': 25033517}, {'photo_id': 1372482065, 'portfolio_id': 25033517}, {'photo_id': 1372482063, 'portfolio_id': 25033517}, {'photo_id': 1372481940, 'portfolio_id': 25033517}, {'photo_id': 1372481915, 'portfolio_id': 25033517}, {'photo_id': 1372481892, 'portfolio_id': 25033517}, {'photo_id': 1372481872, 'portfolio_id': 25033517}, {'photo_id': 1372481847, 'portfolio_id': 25033517}, {'photo_id': 1372481821, 'portfolio_id': 25033517}, {'photo_id': 1372481652, 'portfolio_id': 25033517}, {'photo_id': 1372481649, 'portfolio_id': 25033517}, {'photo_id': 1372481646, 'portfolio_id': 25033517}, {'photo_id': 1372481644, 'portfolio_id': 25033517}, {'photo_id': 1372481641, 'portfolio_id': 25033517}, {'photo_id': 1372481638, 'portfolio_id': 25033517}, {'photo_id': 1372481626, 'portfolio_id': 25033517}, {'photo_id': 1372481624, 'portfolio_id': 25033517}, {'photo_id': 1372481622, 'portfolio_id': 25033517}, {'photo_id': 1372481620, 'portfolio_id': 25033517}, {'photo_id': 1372481617, 'portfolio_id': 25033517}, {'photo_id': 1372481615, 'portfolio_id': 25033517}, {'photo_id': 1372481585, 'portfolio_id': 25033517}, {'photo_id': 1372481583, 'portfolio_id': 25033517}, {'photo_id': 1372481582, 'portfolio_id': 25033517}, {'photo_id': 1372481581, 'portfolio_id': 25033517}, {'photo_id': 1372481579, 'portfolio_id': 25033517}, {'photo_id': 1372481577, 'portfolio_id': 25033517}, {'photo_id': 1372481562, 'portfolio_id': 25033517}, {'photo_id': 1372481553, 'portfolio_id': 25033517}, {'photo_id': 1372481546, 'portfolio_id': 25033517}, {'photo_id': 1372481539, 'portfolio_id': 25033517}, {'photo_id': 1372481525, 'portfolio_id': 25033517}, {'photo_id': 1372481520, 'portfolio_id': 25033517}] map_portfolio_id_photo_id: {25033517: [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100, 1372483978, 1372483916, 1372483872, 1372483854, 1372483845, 1372483832, 1372483411, 1372483383, 1372483343, 1372483315, 1372483289, 1372483237, 1372482845, 1372482803, 1372482766, 1372482718, 1372482652, 1372482591, 1372482199, 1372482160, 1372482117, 1372482085, 1372482065, 1372482063, 1372481940, 1372481915, 1372481892, 1372481872, 1372481847, 1372481821, 1372481652, 1372481649, 1372481646, 1372481644, 1372481641, 1372481638, 1372481626, 1372481624, 1372481622, 1372481620, 1372481617, 1372481615, 1372481585, 1372481583, 1372481582, 1372481581, 1372481579, 1372481577, 1372481562, 1372481553, 1372481546, 1372481539, 1372481525, 1372481520]} ##### 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.020773887634277344 #### 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 Thu Jul 17 17:42:58 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 (25033517) 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 : 25033517 get user id for portfolio 25033517 get sub ptf for main ptf 25033517, type 3726 and hashtags ['Carton_brun', 'autre_refus', 'flou', 'metal', 'cartonnette', 'environnement', 'plastique', 'Carton_gris', 'Teint_Dans_La_Masse', 'mal_croppe', 'papier', 'kraft'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25033517 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','flou','metal','cartonnette','environnement','plastique','Carton_gris','Teint_Dans_La_Masse','mal_croppe','papier','kraft')) 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`=25033517 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','flou','metal','cartonnette','environnement','plastique','Carton_gris','Teint_Dans_La_Masse','mal_croppe','papier','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 25033517, 'sub_port_id': 25033553, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869344, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'Carton_gris': {'main_port_id': 25033517, 'sub_port_id': 25033554, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869345, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'environnement': {'main_port_id': 25033517, 'sub_port_id': 25033555, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869346, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'papier': {'main_port_id': 25033517, 'sub_port_id': 25033556, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869347, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'plastique': {'main_port_id': 25033517, 'sub_port_id': 25033557, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869348, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'flou': {'main_port_id': 25033517, 'sub_port_id': 25033558, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869349, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'metal': {'main_port_id': 25033517, 'sub_port_id': 25033559, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869350, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'autre_refus': {'main_port_id': 25033517, 'sub_port_id': 25033560, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869351, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'mal_croppe': {'main_port_id': 25033517, 'sub_port_id': 25033561, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869352, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'Carton_brun': {'main_port_id': 25033517, 'sub_port_id': 25033562, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869353, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'kraft': {'main_port_id': 25033517, 'sub_port_id': 25033563, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869354, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 25033517, 'sub_port_id': 25033564, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869355, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 1), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033553 , 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=25033517 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 (25033553) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033554 , 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=25033517 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 (25033554) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033555 , 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=25033517 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 (25033555) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033556 , 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=25033517 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 (25033556) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033557 , 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=25033517 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 (25033557) result : ((1372481741,), (1372483670,), (1372484220,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033558 , 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=25033517 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 (25033558) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033559 , 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=25033517 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 (25033559) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033560 , 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=25033517 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 (25033560) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033561 , 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=25033517 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 (25033561) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033562 , 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=25033517 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 (25033562) result : ((1372483221,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033563 , 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=25033517 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 (25033563) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25033564 , 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=25033517 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 (25033564) result : ((1372481724,), (1372481726,), (1372481728,), (1372481730,), (1372481733,), (1372481735,), (1372482390,), (1372482393,), (1372482396,), (1372482399,), (1372482402,), (1372482405,), (1372483193,), (1372483196,), (1372483199,), (1372483202,), (1372483205,), (1372483208,), (1372483632,), (1372483636,), (1372483641,), (1372483644,), (1372483648,), (1372483653,), (1372484118,), (1372484121,), (1372484123,), (1372484126,), (1372484129,), (1372484131,), (1372484203,), (1372484205,), (1372484207,), (1372484209,), (1372484212,), (1372484214,), (1372484678,), (1372484681,), (1372484684,), (1372484687,), (1372484692,), (1372484696,), (1372485025,), (1372485028,), (1372485031,), (1372485034,), (1372485037,), (1372485040,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25033517) result : ((1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) 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 (1372484100) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25033517 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','flou','metal','cartonnette','environnement','plastique','Carton_gris','Teint_Dans_La_Masse','mal_croppe','papier','kraft')) 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`=25033517 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','flou','metal','cartonnette','environnement','plastique','Carton_gris','Teint_Dans_La_Masse','mal_croppe','papier','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 25033517, 'sub_port_id': 25033565, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869356, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'Carton_gris': {'main_port_id': 25033517, 'sub_port_id': 25033566, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869357, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'environnement': {'main_port_id': 25033517, 'sub_port_id': 25033567, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869358, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'papier': {'main_port_id': 25033517, 'sub_port_id': 25033568, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869359, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'plastique': {'main_port_id': 25033517, 'sub_port_id': 25033569, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869360, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'flou': {'main_port_id': 25033517, 'sub_port_id': 25033570, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869361, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'metal': {'main_port_id': 25033517, 'sub_port_id': 25033571, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869362, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'autre_refus': {'main_port_id': 25033517, 'sub_port_id': 25033572, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869363, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'mal_croppe': {'main_port_id': 25033517, 'sub_port_id': 25033573, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869364, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'Carton_brun': {'main_port_id': 25033517, 'sub_port_id': 25033574, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869365, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'kraft': {'main_port_id': 25033517, 'sub_port_id': 25033575, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869366, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 33, 38), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}, 'Teint_Dans_La_Masse': {'main_port_id': 25033517, 'sub_port_id': 25033576, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16869367, 'last_updated_at': datetime.datetime(2025, 7, 17, 17, 41, 2), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 17, 41, 2), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 17, 33, 38)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033565,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033553 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033566,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033554 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033567,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033555 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033568,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033556 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033569,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033557 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033570,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033558 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033571,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033559 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033572,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033560 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033573,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033561 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033574,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033562 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033575,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033563 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25033576,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25033564 lien utilise dans velours : https://www.fotonower.com/velours/25033565,25033566,25033567,25033568,25033569,25033570,25033571,25033572,25033573,25033574,25033575,25033576?tags=cartonnette,Carton_gris,environnement,papier,plastique,flou,metal,autre_refus,mal_croppe,Carton_brun,kraft,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25033517]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100] map_info['map_portfolio_photo'] : {25033517: [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100, 1372483978, 1372483916, 1372483872, 1372483854, 1372483845, 1372483832, 1372483411, 1372483383, 1372483343, 1372483315, 1372483289, 1372483237, 1372482845, 1372482803, 1372482766, 1372482718, 1372482652, 1372482591, 1372482199, 1372482160, 1372482117, 1372482085, 1372482065, 1372482063, 1372481940, 1372481915, 1372481892, 1372481872, 1372481847, 1372481821, 1372481652, 1372481649, 1372481646, 1372481644, 1372481641, 1372481638, 1372481626, 1372481624, 1372481622, 1372481620, 1372481617, 1372481615, 1372481585, 1372481583, 1372481582, 1372481581, 1372481579, 1372481577, 1372481562, 1372481553, 1372481546, 1372481539, 1372481525, 1372481520]} final : False mtd_id 4302 list_pids : [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100] Looping around the photos to save general results len do output : 1 /25033517. 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, '3303644') ('4302', '25033517', '1372484379', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484354', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484335', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484315', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484295', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484274', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484181', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484179', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484173', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484147', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484119', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484100', None, None, None, None, None, '3303644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 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, '25033517', "{'cartonnette': 25033553, 'Carton_gris': 25033554, 'environnement': 25033555, 'papier': 25033556, 'plastique': 25033557, 'flou': 25033558, 'metal': 25033559, 'autre_refus': 25033560, 'mal_croppe': 25033561, 'Carton_brun': 25033562, 'kraft': 25033563, 'Teint_Dans_La_Masse': 25033564}", None, None, None, None, '3303644'), ('4302', '25033517', '1372484379', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484354', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484335', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484315', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484295', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484274', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484181', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484179', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484173', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484147', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484119', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484100', None, None, None, None, None, '3303644')] time used for this insertion : 0.014674663543701172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6693093776702881 time spend to save output : 0.014976024627685547 total time spend for step 1 : 0.6842854022979736 step2:final Thu Jul 17 17:42:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (25033517) 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 25033517 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1372481562,1372481553,1372481546,1372481539,1372481525,1372481520,1372481585,1372481583,1372481582,1372481581,1372481579,1372481577,1372481626,1372481624,1372481622,1372481620,1372481617,1372481615,1372481652,1372481649,1372481646,1372481644,1372481641,1372481638,1372481940,1372481915,1372481892,1372481872,1372481847,1372481821,1372482199,1372482160,1372482117,1372482085,1372482065,1372482063,1372482845,1372482803,1372482766,1372482718,1372482652,1372482591,1372483411,1372483383,1372483343,1372483315,1372483289,1372483237,1372483978,1372483916,1372483872,1372483854,1372483845,1372483832,1372484181,1372484179,1372484173,1372484147,1372484119,1372484100,1372484379,1372484354,1372484335,1372484315,1372484295,1372484274); 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([25033517]) Inside saveOutput : final : False verbose : True original output for save of step final : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} new output for save of step final : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100] map_info['map_portfolio_photo'] : {25033517: [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100, 1372483978, 1372483916, 1372483872, 1372483854, 1372483845, 1372483832, 1372483411, 1372483383, 1372483343, 1372483315, 1372483289, 1372483237, 1372482845, 1372482803, 1372482766, 1372482718, 1372482652, 1372482591, 1372482199, 1372482160, 1372482117, 1372482085, 1372482065, 1372482063, 1372481940, 1372481915, 1372481892, 1372481872, 1372481847, 1372481821, 1372481652, 1372481649, 1372481646, 1372481644, 1372481641, 1372481638, 1372481626, 1372481624, 1372481622, 1372481620, 1372481617, 1372481615, 1372481585, 1372481583, 1372481582, 1372481581, 1372481579, 1372481577, 1372481562, 1372481553, 1372481546, 1372481539, 1372481525, 1372481520]} final : False mtd_id 4302 list_pids : [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100] Looping around the photos to save general results len do output : 12 /1372484379.Didn't retrieve data . /1372484354.Didn't retrieve data . /1372484335.Didn't retrieve data . /1372484315.Didn't retrieve data . /1372484295.Didn't retrieve data . /1372484274.Didn't retrieve data . /1372484181.Didn't retrieve data . /1372484179.Didn't retrieve data . /1372484173.Didn't retrieve data . /1372484147.Didn't retrieve data . /1372484119.Didn't retrieve data . /1372484100.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, '3303644') ('4302', '25033517', '1372484379', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484354', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484335', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484315', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484295', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484274', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484181', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484179', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484173', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484147', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484119', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484100', None, None, None, None, None, '3303644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '25033517', '1372484379', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484354', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484335', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484315', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484295', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484274', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484181', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484179', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484173', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484147', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484119', '0.0213754570303428', None, None, None, None, '3303644'), ('4302', '25033517', '1372484100', '0.0213754570303428', None, None, None, None, '3303644')] time used for this insertion : 0.01498270034790039 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07600641250610352 time spend to save output : 0.015539884567260742 total time spend for step 2 : 0.09154629707336426 step3:velours_tree Thu Jul 17 17:42:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {25033517: [{'cartonnette': 25033553, 'Carton_gris': 25033554, 'environnement': 25033555, 'papier': 25033556, 'plastique': 25033557, 'flou': 25033558, 'metal': 25033559, 'autre_refus': 25033560, 'mal_croppe': 25033561, 'Carton_brun': 25033562, 'kraft': 25033563, 'Teint_Dans_La_Masse': 25033564}]} input_args_next_step : {25033517: ()} output_args : {25033517: [{'cartonnette': 25033553, 'Carton_gris': 25033554, 'environnement': 25033555, 'papier': 25033556, 'plastique': 25033557, 'flou': 25033558, 'metal': 25033559, 'autre_refus': 25033560, 'mal_croppe': 25033561, 'Carton_brun': 25033562, 'kraft': 25033563, 'Teint_Dans_La_Masse': 25033564}]} args : 25033517 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 : ({'cartonnette': 25033553, 'Carton_gris': 25033554, 'environnement': 25033555, 'papier': 25033556, 'plastique': 25033557, 'flou': 25033558, 'metal': 25033559, 'autre_refus': 25033560, 'mal_croppe': 25033561, 'Carton_brun': 25033562, 'kraft': 25033563, 'Teint_Dans_La_Masse': 25033564},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25033517) 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([25033517]) 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.3139660358428955 time spend to save output : 4.172325134277344e-05 total time spend for step 3 : 0.3140077590942383 step4:send_mail_cod Thu Jul 17 17:42:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} input_args_next_step : {1372484379: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484379 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484354 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484335 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484315 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484295 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484274 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484181 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484179 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484173 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484147 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484119 depend.output_id : 0 input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ()} output_args : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',)} args : 1372484100 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 : {25033517: [{'cartonnette': 25033553, 'Carton_gris': 25033554, 'environnement': 25033555, 'papier': 25033556, 'plastique': 25033557, 'flou': 25033558, 'metal': 25033559, 'autre_refus': 25033560, 'mal_croppe': 25033561, 'Carton_brun': 25033562, 'kraft': 25033563, 'Teint_Dans_La_Masse': 25033564}]} input_args_next_step : {1372484379: ('0.0213754570303428',), 1372484354: ('0.0213754570303428',), 1372484335: ('0.0213754570303428',), 1372484315: ('0.0213754570303428',), 1372484295: ('0.0213754570303428',), 1372484274: ('0.0213754570303428',), 1372484181: ('0.0213754570303428',), 1372484179: ('0.0213754570303428',), 1372484173: ('0.0213754570303428',), 1372484147: ('0.0213754570303428',), 1372484119: ('0.0213754570303428',), 1372484100: ('0.0213754570303428',), 25033517: ()} output_args : {25033517: [{'cartonnette': 25033553, 'Carton_gris': 25033554, 'environnement': 25033555, 'papier': 25033556, 'plastique': 25033557, 'flou': 25033558, 'metal': 25033559, 'autre_refus': 25033560, 'mal_croppe': 25033561, 'Carton_brun': 25033562, 'kraft': 25033563, 'Teint_Dans_La_Masse': 25033564}]} args : 25033517 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 :13, first value : ('0.0213754570303428',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25033517) 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 (1372484379,1372484354,1372484335,1372484315,1372484295,1372484274,1372484181,1372484179,1372484173,1372484147,1372484119,1372484100) Found this number of photos: 12 ##### Call download_photos : nb_thread : 5 begin to download photo : 1372484100 begin to download photo : 1372484173 begin to download photo : 1372484274 begin to download photo : 1372484335 download finish for photo 1372484335 begin to download photo : 1372484354 download finish for photo 1372484100 begin to download photo : 1372484119 download finish for photo 1372484274 begin to download photo : 1372484295 download finish for photo 1372484173 begin to download photo : 1372484179 download finish for photo 1372484354 begin to download photo : 1372484379 download finish for photo 1372484119 begin to download photo : 1372484147 download finish for photo 1372484295 begin to download photo : 1372484315 download finish for photo 1372484179 begin to download photo : 1372484181 download finish for photo 1372484147 download finish for photo 1372484315 download finish for photo 1372484379 download finish for photo 1372484181 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette250335531752766979/ length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 results_Auto_P25033517_17-07-2025_17_42_59.pdf 25033553 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=25033553 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250335531752766979 25033557 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=25033557 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1372481741: '1752766446_290976_1372481525_fe58eb6de6df11457b49b77d60ee830f_rle_crop_3885135356_0.png', 1372483670: '1752766686_302767_1372481847_5c3290b7831abbef7484e291b97631cb_rle_crop_3885155115_0.png', 1372484220: '1752766805_311529_1372482845_9cdb313ad272b13108d59e7886837f99_rle_crop_3885156587_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/1ebcf59862c1136a9f479b262a19e3e9_10918495.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/daaf80464a91e7023e2645a724a50ec1_3038766.png change filename to text .imagette250335571752766979/ imagette250335571752766979/1752766446_290976_1372481525_fe58eb6de6df11457b49b77d60ee830f_rle_crop_3885135356_0.png.png imagette250335571752766979/1752766805_311529_1372482845_9cdb313ad272b13108d59e7886837f99_rle_crop_3885156587_0.png.png imagette250335571752766979/1752766686_302767_1372481847_5c3290b7831abbef7484e291b97631cb_rle_crop_3885155115_0.png.png imagette250335581752766980/ imagette250335591752766980/ imagette250335601752766980/ imagette250335611752766980/ imagette250335631752766980/ imagette250335541752766980/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/16d8213e342be9d5604e581d127e822e_2163037.png imagette250335571752766979 25033558 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=25033558 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250335581752766980 25033559 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=25033559 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250335591752766980 25033560 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=25033560 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250335601752766980 25033561 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=25033561 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250335611752766980 25033563 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=25033563 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250335631752766980 25033554 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=25033554 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250335541752766980 25033562 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=25033562 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1372483221: '1752766646_652334_1372481577_54c29b3883d53d63a8714a4148199204_rle_crop_3885152280_0.png'} change filename to text .imagette250335621752766980/ imagette250335621752766980/1752766646_652334_1372481577_54c29b3883d53d63a8714a4148199204_rle_crop_3885152280_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/63f99e821154698629ff93ecb0fde84c_62762431.png imagette250335621752766980 25033564 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=25033564 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1372484678: '1752766888_659765_1372482199_ebc3990fcfcd61fc3517d28a7c87085d_rle_crop_3885163838_0.png', 1372484121: '1752766767_655499_1372481649_7118971ca26b385f85d1ba6fe833fee0_rle_crop_3885155304_0.png', 1372484123: '1752766767_655499_1372481646_ccfcabc13bd7655e2fa0b72435f4f481_rle_crop_3885155314_0.png', 1372484126: '1752766767_655499_1372481644_6a143411fa6d812e8ff8f26097d50803_rle_crop_3885155325_0.png', 1372484129: '1752766767_655499_1372481641_e39fc4e9b6436f9adff24488b45ed732_rle_crop_3885155337_0.png', 1372484131: '1752766767_655499_1372481638_90abdcbe035263d7f99f0f4f1abb0437_rle_crop_3885155350_0.png', 1372484203: '1752766805_311529_1372482845_9cdb313ad272b13108d59e7886837f99_rle_crop_3885156591_0.png', 1372484205: '1752766805_311529_1372482803_438fe84614fdef6fd5b64c522e5145d1_rle_crop_3885156603_0.png', 1372484207: '1752766805_311529_1372482766_5c8355f1925c405310115910c48f4a2b_rle_crop_3885156625_0.png', 1372484209: '1752766805_311529_1372482718_b83c97ae12cb91cd99e1cf3c9c763b8a_rle_crop_3885156638_0.png', 1372484212: '1752766805_311529_1372482652_e99e9ecfcd4260e630343203f6b9eccc_rle_crop_3885156697_0.png', 1372484214: '1752766805_311529_1372482591_f40f2310ab35dcfb5c09e61038f4f194_rle_crop_3885156708_0.png', 1372484118: '1752766767_655499_1372481652_b1ce4f74f73ed47445af288a42671094_rle_crop_3885155291_0.png', 1372484681: '1752766888_659765_1372482160_ae4a4a825125e3d4655bc1ecacf58985_rle_crop_3885163850_0.png', 1372484684: '1752766888_659765_1372482117_522041d022bfee3c456834eae2e44bdc_rle_crop_3885163862_0.png', 1372484687: '1752766888_659765_1372482085_cfbc396d7d7d9aeccf6e952fac5c8c3a_rle_crop_3885163875_0.png', 1372484692: '1752766888_659765_1372482065_cb4f093df1ed3eadd5ce009de5aaa0a3_rle_crop_3885163885_0.png', 1372484696: '1752766888_659765_1372482063_6d66bdf98cdf787016840f65eb92d0eb_rle_crop_3885163897_0.png', 1372485025: '1752766927_316102_1372483978_759301f583083a7c797ba07966a64893_rle_crop_3885166875_0.png', 1372485028: '1752766927_316102_1372483916_94f28c5113252dd2c36aa0e74753b6ba_rle_crop_3885167141_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/6bd46457ceaf607201b48f66f7dafcbf_75261739.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/74ead00eea6c1d4911470438b448adff_42101463.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/1d7ea5a08b1cfe1eb299e16f8fb67149_40995605.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/b91bdbc25dda189dcad65bb2d2e3af55_12709082.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/318925cf6278e19391b22c8d2b2e40e8_18696673.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/4cc7a84d6b30c71a97978d1fcb321bb9_49241414.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/9da23e2233d587cd80b030db88fc9272_3571729.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/1eb51f0c1de0eeb7966f93bc44056c79_63609264.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/0a6323703faa95fabb8dbf8f07fa7626_65275669.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/f9a069f96fe297be64ac0f487e893095_35095869.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/bf539c892c01a4d1a8e62a7b616e00a5_30977802.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/1ab156a2db196585efbda9f13fa281dc_70600856.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/5c0f6f0ec3cc5389edf0606aeaa8fb39_65517486.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/af7d0aed82b457ab8b2cb09d0c36b5d6_72392297.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/85c6550937b3f03827be06c5279fbc20_90185310.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/d63114d2680e4a2809df72a87b25f7aa_82048352.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/a6a9628a73464932c9d2520012e4ad3f_54849173.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/d5b3d998ae93aa6860d8e5355be41bb1_38567607.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/433e40e376272ef626dbf2cf9abeb58f_47354115.png change filename to text .imagette250335641752766980/ imagette250335641752766980/1752766767_655499_1372481646_ccfcabc13bd7655e2fa0b72435f4f481_rle_crop_3885155314_0.png.png imagette250335641752766980/1752766888_659765_1372482160_ae4a4a825125e3d4655bc1ecacf58985_rle_crop_3885163850_0.png.png imagette250335641752766980/1752766767_655499_1372481641_e39fc4e9b6436f9adff24488b45ed732_rle_crop_3885155337_0.png.png imagette250335641752766980/1752766767_655499_1372481644_6a143411fa6d812e8ff8f26097d50803_rle_crop_3885155325_0.png.png imagette250335641752766980/1752766805_311529_1372482718_b83c97ae12cb91cd99e1cf3c9c763b8a_rle_crop_3885156638_0.png.png imagette250335641752766980/1752766888_659765_1372482085_cfbc396d7d7d9aeccf6e952fac5c8c3a_rle_crop_3885163875_0.png.png imagette250335641752766980/1752766767_655499_1372481638_90abdcbe035263d7f99f0f4f1abb0437_rle_crop_3885155350_0.png.png imagette250335641752766980/1752766805_311529_1372482803_438fe84614fdef6fd5b64c522e5145d1_rle_crop_3885156603_0.png.png imagette250335641752766980/1752766888_659765_1372482199_ebc3990fcfcd61fc3517d28a7c87085d_rle_crop_3885163838_0.png.png imagette250335641752766980/1752766888_659765_1372482117_522041d022bfee3c456834eae2e44bdc_rle_crop_3885163862_0.png.png imagette250335641752766980/1752766805_311529_1372482591_f40f2310ab35dcfb5c09e61038f4f194_rle_crop_3885156708_0.png.png imagette250335641752766980/1752766805_311529_1372482766_5c8355f1925c405310115910c48f4a2b_rle_crop_3885156625_0.png.png imagette250335641752766980/1752766927_316102_1372483916_94f28c5113252dd2c36aa0e74753b6ba_rle_crop_3885167141_0.png.png imagette250335641752766980/1752766767_655499_1372481649_7118971ca26b385f85d1ba6fe833fee0_rle_crop_3885155304_0.png.png imagette250335641752766980/1752766927_316102_1372483978_759301f583083a7c797ba07966a64893_rle_crop_3885166875_0.png.png imagette250335641752766980/1752766767_655499_1372481652_b1ce4f74f73ed47445af288a42671094_rle_crop_3885155291_0.png.png imagette250335641752766980/1752766888_659765_1372482065_cb4f093df1ed3eadd5ce009de5aaa0a3_rle_crop_3885163885_0.png.png imagette250335641752766980/1752766888_659765_1372482063_6d66bdf98cdf787016840f65eb92d0eb_rle_crop_3885163897_0.png.png imagette250335641752766980/1752766805_311529_1372482845_9cdb313ad272b13108d59e7886837f99_rle_crop_3885156591_0.png.png imagette250335641752766980/1752766805_311529_1372482652_e99e9ecfcd4260e630343203f6b9eccc_rle_crop_3885156697_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/fc7c5d53a79919674ebfd7d60b4a4a38_1318655.png imagette250335641752766980 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25033517 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25033565,25033566,25033567,25033568,25033569,25033570,25033571,25033572,25033573,25033574,25033575,25033576?tags=cartonnette,Carton_gris,environnement,papier,plastique,flou,metal,autre_refus,mal_croppe,Carton_brun,kraft,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1372484379] : ('0.0213754570303428',) no score found for photo 1372484379 We are sending mail with results at report@fotonower.com args[1372484354] : ('0.0213754570303428',) no score found for photo 1372484354 We are sending mail with results at report@fotonower.com args[1372484335] : ('0.0213754570303428',) no score found for photo 1372484335 We are sending mail with results at report@fotonower.com args[1372484315] : ('0.0213754570303428',) no score found for photo 1372484315 We are sending mail with results at report@fotonower.com args[1372484295] : ('0.0213754570303428',) no score found for photo 1372484295 We are sending mail with results at report@fotonower.com args[1372484274] : ('0.0213754570303428',) no score found for photo 1372484274 We are sending mail with results at report@fotonower.com args[1372484181] : ('0.0213754570303428',) no score found for photo 1372484181 We are sending mail with results at report@fotonower.com args[1372484179] : ('0.0213754570303428',) no score found for photo 1372484179 We are sending mail with results at report@fotonower.com args[1372484173] : ('0.0213754570303428',) no score found for photo 1372484173 We are sending mail with results at report@fotonower.com args[1372484147] : ('0.0213754570303428',) no score found for photo 1372484147 We are sending mail with results at report@fotonower.com args[1372484119] : ('0.0213754570303428',) no score found for photo 1372484119 We are sending mail with results at report@fotonower.com args[1372484100] : ('0.0213754570303428',) no score found for photo 1372484100 We are sending mail with results at report@fotonower.com refus_total : 0.0213754570303428 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=25033517 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_P25033517_17-07-2025_17_42_59.pdf results_Auto_P25033517_17-07-2025_17_42_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033517_17-07-2025_17_42_59.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','25033517','results_Auto_P25033517_17-07-2025_17_42_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033517_17-07-2025_17_42_59.pdf','pdf','','0.18','0.0213754570303428') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25033517]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100] map_info['map_portfolio_photo'] : {25033517: [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100, 1372483978, 1372483916, 1372483872, 1372483854, 1372483845, 1372483832, 1372483411, 1372483383, 1372483343, 1372483315, 1372483289, 1372483237, 1372482845, 1372482803, 1372482766, 1372482718, 1372482652, 1372482591, 1372482199, 1372482160, 1372482117, 1372482085, 1372482065, 1372482063, 1372481940, 1372481915, 1372481892, 1372481872, 1372481847, 1372481821, 1372481652, 1372481649, 1372481646, 1372481644, 1372481641, 1372481638, 1372481626, 1372481624, 1372481622, 1372481620, 1372481617, 1372481615, 1372481585, 1372481583, 1372481582, 1372481581, 1372481579, 1372481577, 1372481562, 1372481553, 1372481546, 1372481539, 1372481525, 1372481520]} final : False mtd_id 4302 list_pids : [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100] 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, '3303644') ('4302', '25033517', '1372484379', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484354', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484335', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484315', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484295', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484274', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484181', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484179', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484173', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484147', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484119', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484100', None, None, None, None, None, '3303644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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', '25033517', '1372484379', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484354', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484335', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484315', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484295', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484274', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484181', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484179', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484173', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484147', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484119', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484100', None, None, None, None, None, '3303644')] time used for this insertion : 0.014199018478393555 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.2590584754943848 time spend to save output : 0.014417409896850586 total time spend for step 4 : 3.2734758853912354 step5:split_time_score Thu Jul 17 17:43:02 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 : ['25033517'] 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 : [('25033517',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25033517) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1372484100: {'path': 'temp/1752766979_864972_1372484100_cb80aee36fb2525bbaf77fcbc4a70f4e.jpg', 'extension': 'jpg'}, 1372484119: {'path': 'temp/1752766979_864972_1372484119_f3a7be1486159fa1c4803a901cb021d2.jpg', 'extension': 'jpg'}, 1372484147: {'path': 'temp/1752766979_864972_1372484147_240a926a9d9041bb00ab2f0bc8a5255b.jpg', 'extension': 'jpg'}, 1372484274: {'path': 'temp/1752766979_864972_1372484274_4a5871c736ad52930fbe0caff38a9a4d.jpg', 'extension': 'jpg'}, 1372484295: {'path': 'temp/1752766979_864972_1372484295_f6554a5333de3243f3f42addaa7fb8b4.jpg', 'extension': 'jpg'}, 1372484315: {'path': 'temp/1752766979_864972_1372484315_ec8bb3ec0b44d274244187c0c0820bb1.jpg', 'extension': 'jpg'}, 1372484335: {'path': 'temp/1752766979_864972_1372484335_83d5959304f02743749071106dcfdf5f.jpg', 'extension': 'jpg'}, 1372484354: {'path': 'temp/1752766979_864972_1372484354_fcb8a212e11e7edfb2f426e88fece1d6.jpg', 'extension': 'jpg'}, 1372484379: {'path': 'temp/1752766979_864972_1372484379_8e1751bd9b4b0ddfa5c68c57712b7b88.jpg', 'extension': 'jpg'}, 1372484173: {'path': 'temp/1752766979_864972_1372484173_1c2d7019669f8e892b9860151dbe1319.jpg', 'extension': 'jpg'}, 1372484179: {'path': 'temp/1752766979_864972_1372484179_56ce5f2311dfd2a13b76364f60ac0a7c.jpg', 'extension': 'jpg'}, 1372484181: {'path': 'temp/1752766979_864972_1372484181_713e3fd370f4b879e535ba5ece830dce.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 = 25033517; (('arc_en_ciel_jrm_live',), ('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 = 25033517 group by h (('17', 66),) 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=25033517 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 (25033517) 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 (25033517) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17072025 25033517 Nombre de photos uploadées : 66 / 23040 (0%) 17072025 25033517 Nombre de photos taguées (types de déchets): 0 / 66 (0%) 17072025 25033517 Nombre de photos taguées (volume) : 0 / 66 (0%) [{'photo_id': 1372481562, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/d49928820cec2df7863013cb55e53e21.jpg', 'username': None, 'uploaded_at': 1752766263, 'text': 'image_17072025_17_30_04_010164m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1372481553, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/64b00764c8f1951f0f5ecb8987f3d9b4.jpg', 'username': None, 'uploaded_at': 1752766263, 'text': 'image_17072025_17_30_14_010135m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1372481546, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/6b6c70d65c19a08564c9e60798bb0346.jpg', 'username': None, 'uploaded_at': 1752766263, 'text': 'image_17072025_17_30_24_009127m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1372481539, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/998ce7897bad338075d3460e6314f675.jpg', 'username': None, 'uploaded_at': 1752766263, 'text': 'image_17072025_17_30_34_010133m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ?????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0028533935546875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25033517, '2025-07-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1984281,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.025745868682861328 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= 1984281 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008147, 'dashboard_result_id': 12665553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008147_17-07-2025_10_22_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009992, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008149, 'dashboard_result_id': 12665554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008149_17-07-2025_10_23_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010053, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008152, 'dashboard_result_id': 12665555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008152_17-07-2025_10_22_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009944, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008154, 'dashboard_result_id': 12665556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008154_17-07-2025_10_20_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009839, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008157, 'dashboard_result_id': 12665557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008157_17-07-2025_10_21_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009919, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008161, 'dashboard_result_id': 12665558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008161_17-07-2025_10_20_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009759, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008164, 'dashboard_result_id': 12665559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008164_17-07-2025_10_03_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008454, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008167, 'dashboard_result_id': 12665560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008167_17-07-2025_10_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008434, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008172, 'dashboard_result_id': 12665561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008172_17-07-2025_10_19_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25009718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009729, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008200, 'dashboard_result_id': 12665562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008200_17-07-2025_10_18_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009652, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008205, 'dashboard_result_id': 12665563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008205_17-07-2025_10_16_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009505, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008210, 'dashboard_result_id': 12665564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008210_17-07-2025_10_18_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009602, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008214, 'dashboard_result_id': 12665565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008214_17-07-2025_10_16_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009433, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008219, 'dashboard_result_id': 12665566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008219_17-07-2025_10_14_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009319, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008222, 'dashboard_result_id': 12665567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008222_17-07-2025_10_15_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009406, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008227, 'dashboard_result_id': 12665568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008227_17-07-2025_10_14_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009291, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008232, 'dashboard_result_id': 12665569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008232_17-07-2025_10_12_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009208, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008260, 'dashboard_result_id': 12665570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008260_17-07-2025_10_13_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009265, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008264, 'dashboard_result_id': 12665571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008264_17-07-2025_10_12_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009155, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008267, 'dashboard_result_id': 12665572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008267_17-07-2025_10_11_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009037, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008270, 'dashboard_result_id': 12665573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008270_17-07-2025_10_11_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25009110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009121, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008274, 'dashboard_result_id': 12665574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008274_17-07-2025_10_10_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008960, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008277, 'dashboard_result_id': 12665575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008277_17-07-2025_10_08_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008836, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008280, 'dashboard_result_id': 12665576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008280_17-07-2025_10_09_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008930, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008287, 'dashboard_result_id': 12665577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008287_17-07-2025_10_08_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008808, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008303, 'dashboard_result_id': 12665579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008303_17-07-2025_10_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008678, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008322, 'dashboard_result_id': 12665580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008322_17-07-2025_10_07_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008779, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008356, 'dashboard_result_id': 12665582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008356_17-07-2025_10_06_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25008613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008624, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008391, 'dashboard_result_id': 12665583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008391_17-07-2025_10_05_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25008583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008594, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008413, 'dashboard_result_id': 12665584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008413_17-07-2025_10_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25008511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008522, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25002203, 'dashboard_result_id': 12665586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002203_17-07-2025_08_29_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002260, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25002075, 'dashboard_result_id': 12665587, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002075_17-07-2025_08_28_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25002145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002156, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25002077, 'dashboard_result_id': 12665588, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002077_17-07-2025_08_27_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002093, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25002079, 'dashboard_result_id': 12665590, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002079_17-07-2025_08_31_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002125, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25002443, 'dashboard_result_id': 12665591, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002443_17-07-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002494, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25003434, 'dashboard_result_id': 12665592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25003434_17-07-2025_09_00_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25003501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25003502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25003503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25003504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25003505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25003506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25003507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25003508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25003509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25003510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25003511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25003512, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25004439, 'dashboard_result_id': 12665593, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004439_17-07-2025_09_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25004449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25004450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25004451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25004452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25004453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25004454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25004455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25004456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25004457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25004458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25004459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25004460, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25005719, 'dashboard_result_id': 12665594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25005719_17-07-2025_09_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25005772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25005773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25005774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25005775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25005776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25005778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25005779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25005780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25005781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25005782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25005783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25005784, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25006846, 'dashboard_result_id': 12665595, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006846_17-07-2025_09_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25006932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25006933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25006934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25006935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25006936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25006937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25006938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25006939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25006940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25006941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25006942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25006943, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25007701, 'dashboard_result_id': 12665596, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25007701_17-07-2025_10_00_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25007732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25007733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25007734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25007735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25007736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25007737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25007738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25007739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25007740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25007741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25007742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25007743, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25008283, 'dashboard_result_id': 12665597, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008283_17-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008334, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25009518, 'dashboard_result_id': 12665598, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25009518_17-07-2025_10_33_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009569, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25010387, 'dashboard_result_id': 12665599, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010387_17-07-2025_10_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010432, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25011137, 'dashboard_result_id': 12665600, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011137_17-07-2025_11_00_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25011160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011167, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25011663, 'dashboard_result_id': 12665601, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011663_17-07-2025_11_17_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25011683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011694, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25012433, 'dashboard_result_id': 12665602, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25012433_17-07-2025_11_31_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25012455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25012456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25012457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25012458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25012459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25012460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25012461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25012462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25012463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25012464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25012466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25012467, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25013051, 'dashboard_result_id': 12665603, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013051_17-07-2025_11_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25013070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013082, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25013653, 'dashboard_result_id': 12665604, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013653_17-07-2025_12_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25013686, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25014147, 'dashboard_result_id': 12665605, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014147_17-07-2025_12_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014176, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25014813, 'dashboard_result_id': 12665606, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014813_17-07-2025_12_33_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014845, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25015429, 'dashboard_result_id': 12665607, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015429_17-07-2025_12_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25015437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25015438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25015439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25015440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25015441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25015442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25015443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25015444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25015445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25015446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25015447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25015448, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25016032, 'dashboard_result_id': 12665608, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016032_17-07-2025_13_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25016061, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25016560, 'dashboard_result_id': 12665609, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016560_17-07-2025_13_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25016574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016586, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25017204, 'dashboard_result_id': 12665610, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017235, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25017739, 'dashboard_result_id': 12665611, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017739_17-07-2025_13_47_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017784, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25018442, 'dashboard_result_id': 12665612, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25018442_17-07-2025_14_00_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25018460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25018461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25018463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25018464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25018465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25018466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25018467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25018468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25018469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25018470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25018471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25018472, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25019060, 'dashboard_result_id': 12665613, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25019060_17-07-2025_14_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25019090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25019091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25019092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25019093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25019094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25019095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25019096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25019097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25019098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25019099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25019100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25019101, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25019984, 'dashboard_result_id': 12665614, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25019984_17-07-2025_14_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25020012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25020013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25020014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25020015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25020016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25020017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25020018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25020019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25020020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25020021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25020022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25020023, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25020566, 'dashboard_result_id': 12665615, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25020566_17-07-2025_14_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25020633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25020634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25020635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25020636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25020637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25020638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25020639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25020640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25020641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25020642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25020643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25020644, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25021999, 'dashboard_result_id': 12665616, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25021999_17-07-2025_15_27_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25022031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25022032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25022033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25022034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25022035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25022036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25022037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25022038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25022039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25022041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25022042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25022043, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25023382, 'dashboard_result_id': 12665617, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25023382_17-07-2025_15_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25023387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25023388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25023389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25023390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25023391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25023392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25023393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25023394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25023395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25023396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25023397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25023398, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25025148, 'dashboard_result_id': 12665618, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25025148_17-07-2025_15_33_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25025193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25025194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25025195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25025196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25025197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25025198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25025199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25025200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25025201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25025202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25025203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25025204, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25026217, 'dashboard_result_id': 12665619, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026217_17-07-2025_15_47_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25026269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25026271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25026272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25026274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25026276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25026277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25026279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25026281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25026282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25026284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25026286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25026288, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25027283, 'dashboard_result_id': 12665620, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25027283_17-07-2025_15_59_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25027289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25027290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25027291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25027292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25027293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25027294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25027295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25027296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25027297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25027298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25027299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25027300, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25031372, 'dashboard_result_id': 12665621, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25031372_17-07-2025_17_03_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25031419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25031421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25031422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25031424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25031426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25031427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25031429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25031430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25031431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25031433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25031434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25031436, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25032250, 'dashboard_result_id': 12665622, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25032250_17-07-2025_17_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25032281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25032282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25032283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25032284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25032285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25032286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25032287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25032288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25032289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25032290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25032291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25032292, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25033006, 'dashboard_result_id': 12665623, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033006_17-07-2025_17_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25033023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25033024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25033025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25033026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25033027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25033028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25033029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25033030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25033032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25033033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25033035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25033037, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1993276, 'mtr_portfolio_id': 25033517, 'dashboard_result_id': 12665624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033517_17-07-2025_17_39_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25033553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25033554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25033555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25033556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25033557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25033558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25033559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25033560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25033561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25033562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25033563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25033564, '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 = 25008147 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 = 25008147 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 = 25008147 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008147 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 = 25008147 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 = 25008147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008147_17-07-2025_10_22_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008147 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008147_17-07-2025_10_22_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009992, 'pht': 3726}}" where mtr_portfolio_id = 25008147 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008149 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 = 25008149 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 = 25008149 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008149 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 = 25008149 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 = 25008149 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008149_17-07-2025_10_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008149 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008149_17-07-2025_10_23_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010053, 'pht': 3726}}" where mtr_portfolio_id = 25008149 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008152 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 = 25008152 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 = 25008152 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008152 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 = 25008152 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 = 25008152 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008152_17-07-2025_10_22_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008152 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008152_17-07-2025_10_22_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009944, 'pht': 3726}}" where mtr_portfolio_id = 25008152 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008154 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 = 25008154 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 = 25008154 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008154 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 = 25008154 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 = 25008154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008154_17-07-2025_10_20_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008154_17-07-2025_10_20_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009839, 'pht': 3726}}" where mtr_portfolio_id = 25008154 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008157 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 = 25008157 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 = 25008157 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008157 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 = 25008157 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 = 25008157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008157_17-07-2025_10_21_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008157_17-07-2025_10_21_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009919, 'pht': 3726}}" where mtr_portfolio_id = 25008157 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008161 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 = 25008161 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 = 25008161 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008161 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 = 25008161 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 = 25008161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008161_17-07-2025_10_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008161 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008161_17-07-2025_10_20_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009759, 'pht': 3726}}" where mtr_portfolio_id = 25008161 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008164 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 = 25008164 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 = 25008164 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008164 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 = 25008164 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 = 25008164 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008164_17-07-2025_10_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008164 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008164_17-07-2025_10_03_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008454, 'pht': 3726}}" where mtr_portfolio_id = 25008164 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008167 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 = 25008167 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 = 25008167 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008167 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 = 25008167 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 = 25008167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008167_17-07-2025_10_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008167_17-07-2025_10_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008434, 'pht': 3726}}" where mtr_portfolio_id = 25008167 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008172 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 = 25008172 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 = 25008172 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008172 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 = 25008172 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 = 25008172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008172_17-07-2025_10_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008172 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008172_17-07-2025_10_19_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25009718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009729, 'pht': 3726}}" where mtr_portfolio_id = 25008172 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008200 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 = 25008200 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 = 25008200 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008200 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 = 25008200 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 = 25008200 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008200_17-07-2025_10_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008200 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008200_17-07-2025_10_18_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009652, 'pht': 3726}}" where mtr_portfolio_id = 25008200 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008205 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 = 25008205 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 = 25008205 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008205 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 = 25008205 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 = 25008205 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008205_17-07-2025_10_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008205 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008205_17-07-2025_10_16_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009505, 'pht': 3726}}" where mtr_portfolio_id = 25008205 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008210 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 = 25008210 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 = 25008210 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008210 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 = 25008210 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 = 25008210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008210_17-07-2025_10_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008210_17-07-2025_10_18_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009602, 'pht': 3726}}" where mtr_portfolio_id = 25008210 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008214 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 = 25008214 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 = 25008214 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008214 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 = 25008214 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 = 25008214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008214_17-07-2025_10_16_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008214_17-07-2025_10_16_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009433, 'pht': 3726}}" where mtr_portfolio_id = 25008214 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008219 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 = 25008219 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 = 25008219 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008219 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 = 25008219 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 = 25008219 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008219_17-07-2025_10_14_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008219 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008219_17-07-2025_10_14_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009319, 'pht': 3726}}" where mtr_portfolio_id = 25008219 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008222 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 = 25008222 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 = 25008222 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008222 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 = 25008222 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 = 25008222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008222_17-07-2025_10_15_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008222_17-07-2025_10_15_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009406, 'pht': 3726}}" where mtr_portfolio_id = 25008222 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008227 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 = 25008227 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 = 25008227 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008227 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 = 25008227 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 = 25008227 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008227_17-07-2025_10_14_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008227 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008227_17-07-2025_10_14_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009291, 'pht': 3726}}" where mtr_portfolio_id = 25008227 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008232 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 = 25008232 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 = 25008232 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008232 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 = 25008232 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 = 25008232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008232_17-07-2025_10_12_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008232_17-07-2025_10_12_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009208, 'pht': 3726}}" where mtr_portfolio_id = 25008232 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008260 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 = 25008260 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 = 25008260 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008260 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 = 25008260 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 = 25008260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008260_17-07-2025_10_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008260_17-07-2025_10_13_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009265, 'pht': 3726}}" where mtr_portfolio_id = 25008260 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008264 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 = 25008264 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 = 25008264 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008264 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 = 25008264 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 = 25008264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008264_17-07-2025_10_12_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008264_17-07-2025_10_12_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009155, 'pht': 3726}}" where mtr_portfolio_id = 25008264 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008267 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 = 25008267 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 = 25008267 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008267 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 = 25008267 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 = 25008267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008267_17-07-2025_10_11_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008267_17-07-2025_10_11_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009037, 'pht': 3726}}" where mtr_portfolio_id = 25008267 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008270 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 = 25008270 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 = 25008270 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008270 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 = 25008270 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 = 25008270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008270_17-07-2025_10_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008270_17-07-2025_10_11_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25009110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009121, 'pht': 3726}}" where mtr_portfolio_id = 25008270 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008274 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 = 25008274 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 = 25008274 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008274 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 = 25008274 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 = 25008274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008274_17-07-2025_10_10_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008274 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008274_17-07-2025_10_10_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008960, 'pht': 3726}}" where mtr_portfolio_id = 25008274 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008277 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 = 25008277 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 = 25008277 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008277 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 = 25008277 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 = 25008277 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008277_17-07-2025_10_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008277 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008277_17-07-2025_10_08_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008836, 'pht': 3726}}" where mtr_portfolio_id = 25008277 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008280 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 = 25008280 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 = 25008280 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008280 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 = 25008280 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 = 25008280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008280_17-07-2025_10_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008280_17-07-2025_10_09_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008930, 'pht': 3726}}" where mtr_portfolio_id = 25008280 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008287 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 = 25008287 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 = 25008287 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008287 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 = 25008287 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 = 25008287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008287_17-07-2025_10_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008287_17-07-2025_10_08_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008808, 'pht': 3726}}" where mtr_portfolio_id = 25008287 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008303 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 = 25008303 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 = 25008303 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008303 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 = 25008303 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 = 25008303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008303_17-07-2025_10_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008303_17-07-2025_10_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008678, 'pht': 3726}}" where mtr_portfolio_id = 25008303 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008322 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 = 25008322 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 = 25008322 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008322 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 = 25008322 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 = 25008322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008322_17-07-2025_10_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008322_17-07-2025_10_07_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008779, 'pht': 3726}}" where mtr_portfolio_id = 25008322 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008356 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 = 25008356 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 = 25008356 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008356 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 = 25008356 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 = 25008356 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008356_17-07-2025_10_06_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008356 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008356_17-07-2025_10_06_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25008613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008624, 'pht': 3726}}" where mtr_portfolio_id = 25008356 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008391 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 = 25008391 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 = 25008391 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008391 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 = 25008391 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 = 25008391 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008391_17-07-2025_10_05_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008391 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008391_17-07-2025_10_05_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25008583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008594, 'pht': 3726}}" where mtr_portfolio_id = 25008391 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008413 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 = 25008413 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 = 25008413 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008413 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 = 25008413 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 = 25008413 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008413_17-07-2025_10_04_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008413 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008413_17-07-2025_10_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25008511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008522, 'pht': 3726}}" where mtr_portfolio_id = 25008413 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002203 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 = 25002203 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 = 25002203 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002203 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 = 25002203 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 = 25002203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002203_17-07-2025_08_29_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002203 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002203_17-07-2025_08_29_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002260, 'pht': 3726}}" where mtr_portfolio_id = 25002203 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002075 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 = 25002075 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 = 25002075 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002075 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 = 25002075 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 = 25002075 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002075_17-07-2025_08_28_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002075 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002075_17-07-2025_08_28_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25002145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002156, 'pht': 3726}}" where mtr_portfolio_id = 25002075 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002077 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 = 25002077 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 = 25002077 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002077 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 = 25002077 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 = 25002077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002077_17-07-2025_08_27_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002077_17-07-2025_08_27_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002093, 'pht': 3726}}" where mtr_portfolio_id = 25002077 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002079 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 = 25002079 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 = 25002079 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002079 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 = 25002079 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 = 25002079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002079_17-07-2025_08_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002079 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002079_17-07-2025_08_31_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002125, 'pht': 3726}}" where mtr_portfolio_id = 25002079 and dashboard_run_id = 1993276 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002443 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3300133, 'mtr_portfolio_id': 25002443, 'created_at': datetime.datetime(2025, 7, 17, 8, 47), 'result': '0.05916591403407526', 'result_long': None, 'result_double': None}] Qualite : 0.05916591403407526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25002443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002443_17-07-2025_08_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002443_17-07-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002494, 'pht': 3726}}" where mtr_portfolio_id = 25002443 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25002443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665591, 0.05916591403407526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002443_17-07-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002494, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25003434 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3300516, 'mtr_portfolio_id': 25003434, 'created_at': datetime.datetime(2025, 7, 17, 9, 0, 57), 'result': '0.023980343794961743', 'result_long': None, 'result_double': None}] Qualite : 0.023980343794961743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25003434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25003434_17-07-2025_09_00_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25003434 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25003434_17-07-2025_09_00_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25003501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25003502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25003503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25003504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25003505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25003506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25003507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25003508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25003509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25003510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25003511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25003512, 'pht': 3726}}" where mtr_portfolio_id = 25003434 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25003434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665592, 0.023980343794961743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25003434_17-07-2025_09_00_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25003501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25003502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25003503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25003504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25003505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25003506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25003507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25003508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25003509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25003510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25003511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25003512, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25004439 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3300879, 'mtr_portfolio_id': 25004439, 'created_at': datetime.datetime(2025, 7, 17, 9, 16, 59), 'result': '0.011805915452353292', 'result_long': None, 'result_double': None}] Qualite : 0.011805915452353292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25004439 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004439_17-07-2025_09_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004439 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004439_17-07-2025_09_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25004449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25004450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25004451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25004452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25004453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25004454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25004455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25004456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25004457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25004458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25004459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25004460, 'pht': 3726}}" where mtr_portfolio_id = 25004439 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25004439 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665593, 0.011805915452353292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004439_17-07-2025_09_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25004449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25004450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25004451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25004452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25004453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25004454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25004455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25004456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25004457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25004458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25004459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25004460, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25005719 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301011, 'mtr_portfolio_id': 25005719, 'created_at': datetime.datetime(2025, 7, 17, 9, 32, 59), 'result': '0.01694796983891038', 'result_long': None, 'result_double': None}] Qualite : 0.01694796983891038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25005719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25005719_17-07-2025_09_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25005719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25005719_17-07-2025_09_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25005772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25005773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25005774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25005775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25005776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25005778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25005779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25005780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25005781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25005782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25005783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25005784, 'pht': 3726}}" where mtr_portfolio_id = 25005719 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25005719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665594, 0.01694796983891038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25005719_17-07-2025_09_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25005772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25005773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25005774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25005775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25005776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25005778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25005779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25005780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25005781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25005782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25005783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25005784, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25006846 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301126, 'mtr_portfolio_id': 25006846, 'created_at': datetime.datetime(2025, 7, 17, 9, 46, 29), 'result': '0.038287588933618305', 'result_long': None, 'result_double': None}] Qualite : 0.038287588933618305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25006846 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006846_17-07-2025_09_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006846 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006846_17-07-2025_09_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25006932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25006933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25006934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25006935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25006936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25006937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25006938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25006939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25006940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25006941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25006942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25006943, 'pht': 3726}}" where mtr_portfolio_id = 25006846 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25006846 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665595, 0.038287588933618305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006846_17-07-2025_09_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25006932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25006933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25006934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25006935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25006936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25006937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25006938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25006939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25006940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25006941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25006942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25006943, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25007701 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301228, 'mtr_portfolio_id': 25007701, 'created_at': datetime.datetime(2025, 7, 17, 10, 0, 59), 'result': '0.01982506890539096', 'result_long': None, 'result_double': None}] Qualite : 0.01982506890539096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25007701 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25007701_17-07-2025_10_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25007701 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25007701_17-07-2025_10_00_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25007732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25007733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25007734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25007735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25007736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25007737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25007738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25007739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25007740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25007741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25007742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25007743, 'pht': 3726}}" where mtr_portfolio_id = 25007701 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25007701 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665596, 0.01982506890539096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25007701_17-07-2025_10_00_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25007732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25007733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25007734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25007735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25007736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25007737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25007738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25007739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25007740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25007741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25007742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25007743, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301340, 'mtr_portfolio_id': 25008283, 'created_at': datetime.datetime(2025, 7, 17, 10, 17), 'result': '0.043391708535039736', 'result_long': None, 'result_double': None}] Qualite : 0.043391708535039736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25008283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008283_17-07-2025_10_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008283_17-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008334, 'pht': 3726}}" where mtr_portfolio_id = 25008283 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25008283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665597, 0.043391708535039736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008283_17-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008334, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25009518 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301459, 'mtr_portfolio_id': 25009518, 'created_at': datetime.datetime(2025, 7, 17, 10, 33, 33), 'result': '0.0457864050311206', 'result_long': None, 'result_double': None}] Qualite : 0.0457864050311206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25009518 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25009518_17-07-2025_10_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25009518 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25009518_17-07-2025_10_33_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009569, 'pht': 3726}}" where mtr_portfolio_id = 25009518 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25009518 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665598, 0.0457864050311206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25009518_17-07-2025_10_33_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009569, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25010387 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301552, 'mtr_portfolio_id': 25010387, 'created_at': datetime.datetime(2025, 7, 17, 10, 47, 4), 'result': '0.04088401981028928', 'result_long': None, 'result_double': None}] Qualite : 0.04088401981028928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25010387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010387_17-07-2025_10_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010387 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010387_17-07-2025_10_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010432, 'pht': 3726}}" where mtr_portfolio_id = 25010387 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25010387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665599, 0.04088401981028928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010387_17-07-2025_10_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010432, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25011137 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301629, 'mtr_portfolio_id': 25011137, 'created_at': datetime.datetime(2025, 7, 17, 11, 0, 59), 'result': '0.048123256636366386', 'result_long': None, 'result_double': None}] Qualite : 0.048123256636366386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25011137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011137_17-07-2025_11_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011137 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011137_17-07-2025_11_00_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25011160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011167, 'pht': 3726}}" where mtr_portfolio_id = 25011137 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25011137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665600, 0.048123256636366386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011137_17-07-2025_11_00_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25011160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011167, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25011663 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301695, 'mtr_portfolio_id': 25011663, 'created_at': datetime.datetime(2025, 7, 17, 11, 17, 2), 'result': '0.04866505297927631', 'result_long': None, 'result_double': None}] Qualite : 0.04866505297927631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25011663 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011663_17-07-2025_11_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011663 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011663_17-07-2025_11_17_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25011683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011694, 'pht': 3726}}" where mtr_portfolio_id = 25011663 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25011663 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665601, 0.04866505297927631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011663_17-07-2025_11_17_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25011683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011694, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25012433 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301770, 'mtr_portfolio_id': 25012433, 'created_at': datetime.datetime(2025, 7, 17, 11, 31), 'result': '0.056582050956695', 'result_long': None, 'result_double': None}] Qualite : 0.056582050956695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25012433 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25012433_17-07-2025_11_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25012433 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25012433_17-07-2025_11_31_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25012455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25012456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25012457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25012458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25012459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25012460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25012461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25012462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25012463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25012464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25012466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25012467, 'pht': 3726}}" where mtr_portfolio_id = 25012433 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25012433 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665602, 0.056582050956695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25012433_17-07-2025_11_31_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25012455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25012456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25012457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25012458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25012459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25012460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25012461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25012462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25012463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25012464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25012466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25012467, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25013051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301832, 'mtr_portfolio_id': 25013051, 'created_at': datetime.datetime(2025, 7, 17, 11, 46, 57), 'result': '0.04811564356903397', 'result_long': None, 'result_double': None}] Qualite : 0.04811564356903397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25013051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013051_17-07-2025_11_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25013051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013051_17-07-2025_11_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25013070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013082, 'pht': 3726}}" where mtr_portfolio_id = 25013051 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25013051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665603, 0.04811564356903397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013051_17-07-2025_11_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25013070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013082, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25013653 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301888, 'mtr_portfolio_id': 25013653, 'created_at': datetime.datetime(2025, 7, 17, 12, 1, 1), 'result': '0.04720228267334727', 'result_long': None, 'result_double': None}] Qualite : 0.04720228267334727 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25013653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013653_17-07-2025_12_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25013653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013653_17-07-2025_12_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25013686, 'pht': 3726}}" where mtr_portfolio_id = 25013653 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25013653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665604, 0.04720228267334727, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013653_17-07-2025_12_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25013686, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25014147 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301948, 'mtr_portfolio_id': 25014147, 'created_at': datetime.datetime(2025, 7, 17, 12, 16, 59), 'result': '0.040628211381162245', 'result_long': None, 'result_double': None}] Qualite : 0.040628211381162245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25014147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014147_17-07-2025_12_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25014147 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014147_17-07-2025_12_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014176, 'pht': 3726}}" where mtr_portfolio_id = 25014147 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25014147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665605, 0.040628211381162245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014147_17-07-2025_12_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014176, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25014813 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3301999, 'mtr_portfolio_id': 25014813, 'created_at': datetime.datetime(2025, 7, 17, 12, 33, 4), 'result': '0.041738666267357', 'result_long': None, 'result_double': None}] Qualite : 0.041738666267357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25014813 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014813_17-07-2025_12_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25014813 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014813_17-07-2025_12_33_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014845, 'pht': 3726}}" where mtr_portfolio_id = 25014813 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25014813 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665606, 0.041738666267357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014813_17-07-2025_12_33_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014845, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25015429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302073, 'mtr_portfolio_id': 25015429, 'created_at': datetime.datetime(2025, 7, 17, 12, 47), 'result': '0.04163784746174679', 'result_long': None, 'result_double': None}] Qualite : 0.04163784746174679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25015429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015429_17-07-2025_12_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015429_17-07-2025_12_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25015437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25015438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25015439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25015440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25015441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25015442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25015443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25015444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25015445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25015446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25015447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25015448, 'pht': 3726}}" where mtr_portfolio_id = 25015429 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25015429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665607, 0.04163784746174679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015429_17-07-2025_12_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25015437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25015438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25015439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25015440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25015441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25015442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25015443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25015444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25015445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25015446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25015447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25015448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25016032 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302135, 'mtr_portfolio_id': 25016032, 'created_at': datetime.datetime(2025, 7, 17, 13, 1, 1), 'result': '0.05778000443977504', 'result_long': None, 'result_double': None}] Qualite : 0.05778000443977504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25016032 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016032_17-07-2025_13_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25016032 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016032_17-07-2025_13_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25016061, 'pht': 3726}}" where mtr_portfolio_id = 25016032 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25016032 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665608, 0.05778000443977504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016032_17-07-2025_13_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25016061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25016560 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302211, 'mtr_portfolio_id': 25016560, 'created_at': datetime.datetime(2025, 7, 17, 13, 16, 59), 'result': '0.04065036524067425', 'result_long': None, 'result_double': None}] Qualite : 0.04065036524067425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25016560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016560_17-07-2025_13_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25016560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016560_17-07-2025_13_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25016574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016586, 'pht': 3726}}" where mtr_portfolio_id = 25016560 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25016560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665609, 0.04065036524067425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016560_17-07-2025_13_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25016574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016586, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25017204 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302263, 'mtr_portfolio_id': 25017204, 'created_at': datetime.datetime(2025, 7, 17, 13, 33, 34), 'result': '0.03285215299785539', 'result_long': None, 'result_double': None}] Qualite : 0.03285215299785539 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25017204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017235, 'pht': 3726}}" where mtr_portfolio_id = 25017204 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25017204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665610, 0.03285215299785539, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017235, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25017739 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302315, 'mtr_portfolio_id': 25017739, 'created_at': datetime.datetime(2025, 7, 17, 13, 47, 5), 'result': '0.0825790090310216', 'result_long': None, 'result_double': None}] Qualite : 0.0825790090310216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25017739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017739_17-07-2025_13_47_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017739 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017739_17-07-2025_13_47_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017784, 'pht': 3726}}" where mtr_portfolio_id = 25017739 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25017739 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665611, 0.0825790090310216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017739_17-07-2025_13_47_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017784, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25018442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302375, 'mtr_portfolio_id': 25018442, 'created_at': datetime.datetime(2025, 7, 17, 14, 0, 59), 'result': '0.08321080149674043', 'result_long': None, 'result_double': None}] Qualite : 0.08321080149674043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25018442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25018442_17-07-2025_14_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25018442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25018442_17-07-2025_14_00_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25018460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25018461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25018463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25018464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25018465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25018466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25018467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25018468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25018469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25018470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25018471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25018472, 'pht': 3726}}" where mtr_portfolio_id = 25018442 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25018442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665612, 0.08321080149674043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25018442_17-07-2025_14_00_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25018460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25018461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25018463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25018464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25018465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25018466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25018467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25018468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25018469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25018470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25018471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25018472, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25019060 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302441, 'mtr_portfolio_id': 25019060, 'created_at': datetime.datetime(2025, 7, 17, 14, 17, 1), 'result': '0.031737800858434084', 'result_long': None, 'result_double': None}] Qualite : 0.031737800858434084 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25019060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25019060_17-07-2025_14_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25019060 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25019060_17-07-2025_14_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25019090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25019091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25019092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25019093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25019094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25019095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25019096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25019097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25019098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25019099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25019100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25019101, 'pht': 3726}}" where mtr_portfolio_id = 25019060 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25019060 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665613, 0.031737800858434084, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25019060_17-07-2025_14_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25019090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25019091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25019092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25019093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25019094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25019095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25019096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25019097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25019098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25019099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25019100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25019101, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25019984 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302490, 'mtr_portfolio_id': 25019984, 'created_at': datetime.datetime(2025, 7, 17, 14, 33), 'result': '0.03474089469739607', 'result_long': None, 'result_double': None}] Qualite : 0.03474089469739607 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25019984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25019984_17-07-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25019984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25019984_17-07-2025_14_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25020012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25020013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25020014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25020015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25020016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25020017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25020018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25020019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25020020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25020021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25020022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25020023, 'pht': 3726}}" where mtr_portfolio_id = 25019984 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25019984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665614, 0.03474089469739607, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25019984_17-07-2025_14_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25020012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25020013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25020014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25020015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25020016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25020017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25020018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25020019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25020020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25020021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25020022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25020023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25020566 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302538, 'mtr_portfolio_id': 25020566, 'created_at': datetime.datetime(2025, 7, 17, 14, 46, 59), 'result': '0.05635011015431574', 'result_long': None, 'result_double': None}] Qualite : 0.05635011015431574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25020566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25020566_17-07-2025_14_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25020566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25020566_17-07-2025_14_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25020633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25020634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25020635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25020636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25020637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25020638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25020639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25020640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25020641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25020642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25020643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25020644, 'pht': 3726}}" where mtr_portfolio_id = 25020566 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25020566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665615, 0.05635011015431574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25020566_17-07-2025_14_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25020633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25020634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25020635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25020636, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25020637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25020638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25020639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25020640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25020641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25020642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25020643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25020644, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25021999 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302712, 'mtr_portfolio_id': 25021999, 'created_at': datetime.datetime(2025, 7, 17, 15, 27, 29), 'result': '0.04322521519118609', 'result_long': None, 'result_double': None}] Qualite : 0.04322521519118609 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25021999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25021999_17-07-2025_15_27_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25021999 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25021999_17-07-2025_15_27_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25022031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25022032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25022033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25022034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25022035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25022036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25022037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25022038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25022039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25022041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25022042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25022043, 'pht': 3726}}" where mtr_portfolio_id = 25021999 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25021999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665616, 0.04322521519118609, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25021999_17-07-2025_15_27_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25022031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25022032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25022033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25022034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25022035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25022036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25022037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25022038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25022039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25022041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25022042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25022043, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25023382 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302791, 'mtr_portfolio_id': 25023382, 'created_at': datetime.datetime(2025, 7, 17, 15, 17), 'result': '0.027607831467881504', 'result_long': None, 'result_double': None}] Qualite : 0.027607831467881504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25023382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25023382_17-07-2025_15_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25023382 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25023382_17-07-2025_15_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25023387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25023388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25023389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25023390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25023391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25023392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25023393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25023394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25023395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25023396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25023397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25023398, 'pht': 3726}}" where mtr_portfolio_id = 25023382 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25023382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665617, 0.027607831467881504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25023382_17-07-2025_15_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25023387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25023388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25023389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25023390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25023391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25023392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25023393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25023394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25023395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25023396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25023397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25023398, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25025148 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302856, 'mtr_portfolio_id': 25025148, 'created_at': datetime.datetime(2025, 7, 17, 15, 33, 33), 'result': '0.028190572620313614', 'result_long': None, 'result_double': None}] Qualite : 0.028190572620313614 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25025148 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25025148_17-07-2025_15_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25025148 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25025148_17-07-2025_15_33_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25025193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25025194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25025195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25025196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25025197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25025198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25025199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25025200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25025201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25025202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25025203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25025204, 'pht': 3726}}" where mtr_portfolio_id = 25025148 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25025148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665618, 0.028190572620313614, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25025148_17-07-2025_15_33_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25025193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25025194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25025195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25025196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25025197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25025198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25025199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25025200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25025201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25025202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25025203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25025204, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25026217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3302913, 'mtr_portfolio_id': 25026217, 'created_at': datetime.datetime(2025, 7, 17, 15, 47, 3), 'result': '0.031106441517177664', 'result_long': None, 'result_double': None}] Qualite : 0.031106441517177664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25026217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026217_17-07-2025_15_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25026217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026217_17-07-2025_15_47_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25026269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25026271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25026272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25026274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25026276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25026277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25026279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25026281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25026282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25026284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25026286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25026288, 'pht': 3726}}" where mtr_portfolio_id = 25026217 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25026217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665619, 0.031106441517177664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026217_17-07-2025_15_47_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25026269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25026271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25026272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25026274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25026276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25026277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25026279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25026281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25026282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25026284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25026286, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25026288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25027283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3303169, 'mtr_portfolio_id': 25027283, 'created_at': datetime.datetime(2025, 7, 17, 16, 3, 1), 'result': '0.0473611304044326', 'result_long': None, 'result_double': None}] Qualite : 0.0473611304044326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25027283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25027283_17-07-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25027283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25027283_17-07-2025_16_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25027289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25027290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25027291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25027292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25027293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25027294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25027295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25027296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25027297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25027298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25027299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25027300, 'pht': 3726}}" where mtr_portfolio_id = 25027283 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25027283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665620, 0.0473611304044326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25027283_17-07-2025_16_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25027289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25027290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25027291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25027292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25027293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25027294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25027295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25027296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25027297, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25027298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25027299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25027300, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25031372 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3303480, 'mtr_portfolio_id': 25031372, 'created_at': datetime.datetime(2025, 7, 17, 17, 3, 3), 'result': '0.03786367917849013', 'result_long': None, 'result_double': None}] Qualite : 0.03786367917849013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25031372 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25031372_17-07-2025_17_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25031372 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25031372_17-07-2025_17_03_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25031419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25031421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25031422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25031424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25031426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25031427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25031429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25031430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25031431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25031433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25031434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25031436, 'pht': 3726}}" where mtr_portfolio_id = 25031372 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25031372 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665621, 0.03786367917849013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25031372_17-07-2025_17_03_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25031419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25031421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25031422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25031424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25031426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25031427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25031429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25031430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25031431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25031433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25031434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25031436, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25032250 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3303540, 'mtr_portfolio_id': 25032250, 'created_at': datetime.datetime(2025, 7, 17, 17, 16, 57), 'result': '0.042393827166700086', 'result_long': None, 'result_double': None}] Qualite : 0.042393827166700086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25032250 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25032250_17-07-2025_17_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25032250 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25032250_17-07-2025_17_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25032281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25032282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25032283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25032284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25032285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25032286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25032287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25032288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25032289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25032290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25032291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25032292, 'pht': 3726}}" where mtr_portfolio_id = 25032250 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25032250 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665622, 0.042393827166700086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25032250_17-07-2025_17_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25032281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25032282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25032283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25032284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25032285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25032286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25032287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25032288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25032289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25032290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25032291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25032292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25033006 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3303587, 'mtr_portfolio_id': 25033006, 'created_at': datetime.datetime(2025, 7, 17, 17, 33), 'result': '0.04447193439785428', 'result_long': None, 'result_double': None}] Qualite : 0.04447193439785428 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25033006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033006_17-07-2025_17_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25033006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033006_17-07-2025_17_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25033023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25033024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25033025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25033026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25033027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25033028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25033029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25033030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25033032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25033033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25033035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25033037, 'pht': 3726}}" where mtr_portfolio_id = 25033006 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25033006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665623, 0.04447193439785428, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033006_17-07-2025_17_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25033023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25033024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25033025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25033026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25033027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25033028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25033029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25033030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25033032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25033033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25033035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25033037, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25033517 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3303644, 'mtr_portfolio_id': 25033517, 'created_at': datetime.datetime(2025, 7, 17, 17, 42, 59), 'result': '0.0213754570303428', 'result_long': None, 'result_double': None}] Qualite : 0.0213754570303428 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25033517 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033517_17-07-2025_17_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25033517 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033517_17-07-2025_17_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25033553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25033554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25033555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25033556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25033557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25033558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25033559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25033560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25033561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25033562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25033563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25033564, 'pht': 3726}}" where mtr_portfolio_id = 25033517 and dashboard_run_id = 1993276 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25033517 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12665624, 0.0213754570303428, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25033517_17-07-2025_17_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25033553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25033554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25033555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25033556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25033557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25033558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25033559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25033560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25033561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25033562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25033563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25033564, '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 (25008147,25008149,25008152,25008154,25008157,25008161,25008164,25008167,25008172,25008200,25008205,25008210,25008214,25008219,25008222,25008227,25008232,25008260,25008264,25008267,25008270,25008274,25008277,25008280,25008287,25008303,25008322,25008356,25008391,25008413,25002203,25002075,25002077,25002079,25002443,25003434,25004439,25005719,25006846,25007701,25008283,25009518,25010387,25011137,25011663,25012433,25013051,25013653,25014147,25014813,25015429,25016032,25016560,25017204,25017739,25018442,25019060,25019984,25020566,25021999,25023382,25025148,25026217,25027283,25031372,25032250,25033006,25033517) result : ((1372350974,), (1372350976,), (1372350978,), (1372350981,), (1372350984,), (1372350986,), (1372351019,), (1372351021,), (1372351023,), (1372351026,), (1372351028,), (1372351030,), (1372351056,), (1372351061,), (1372351065,), (1372351068,), (1372351071,), (1372351074,), (1372351097,), (1372351101,), (1372351104,), (1372351106,), (1372351110,), (1372351113,), (1372351139,), (1372351141,), (1372351144,), (1372351148,), (1372351150,), (1372351152,), (1372351181,), (1372351184,), (1372351187,), (1372351188,), (1372351190,), (1372351193,), (1372351226,), (1372351229,), (1372351231,), (1372351235,), (1372351237,), (1372351239,), (1372351261,), (1372351262,), (1372351264,), (1372351266,), (1372351268,), (1372351269,), (1372351297,), (1372351299,), (1372351302,), (1372351304,), (1372351306,), (1372351308,), (1372351329,), (1372351331,), (1372351332,), (1372351334,), (1372351335,), (1372351338,), (1372351369,), (1372351372,), (1372351374,), (1372351376,), (1372351377,), (1372351379,), (1372351401,), (1372351403,), (1372351406,), (1372351409,), (1372351411,), (1372351415,), (1372351444,), (1372351447,), (1372351449,), (1372351453,), (1372351455,), (1372351457,), (1372351531,), (1372351542,), (1372351545,), (1372351547,), (1372351549,), (1372351551,), (1372351573,), (1372351576,), (1372351578,), (1372351580,), (1372351583,), (1372351586,), (1372351609,), (1372351611,), (1372351612,), (1372351614,), (1372351615,), (1372351619,), (1372351642,), (1372351643,), (1372351647,), (1372351662,), (1372351666,), (1372351670,), (1372351688,), (1372351690,), (1372351692,), (1372351694,), (1372351696,), (1372351698,), (1372351724,), (1372351727,), (1372351730,), (1372351733,), (1372351735,), (1372351737,), (1372351761,), (1372351762,), (1372351765,), (1372351768,), (1372351770,), (1372351772,), (1372351795,), (1372351798,), (1372351801,), (1372351804,), (1372351807,), (1372351811,), (1372351831,), (1372351834,), (1372351835,), (1372351838,), (1372351840,), (1372351842,), (1372351877,), (1372351879,), (1372351880,), (1372351882,), (1372351883,), (1372351885,), (1372351913,), (1372351915,), (1372351918,), (1372351921,), (1372351923,), (1372351926,), (1372351948,), (1372351950,), (1372351954,), (1372351960,), (1372351965,), (1372351968,), (1372351995,), (1372351998,), (1372352000,), (1372352002,), (1372352004,), (1372352007,), (1372352038,), (1372352039,), (1372352041,), (1372352043,), (1372352046,), (1372352048,), (1372352068,), (1372352070,), (1372352072,), (1372352074,), (1372352077,), (1372352079,), (1372352098,), (1372352100,), (1372352103,), (1372352105,), (1372352109,), (1372352114,), (1372352143,), (1372352145,), (1372352146,), (1372352148,), (1372352150,), (1372352152,), (1372352183,), (1372352185,), (1372352188,), (1372352190,), (1372352191,), (1372352193,), (1372352223,), (1372352225,), (1372352229,), (1372352234,), (1372352235,), (1372352239,), (1372352267,), (1372352270,), (1372352272,), (1372352274,), (1372352276,), (1372352278,), (1372352303,), (1372352305,), (1372352308,), (1372352311,), (1372352314,), (1372352316,), (1372352351,), (1372352354,), (1372352357,), (1372352359,), (1372352361,), (1372352363,), (1372352390,), (1372352392,), (1372352393,), (1372352395,), (1372352397,), (1372352399,), (1372352429,), (1372352431,), (1372352433,), (1372352436,), (1372352437,), (1372352439,), (1372352466,), (1372352470,), (1372352472,), (1372352475,), (1372352478,), (1372352480,), (1372352506,), (1372352507,), (1372352509,), (1372352511,), (1372352512,), (1372352515,), (1372352547,), (1372352548,), (1372352549,), (1372352550,), (1372352551,), (1372352554,), (1372352586,), (1372352587,), (1372352589,), (1372352591,), (1372352593,), (1372352595,), (1372352620,), (1372352623,), (1372352626,), (1372352629,), (1372352631,), (1372352633,), (1372352653,), (1372352656,), (1372352657,), (1372352661,), (1372352662,), (1372352664,), (1372350406,), (1372350408,), (1372350411,), (1372350415,), (1372350418,), (1372350422,), (1372350445,), (1372350448,), (1372350450,), (1372350452,), (1372350455,), (1372350458,), (1372350477,), (1372350481,), (1372350483,), (1372350486,), (1372350491,), (1372350495,), (1372350515,), (1372350519,), (1372350522,), (1372350524,), (1372350527,), (1372350530,), (1372350555,), (1372350558,), (1372350562,), (1372350564,), (1372350567,), (1372350569,), (1372350588,), (1372350589,), (1372350592,), (1372350595,), (1372350596,), (1372350598,), (1372350617,), (1372350620,), (1372350623,), (1372350629,), (1372350632,), (1372350635,), (1372350659,), (1372350661,), (1372350663,), (1372350666,), (1372350668,), (1372350672,), (1372350698,), (1372350701,), (1372350706,), (1372350708,), (1372350710,), (1372350712,), (1372350742,), (1372350744,), (1372350746,), (1372350749,), (1372350751,), (1372350753,), (1372350777,), (1372350778,), (1372350781,), (1372350784,), (1372350786,), (1372350789,), (1372350818,), (1372350823,), (1372350827,), (1372350829,), (1372350833,), (1372350836,), (1372350852,), (1372350855,), (1372350856,), (1372350859,), (1372350862,), (1372350865,), (1372350896,), (1372350897,), (1372350900,), (1372350902,), (1372350904,), (1372350909,), (1372350934,), (1372350936,), (1372350938,), (1372350940,), (1372350942,), (1372350944,), (1372352706,), (1372352727,), (1372352731,), (1372352734,), (1372352736,), (1372352740,), (1372352785,), (1372352789,), (1372352791,), (1372352794,), (1372352795,), (1372352798,), (1372352824,), (1372352827,), (1372352830,), (1372352833,), (1372352837,), (1372352839,), (1372352899,), (1372352902,), (1372352907,), (1372352911,), (1372352916,), (1372352921,), (1372352954,), (1372352968,), (1372352971,), (1372352975,), (1372352979,), (1372352982,), (1372353112,), (1372353118,), (1372353120,), (1372353149,), (1372353178,), (1372353187,), (1372353208,), (1372353212,), (1372353214,), (1372353217,), (1372353219,), (1372353223,), (1372353305,), (1372353310,), (1372353337,), (1372353345,), (1372353347,), (1372353349,), (1372353430,), (1372353432,), (1372353434,), (1372353437,), (1372353438,), (1372353441,), (1372353469,), (1372353472,), (1372353474,), (1372353478,), (1372353479,), (1372353482,), (1372353539,), (1372353541,), (1372353545,), (1372353549,), (1372353551,), (1372353553,), (1372353608,), (1372353631,), (1372353635,), (1372353637,), (1372353640,), (1372353643,), (1372353772,), (1372353775,), (1372353784,), (1372353811,), (1372353824,), (1372353828,), (1372354106,), (1372354144,), (1372354172,), (1372354188,), (1372354210,), (1372354217,), (1372354391,), (1372354662,), (1372354666,), (1372354667,), (1372354669,), (1372354670,), (1372354675,), (1372354795,), (1372354797,), (1372354799,), (1372354802,), (1372354803,), (1372354805,), (1372354833,), (1372354836,), (1372354840,), (1372354843,), (1372354845,), (1372354847,), (1372354883,), (1372354886,), (1372354889,), (1372354892,), (1372354893,), (1372354910,), (1372354977,), (1372355023,), (1372355051,), (1372355077,), (1372355085,), (1372355088,), (1372355313,), (1372355352,), (1372355363,), (1372355373,), (1372355378,), (1372355384,), (1372355444,), (1372355453,), (1372355458,), (1372355461,), (1372355464,), (1372355467,), (1372355509,), (1372355511,), (1372355512,), (1372355514,), (1372355517,), (1372355525,), (1372355694,), (1372355696,), (1372355704,), (1372355732,), (1372355746,), (1372355749,), (1372355781,), (1372355782,), (1372355784,), (1372355786,), (1372355787,), (1372355789,), (1372355819,), (1372355821,), (1372355822,), (1372355824,), (1372355826,), (1372355828,), (1372355856,), (1372355859,), (1372355862,), (1372355866,), (1372355868,), (1372355870,), (1372356076,), (1372356103,), (1372356132,), (1372356159,), (1372356185,), (1372356213,), (1372356877,), (1372358007,), (1372358062,), (1372358118,), (1372358170,), (1372358225,), (1372358716,), (1372358747,), (1372358776,), (1372358810,), (1372358819,), (1372358854,), (1372359555,), (1372360296,), (1372360323,), (1372360352,), (1372360379,), (1372360386,), (1372360389,), (1372360623,), (1372360654,), (1372360683,), (1372360705,), (1372360750,), (1372360787,), (1372361022,), (1372361056,), (1372361084,), (1372361112,), (1372361167,), (1372361233,), (1372361804,), (1372361856,), (1372361901,), (1372361940,), (1372361987,), (1372362025,), (1372362250,), (1372362278,), (1372362297,), (1372362304,), (1372362317,), (1372362341,), (1372362907,), (1372362982,), (1372363076,), (1372363174,), (1372363282,), (1372363363,), (1372364141,), (1372364232,), (1372364310,), (1372364337,), (1372364375,), (1372364408,), (1372364847,), (1372364887,), (1372364926,), (1372364971,), (1372365026,), (1372365095,), (1372365411,), (1372365417,), (1372365429,), (1372365436,), (1372365442,), (1372365445,), (1372365767,), (1372365794,), (1372365841,), (1372365897,), (1372365968,), (1372366028,), (1372366843,), (1372366915,), (1372366990,), (1372367070,), (1372367162,), (1372367260,), (1372368221,), (1372368297,), (1372368384,), (1372368467,), (1372368567,), (1372368660,), (1372369298,), (1372369357,), (1372369404,), (1372369423,), (1372369426,), (1372369439,), (1372369733,), (1372369759,), (1372369786,), (1372369813,), (1372369839,), (1372369876,), (1372370285,), (1372370337,), (1372370387,), (1372370437,), (1372370491,), (1372370542,), (1372371155,), (1372371254,), (1372371341,), (1372371422,), (1372371499,), (1372371558,), (1372372023,), (1372372025,), (1372372027,), (1372372072,), (1372372153,), (1372372215,), (1372372612,), (1372372640,), (1372372661,), (1372372673,), (1372372722,), (1372372757,), (1372373287,), (1372373338,), (1372373398,), (1372373447,), (1372373478,), (1372373485,), (1372373630,), (1372373632,), (1372373635,), (1372373637,), (1372373656,), (1372373682,), (1372373954,), (1372373980,), (1372374007,), (1372374035,), (1372374061,), (1372374089,), (1372374662,), (1372374711,), (1372374769,), (1372374816,), (1372374857,), (1372374883,), (1372375103,), (1372375105,), (1372375129,), (1372375149,), (1372375153,), (1372375175,), (1372375210,), (1372375211,), (1372375212,), (1372375213,), (1372375215,), (1372375217,), (1372375268,), (1372375297,), (1372375322,), (1372375353,), (1372375406,), (1372375455,), (1372376155,), (1372376223,), (1372376296,), (1372376380,), (1372376453,), (1372376538,), (1372377096,), (1372377124,), (1372377144,), (1372377174,), (1372377202,), (1372377257,), (1372377424,), (1372377427,), (1372377435,), (1372377439,), (1372377442,), (1372377445,), (1372377471,), (1372377475,), (1372377479,), (1372377480,), (1372377483,), (1372377485,), (1372377518,), (1372377519,), (1372377521,), (1372377523,), (1372377524,), (1372377527,), (1372377553,), (1372377554,), (1372377558,), (1372377559,), (1372377563,), (1372377567,), (1372377602,), (1372377606,), (1372377611,), (1372377613,), (1372377628,), (1372377643,), (1372377742,), (1372377751,), (1372377764,), (1372377790,), (1372377817,), (1372377826,), (1372377938,), (1372377941,), (1372377949,), (1372377976,), (1372378000,), (1372378002,), (1372378120,), (1372378125,), (1372378128,), (1372378130,), (1372378131,), (1372378137,), (1372378167,), (1372378169,), (1372378173,), (1372378177,), (1372378178,), (1372378181,), (1372378245,), (1372378273,), (1372378309,), (1372378342,), (1372378377,), (1372378407,), (1372378694,), (1372378710,), (1372378751,), (1372378776,), (1372378779,), (1372378782,), (1372378855,), (1372378859,), (1372378862,), (1372378864,), (1372378866,), (1372378868,), (1372378890,), (1372378893,), (1372378897,), (1372378900,), (1372378902,), (1372378904,), (1372378957,), (1372378959,), (1372378961,), (1372378963,), (1372378965,), (1372378967,), (1372378995,), (1372378997,), (1372378999,), (1372379002,), (1372379003,), (1372379005,), (1372379041,), (1372379045,), (1372379048,), (1372379050,), (1372379051,), (1372379053,), (1372379083,), (1372379084,), (1372379087,), (1372379090,), (1372379092,), (1372379094,), (1372379130,), (1372379131,), (1372379134,), (1372379137,), (1372379138,), (1372379143,), (1372379170,), (1372379171,), (1372379173,), (1372379175,), (1372379176,), (1372379179,), (1372379315,), (1372379341,), (1372379368,), (1372379395,), (1372379421,), (1372379447,), (1372379599,), (1372379601,), (1372379604,), (1372379606,), (1372379608,), (1372379611,), (1372379640,), (1372379643,), (1372379645,), (1372379647,), (1372379649,), (1372379651,), (1372379680,), (1372379682,), (1372379683,), (1372379685,), (1372379687,), (1372379690,), (1372379722,), (1372379723,), (1372379725,), (1372379726,), (1372379729,), (1372379732,), (1372379768,), (1372379769,), (1372379770,), (1372379771,), (1372379772,), (1372379774,), (1372379809,), (1372379811,), (1372379813,), (1372379814,), (1372379815,), (1372379819,), (1372379850,), (1372379853,), (1372379856,), (1372379858,), (1372379859,), (1372379861,), (1372380004,), (1372380029,), (1372380060,), (1372380086,), (1372380114,), (1372380161,), (1372381349,), (1372336273,), (1372336295,), (1372336297,), (1372336298,), (1372336300,), (1372336302,), (1372336305,), (1372336321,), (1372336325,), (1372336327,), (1372336330,), (1372336333,), (1372336335,), (1372336355,), (1372336357,), (1372336359,), (1372336361,), (1372336364,), (1372336367,), (1372336394,), (1372336423,), (1372336425,), (1372336428,), (1372336430,), (1372336433,), (1372336437,), (1372336454,), (1372336458,), (1372336461,), (1372336464,), (1372336467,), (1372336470,), (1372336488,), (1372336491,), (1372336493,), (1372336495,), (1372336499,), (1372336503,), (1372336516,), (1372336518,), (1372336519,), (1372336522,), (1372336523,), (1372336527,), (1372336549,), (1372336552,), (1372336556,), (1372336557,), (1372336561,), (1372336565,), (1372336580,), (1372336582,), (1372336585,), (1372336587,), (1372336589,), (1372336592,), (1372336614,), (1372336617,), (1372336618,), (1372336620,), (1372336621,), (1372336623,), (1372336644,), (1372336647,), (1372336649,), (1372336650,), (1372336651,), (1372336653,), (1372336680,), (1372336684,), (1372336688,), (1372336690,), (1372336692,), (1372336694,), (1372336713,), (1372336716,), (1372336721,), (1372336723,), (1372336726,), (1372336729,), (1372339918,), (1372336744,), (1372336745,), (1372336746,), (1372336747,), (1372336748,), (1372336751,), (1372336773,), (1372336775,), (1372336776,), (1372336777,), (1372336779,), (1372336781,), (1372336805,), (1372336807,), (1372336808,), (1372336810,), (1372336812,), (1372336814,), (1372336835,), (1372336838,), (1372336841,), (1372336842,), (1372336844,), (1372336846,), (1372336867,), (1372336869,), (1372336871,), (1372336873,), (1372336875,), (1372336878,), (1372336901,), (1372336903,), (1372336905,), (1372336906,), (1372336908,), (1372336910,), (1372336940,), (1372336943,), (1372336945,), (1372336948,), (1372336949,), (1372336952,), (1372336969,), (1372336973,), (1372336974,), (1372336978,), (1372336981,), (1372336984,), (1372336998,), (1372337000,), (1372337002,), (1372337005,), (1372337007,), (1372337009,), (1372337027,), (1372337031,), (1372337033,), (1372337035,), (1372337038,), (1372337041,), (1372337047,), (1372337048,), (1372337050,), (1372337051,), (1372337054,), (1372337057,), (1372337083,), (1372337084,), (1372337086,), (1372337088,), (1372337090,), (1372337092,), (1372337116,), (1372337118,), (1372337120,), (1372337122,), (1372337124,), (1372337127,), (1372337148,), (1372337151,), (1372337154,), (1372337155,), (1372337157,), (1372337159,), (1372337179,), (1372337181,), (1372337182,), (1372337184,), (1372337186,), (1372337188,), (1372337209,), (1372337210,), (1372337212,), (1372337214,), (1372337215,), (1372337217,), (1372337234,), (1372337237,), (1372337240,), (1372337243,), (1372337245,), (1372337248,), (1372337264,), (1372337268,), (1372337270,), (1372337272,), (1372337274,), (1372337276,), (1372337303,), (1372337306,), (1372337307,), (1372337309,), (1372337311,), (1372337313,), (1372337330,), (1372337333,), (1372337336,), (1372337338,), (1372337340,), (1372337343,), (1372337365,), (1372337367,), (1372337370,), (1372337372,), (1372337374,), (1372337378,), (1372337395,), (1372337396,), (1372337398,), (1372337400,), (1372337402,), (1372337404,), (1372337423,), (1372337426,), (1372337429,), (1372337433,), (1372337437,), (1372337440,), (1372337458,), (1372337459,), (1372337461,), (1372337463,), (1372337467,), (1372337470,), (1372337489,), (1372337494,), (1372337496,), (1372337499,), (1372337503,), (1372337505,), (1372337526,), (1372337529,), (1372337532,), (1372337535,), (1372337537,), (1372337539,), (1372337560,), (1372337561,), (1372337564,), (1372337567,), (1372337570,), (1372337572,), (1372337589,), (1372337619,), (1372337622,), (1372337625,), (1372337626,), (1372337628,), (1372337631,), (1372337649,), (1372337653,), (1372337656,), (1372337659,), (1372337664,), (1372337667,), (1372337686,), (1372337688,), (1372337690,), (1372337691,), (1372337694,), (1372337697,), (1372337712,), (1372337715,), (1372337718,), (1372337721,), (1372337723,), (1372337728,), (1372337752,), (1372337757,), (1372337761,), (1372337763,), (1372337767,), (1372337770,), (1372337787,), (1372337792,), (1372337793,), (1372337796,), (1372337799,), (1372337801,), (1372337816,), (1372337820,), (1372337821,), (1372337826,), (1372337829,), (1372337831,), (1372337843,), (1372337845,), (1372337848,), (1372337852,), (1372337854,), (1372337857,), (1372337871,), (1372337874,), (1372337875,), (1372337877,), (1372337879,), (1372337882,), (1372337898,), (1372337901,), (1372337903,), (1372337906,), (1372337910,), (1372337913,), (1372337927,), (1372337930,), (1372337932,), (1372337937,), (1372337942,), (1372337946,), (1372337963,), (1372337965,), (1372337967,), (1372337968,), (1372337970,), (1372337972,), (1372337994,), (1372337995,), (1372337996,), (1372337997,), (1372337998,), (1372338000,), (1372338020,), (1372338022,), (1372338024,), (1372338025,), (1372338027,), (1372338030,), (1372338057,), (1372338059,), (1372338061,), (1372338062,), (1372338064,), (1372338066,), (1372338096,), (1372338100,), (1372338103,), (1372338106,), (1372338110,), (1372338114,), (1372338133,), (1372338136,), (1372338140,), (1372338143,), (1372338146,), (1372338148,), (1372338167,), (1372338169,), (1372338170,), (1372338172,), (1372338174,), (1372338176,), (1372338187,), (1372338217,), (1372338234,), (1372338236,), (1372338238,), (1372338239,), (1372338241,), (1372338244,), (1372338258,), (1372338259,), (1372338261,), (1372338263,), (1372338264,), (1372338267,), (1372338287,), (1372338291,), (1372338293,), (1372338296,), (1372338299,), (1372338301,), (1372338320,), (1372338323,), (1372338324,), (1372338328,), (1372338331,), (1372338333,), (1372338354,), (1372338379,), (1372338381,), (1372338382,), (1372338384,), (1372338387,), (1372338389,), (1372338403,), (1372338405,), (1372338407,), (1372338408,), (1372338411,), (1372338414,), (1372338433,), (1372338434,), (1372338435,), (1372338437,), (1372338439,), (1372338443,), (1372338465,), (1372338466,), (1372338467,), (1372338468,), (1372338469,), (1372338471,), (1372338497,), (1372338498,), (1372338500,), (1372338502,), (1372338504,), (1372338508,), (1372338535,), (1372338564,), (1372338566,), (1372338568,), (1372338570,), (1372338572,), (1372338575,), (1372338596,), (1372338597,), (1372338600,), (1372338603,), (1372338605,), (1372338607,), (1372338628,), (1372338630,), (1372338632,), (1372338633,), (1372338636,), (1372338638,), (1372338652,), (1372338655,), (1372338658,), (1372338659,), (1372338662,), (1372338665,), (1372338678,), (1372338680,), (1372338681,), (1372338683,), (1372338685,), (1372338687,), (1372338703,), (1372338705,), (1372338706,), (1372338708,), (1372338710,), (1372338713,), (1372338734,), (1372338738,), (1372338741,), (1372338743,), (1372338746,), (1372338749,), (1372338756,), (1372338758,), (1372338760,), (1372338761,), (1372338762,), (1372338764,), (1372338784,), (1372338787,), (1372338790,), (1372338792,), (1372338796,), (1372338798,), (1372338816,), (1372338820,), (1372338821,), (1372338824,), (1372338826,), (1372338827,), (1372338838,), (1372338841,), (1372338843,), (1372338847,), (1372338850,), (1372338853,), (1372338868,), (1372338870,), (1372338872,), (1372338873,), (1372338875,), (1372338877,), (1372338899,), (1372338901,), (1372338903,), (1372338907,), (1372338909,), (1372338911,), (1372338924,), (1372338928,), (1372338930,), (1372338933,), (1372338935,), (1372338937,), (1372338954,), (1372338957,), (1372338958,), (1372338962,), (1372338965,), (1372338968,), (1372338979,), (1372338982,), (1372338986,), (1372338989,), (1372338993,), (1372338997,), (1372339014,), (1372339018,), (1372339021,), (1372339023,), (1372339026,), (1372339029,), (1372339049,), (1372339052,), (1372339056,), (1372339058,), (1372339060,), (1372339063,), (1372339092,), (1372339093,), (1372339096,), (1372339098,), (1372339100,), (1372339103,), (1372339127,), (1372339157,), (1372339159,), (1372339160,), (1372339162,), (1372339164,), (1372339166,), (1372339180,), (1372339181,), (1372339184,), (1372339187,), (1372339189,), (1372339191,), (1372339210,), (1372339212,), (1372339213,), (1372339215,), (1372339216,), (1372339219,), (1372339244,), (1372339246,), (1372339248,), (1372339249,), (1372339251,), (1372339253,), (1372339276,), (1372339279,), (1372339281,), (1372339283,), (1372339286,), (1372339288,), (1372339306,), (1372339308,), (1372339310,), (1372339312,), (1372339314,), (1372339316,), (1372339337,), (1372339340,), (1372339343,), (1372339344,), (1372339347,), (1372339350,), (1372339369,), (1372339371,), (1372339372,), (1372339374,), (1372339376,), (1372339380,), (1372339404,), (1372339431,), (1372339432,), (1372339434,), (1372339435,), (1372339437,), (1372339440,), (1372339461,), (1372339462,), (1372339464,), (1372339466,), (1372339468,), (1372339470,), (1372339494,), (1372339496,), (1372339498,), (1372339499,), (1372339501,), (1372339504,), (1372339524,), (1372339527,), (1372339528,), (1372339531,), (1372339534,), (1372339536,), (1372339558,), (1372339560,), (1372339561,), (1372339563,), (1372339564,), (1372339567,), (1372339592,), (1372339594,), (1372339596,), (1372339597,), (1372339598,), (1372339600,), (1372339623,), (1372339625,), (1372339627,), (1372339629,), (1372339630,), (1372339633,), (1372339650,), (1372339654,), (1372339658,), (1372339660,), (1372339664,), (1372339667,), (1372339685,), (1372339686,), (1372339689,), (1372339692,), (1372339694,), (1372339697,), (1372339716,), (1372339718,), (1372339719,), (1372339722,), (1372339724,), (1372339726,), (1372339743,), (1372339745,), (1372339747,), (1372339749,), (1372339752,), (1372339754,), (1372339771,), (1372339773,), (1372339775,), (1372339777,), (1372339778,), (1372339780,), (1372339806,), (1372339808,), (1372339810,), (1372339812,), (1372339814,), (1372339816,), (1372339833,), (1372339835,), (1372339837,), (1372339838,), (1372339840,), (1372339842,), (1372339865,), (1372339899,), (1372339904,), (1372339908,), (1372339910,), (1372339914,), (1372339934,), (1372339936,), (1372339939,), (1372339941,), (1372339944,), (1372339949,), (1372339968,), (1372340003,), (1372340035,), (1372340037,), (1372340039,), (1372340042,), (1372340044,), (1372340046,), (1372340064,), (1372340065,), (1372340066,), (1372340067,), (1372340068,), (1372340070,), (1372340094,), (1372340095,), (1372340096,), (1372340097,), (1372340098,), (1372340100,), (1372340125,), (1372340126,), (1372340129,), (1372340132,), (1372340134,), (1372340136,), (1372340162,), (1372340165,), (1372340167,), (1372340169,), (1372340171,), (1372340173,), (1372340197,), (1372340199,), (1372340201,), (1372340202,), (1372340204,), (1372340207,), (1372340227,), (1372340229,), (1372340232,), (1372340235,), (1372340237,), (1372340240,), (1372340265,), (1372340267,), (1372340269,), (1372340272,), (1372340273,), (1372340275,), (1372340290,), (1372340291,), (1372340293,), (1372340295,), (1372340296,), (1372340298,), (1372340320,), (1372340322,), (1372340324,), (1372340325,), (1372340327,), (1372340329,), (1372340350,), (1372340353,), (1372340356,), (1372340358,), (1372340359,), (1372340361,), (1372347610,), (1372340374,), (1372340378,), (1372340381,), (1372340384,), (1372340387,), (1372340391,), (1372340408,), (1372340412,), (1372340416,), (1372340419,), (1372340424,), (1372340427,), (1372340449,), (1372340451,), (1372340454,), (1372340458,), (1372340462,), (1372340465,), (1372340477,), (1372340506,), (1372340510,), (1372340512,), (1372340516,), (1372340518,), (1372340520,), (1372340538,), (1372340540,), (1372340542,), (1372340544,), (1372340546,), (1372340549,), (1372340573,), (1372340576,), (1372340578,), (1372340579,), (1372340581,), (1372340583,), (1372340600,), (1372340601,), (1372340602,), (1372340603,), (1372340604,), (1372340606,), (1372340635,), (1372340638,), (1372340639,), (1372340641,), (1372340642,), (1372340644,), (1372340664,), (1372340669,), (1372340674,), (1372340676,), (1372340679,), (1372340682,), (1372340696,), (1372340698,), (1372340701,), (1372340704,), (1372340706,), (1372340710,), (1372340726,), (1372340728,), (1372340729,), (1372340731,), (1372340733,), (1372340734,), (1372340759,), (1372340761,), (1372340765,), (1372340767,), (1372340770,), (1372340772,), (1372340791,), (1372340794,), (1372340798,), (1372340799,), (1372340802,), (1372340804,), (1372340819,), (1372340820,), (1372340822,), (1372340825,), (1372340826,), (1372340828,), (1372340854,), (1372340857,), (1372340860,), (1372340862,), (1372340864,), (1372340868,), (1372340893,), (1372340896,), (1372340898,), (1372340900,), (1372340901,), (1372340904,), (1372340919,), (1372340921,), (1372340922,), (1372340924,), (1372340926,), (1372340928,), (1372340949,), (1372340951,), (1372340953,), (1372340955,), (1372340956,), (1372340958,), (1372340975,), (1372340977,), (1372340978,), (1372340980,), (1372340981,), (1372340983,), (1372340991,), (1372340995,), (1372340996,), (1372341000,), (1372341004,), (1372341008,), (1372341021,), (1372341023,), (1372341024,), (1372341026,), (1372341028,), (1372341031,), (1372341055,), (1372341059,), (1372341061,), (1372341064,), (1372341067,), (1372341068,), (1372341087,), (1372341123,), (1372341127,), (1372341130,), (1372341134,), (1372341136,), (1372341138,), (1372341154,), (1372341157,), (1372341163,), (1372341166,), (1372341171,), (1372341174,), (1372341187,), (1372341190,), (1372341192,), (1372341194,), (1372341197,), (1372341200,), (1372341216,), (1372341219,), (1372341220,), (1372341222,), (1372341224,), (1372341226,), (1372341245,), (1372341248,), (1372341250,), (1372341253,), (1372341255,), (1372341259,), (1372341274,), (1372341309,), (1372341312,), (1372341314,), (1372341316,), (1372341317,), (1372341320,), (1372341341,), (1372341342,), (1372341344,), (1372341346,), (1372341348,), (1372341351,), (1372341375,), (1372341378,), (1372341381,), (1372341383,), (1372341384,), (1372341385,), (1372341408,), (1372341411,), (1372341414,), (1372341416,), (1372341418,), (1372341420,), (1372341445,), (1372341448,), (1372341450,), (1372341451,), (1372341452,), (1372341454,), (1372341475,), (1372341478,), (1372341481,), (1372341485,), (1372341487,), (1372341489,), (1372341511,), (1372341514,), (1372341515,), (1372341518,), (1372341519,), (1372341521,), (1372341540,), (1372341542,), (1372341546,), (1372341547,), (1372341550,), (1372341551,), (1372341568,), (1372341570,), (1372341572,), (1372341573,), (1372341576,), (1372341580,), (1372341598,), (1372341600,), (1372341602,), (1372341603,), (1372341605,), (1372341606,), (1372341632,), (1372341636,), (1372341638,), (1372341640,), (1372341641,), (1372341643,), (1372341657,), (1372341660,), (1372341662,), (1372341664,), (1372341666,), (1372341667,), (1372341682,), (1372341686,), (1372341687,), (1372341691,), (1372341693,), (1372341695,), (1372341728,), (1372341731,), (1372341737,), (1372341738,), (1372341742,), (1372341746,), (1372341771,), (1372341796,), (1372341798,), (1372341801,), (1372341805,), (1372341807,), (1372341812,), (1372341825,), (1372341826,), (1372341827,), (1372341828,), (1372341830,), (1372341832,), (1372341852,), (1372341854,), (1372341855,), (1372341857,), (1372341858,), (1372341861,), (1372341884,), (1372341886,), (1372341889,), (1372341890,), (1372341893,), (1372341895,), (1372341905,), (1372341906,), (1372341907,), (1372341908,), (1372341909,), (1372341911,), (1372341927,), (1372341929,), (1372341931,), (1372341933,), (1372341935,), (1372341937,), (1372341958,), (1372341959,), (1372341961,), (1372341963,), (1372341964,), (1372341966,), (1372341994,), (1372341998,), (1372342001,), (1372342003,), (1372342005,), (1372342009,), (1372342029,), (1372342031,), (1372342033,), (1372342034,), (1372342036,), (1372342039,), (1372342060,), (1372342062,), (1372342063,), (1372342065,), (1372342067,), (1372342068,), (1372342092,), (1372342095,), (1372342097,), (1372342099,), (1372342101,), (1372342103,), (1372342118,), (1372342120,), (1372342122,), (1372342123,), (1372342125,), (1372342129,), (1372342145,), (1372342147,), (1372342150,), (1372342152,), (1372342156,), (1372342159,), (1372342182,), (1372342185,), (1372342187,), (1372342190,), (1372342195,), (1372342198,), (1372342212,), (1372342214,), (1372342216,), (1372342217,), (1372342219,), (1372342223,), (1372342246,), (1372342248,), (1372342250,), (1372342252,), (1372342253,), (1372342256,), (1372342280,), (1372342282,), (1372342284,), (1372342286,), (1372342288,), (1372342291,), (1372342314,), (1372342347,), (1372342349,), (1372342351,), (1372342352,), (1372342353,), (1372342355,), (1372342377,), (1372342379,), (1372342382,), (1372342384,), (1372342386,), (1372342387,), (1372342410,), (1372342412,), (1372342413,), (1372342415,), (1372342416,), (1372342419,), (1372342434,), (1372342435,), (1372342436,), (1372342437,), (1372342438,), (1372342440,), (1372342465,), (1372342467,), (1372342468,), (1372342470,), (1372342471,), (1372342472,), (1372342497,), (1372342500,), (1372342503,), (1372342507,), (1372342509,), (1372342511,), (1372342533,), (1372342536,), (1372342539,), (1372342540,), (1372342542,), (1372342543,), (1372342565,), (1372342566,), (1372342569,), (1372342572,), (1372342574,), (1372342576,), (1372342600,), (1372342604,), (1372342608,), (1372342611,), (1372342613,), (1372342616,), (1372342640,), (1372342668,), (1372342672,), (1372342673,), (1372342677,), (1372342679,), (1372342682,), (1372342700,), (1372342703,), (1372342705,), (1372342709,), (1372342711,), (1372342714,), (1372342734,), (1372342738,), (1372342741,), (1372342744,), (1372342748,), (1372342752,), (1372342763,), (1372342765,), (1372342766,), (1372342768,), (1372342769,), (1372342771,), (1372342791,), (1372342794,), (1372342797,), (1372342799,), (1372342801,), (1372342805,), (1372342821,), (1372342823,), (1372342824,), (1372342827,), (1372342830,), (1372342833,), (1372342854,), (1372342857,), (1372342858,), (1372342861,), (1372342863,), (1372342865,), (1372342879,), (1372342882,), (1372342885,), (1372342887,), (1372342890,), (1372342893,), (1372342912,), (1372342914,), (1372342915,), (1372342918,), (1372342919,), (1372342923,), (1372342944,), (1372342947,), (1372342949,), (1372342951,), (1372342952,), (1372342953,), (1372342975,), (1372342979,), (1372342982,), (1372342983,), (1372342985,), (1372342987,), (1372343007,), (1372343012,), (1372343015,), (1372343018,), (1372343020,), (1372343023,), (1372343041,), (1372343044,), (1372343047,), (1372343048,), (1372343050,), (1372343052,), (1372343068,), (1372343070,), (1372343071,), (1372343073,), (1372343075,), (1372343076,), (1372343106,), (1372343109,), (1372343110,), (1372343113,), (1372343115,), (1372343117,), (1372343132,), (1372343136,), (1372343138,), (1372343142,), (1372343145,), (1372343147,), (1372343168,), (1372343171,), (1372343173,), (1372343175,), (1372343178,), (1372343181,), (1372343200,), (1372343202,), (1372343204,), (1372343205,), (1372343207,), (1372343209,), (1372343226,), (1372343230,), (1372343234,), (1372343236,), (1372343239,), (1372343243,), (1372343260,), (1372343263,), (1372343266,), (1372343268,), (1372343269,), (1372343272,), (1372343292,), (1372343295,), (1372343297,), (1372343298,), (1372343299,), (1372343301,), (1372343318,), (1372343320,), (1372343321,), (1372343323,), (1372343324,), (1372343326,), (1372343342,), (1372343345,), (1372343346,), (1372343350,), (1372343352,), (1372343354,), (1372343374,), (1372343376,), (1372343377,), (1372343378,), (1372343379,), (1372343380,), (1372343402,), (1372343404,), (1372343405,), (1372343407,), (1372343409,), (1372343412,), (1372343432,), (1372343434,), (1372343435,), (1372343437,), (1372343438,), (1372343440,), (1372343454,), (1372343455,), (1372343457,), (1372343459,), (1372343461,), (1372343463,), (1372343489,), (1372343490,), (1372343492,), (1372343494,), (1372343495,), (1372343498,), (1372343520,), (1372343523,), (1372343526,), (1372343528,), (1372343531,), (1372343533,), (1372343558,), (1372343589,), (1372343592,), (1372343595,), (1372343598,), (1372343601,), (1372343618,), (1372343621,), (1372343624,), (1372343627,), (1372343629,), (1372343631,), (1372343646,), (1372343649,), (1372343652,), (1372343654,), (1372343657,), (1372343660,), (1372343675,), (1372343677,), (1372343679,), (1372343681,), (1372343684,), (1372343687,), (1372343714,), (1372343715,), (1372343717,), (1372343718,), (1372343720,), (1372343722,), (1372343751,), (1372343754,), (1372343756,), (1372343757,), (1372343758,), (1372343761,), (1372343785,), (1372343789,), (1372343791,), (1372343794,), (1372343797,), (1372343800,), (1372343821,), (1372343823,), (1372343825,), (1372343826,), (1372343827,), (1372343829,), (1372343848,), (1372343850,), (1372343853,), (1372343856,), (1372343857,), (1372343859,), (1372343881,), (1372343885,), (1372343887,), (1372343890,), (1372343892,), (1372343894,), (1372343914,), (1372343918,), (1372343921,), (1372343925,), (1372343927,), (1372343929,), (1372343954,), (1372343956,), (1372343959,), (1372343962,), (1372343963,), (1372343965,), (1372343977,), (1372344008,), (1372344038,), (1372344042,), (1372344047,), (1372344048,), (1372344051,), (1372344053,), (1372344064,), (1372344065,), (1372344067,), (1372344069,), (1372344071,), (1372344073,), (1372344091,), (1372344093,), (1372344096,), (1372344098,), (1372344100,), (1372344102,), (1372344120,), (1372344124,), (1372344127,), (1372344131,), (1372344135,), (1372344138,), (1372344155,), (1372344182,), (1372344184,), (1372344186,), (1372344188,), (1372344190,), (1372344193,), (1372344213,), (1372344215,), (1372344216,), (1372344218,), (1372344219,), (1372344221,), (1372344245,), (1372344247,), (1372344250,), (1372344251,), (1372344253,), (1372344255,), (1372344268,), (1372344270,), (1372344272,), (1372344273,), (1372344275,), (1372344277,), (1372344299,), (1372344301,), (1372344304,), (1372344307,), (1372344308,), (1372344311,), (1372344334,), (1372344336,), (1372344338,), (1372344340,), (1372344341,), (1372344343,), (1372344367,), (1372344371,), (1372344374,), (1372344377,), (1372344378,), (1372344382,), (1372344397,), (1372344401,), (1372344404,), (1372344408,), (1372344411,), (1372344413,), (1372344432,), (1372344435,), (1372344438,), (1372344439,), (1372344442,), (1372344444,), (1372344455,), (1372344458,), (1372344459,), (1372344462,), (1372344464,), (1372344467,), (1372344488,), (1372344492,), (1372344494,), (1372344497,), (1372344499,), (1372344501,), (1372344522,), (1372344524,), (1372344526,), (1372344528,), (1372344530,), (1372344533,), (1372344562,), (1372344564,), (1372344565,), (1372344567,), (1372344568,), (1372344571,), (1372344590,), (1372344625,), (1372344628,), (1372344630,), (1372344631,), (1372344632,), (1372344635,), (1372344657,), (1372344659,), (1372344662,), (1372344663,), (1372344667,), (1372344670,), (1372344686,), (1372344688,), (1372344689,), (1372344691,), (1372344693,), (1372344696,), (1372344720,), (1372344721,), (1372344723,), (1372344725,), (1372344727,), (1372344730,), (1372344756,), (1372344758,), (1372344761,), (1372344762,), (1372344765,), (1372344768,), (1372344781,), (1372344784,), (1372344788,), (1372344792,), (1372344796,), (1372344798,), (1372344822,), (1372344824,), (1372344828,), (1372344830,), (1372344831,), (1372344835,), (1372344856,), (1372344881,), (1372344885,), (1372344888,), (1372344890,), (1372344893,), (1372344894,), (1372344910,), (1372344912,), (1372344916,), (1372344917,), (1372344920,), (1372344923,), (1372344946,), (1372344947,), (1372344949,), (1372344951,), (1372344952,), (1372344954,), (1372344974,), (1372344977,), (1372344979,), (1372344981,), (1372344983,), (1372344985,), (1372345005,), (1372345006,), (1372345009,), (1372345012,), (1372345013,), (1372345015,), (1372345028,), (1372345031,), (1372345033,), (1372345037,), (1372345039,), (1372345041,), (1372345054,), (1372345056,), (1372345058,), (1372345061,), (1372345063,), (1372345065,), (1372345076,), (1372345077,), (1372345080,), (1372345083,), (1372345084,), (1372345087,), (1372345098,), (1372345102,), (1372345104,), (1372345106,), (1372345109,), (1372345111,), (1372345130,), (1372345131,), (1372345134,), (1372345136,), (1372345138,), (1372345140,), (1372345166,), (1372345169,), (1372345171,), (1372345173,), (1372345174,), (1372345176,), (1372345188,), (1372345189,), (1372345191,), (1372345193,), (1372345195,), (1372345198,), (1372345220,), (1372345222,), (1372345223,), (1372345226,), (1372345228,), (1372345231,), (1372345248,), (1372345251,), (1372345254,), (1372345256,), (1372345257,), (1372345259,), (1372345273,), (1372345275,), (1372345277,), (1372345279,), (1372345280,), (1372345283,), (1372345304,), (1372345306,), (1372345308,), (1372345309,), (1372345310,), (1372345311,), (1372345337,), (1372345339,), (1372345341,), (1372345343,), (1372345344,), (1372345346,), (1372345373,), (1372345376,), (1372345380,), (1372345385,), (1372345390,), (1372345393,), (1372345406,), (1372345411,), (1372345415,), (1372345418,), (1372345420,), (1372345422,), (1372345435,), (1372345437,), (1372345439,), (1372345441,), (1372345444,), (1372345447,), (1372345464,), (1372345489,), (1372345490,), (1372345493,), (1372345496,), (1372345499,), (1372345503,), (1372345525,), (1372345551,), (1372345553,), (1372345555,), (1372345557,), (1372345559,), (1372345562,), (1372345581,), (1372345583,), (1372345584,), (1372345586,), (1372345589,), (1372345592,), (1372345618,), (1372345620,), (1372345622,), (1372345625,), (1372345627,), (1372345629,), (1372345644,), (1372345649,), (1372345652,), (1372345654,), (1372345657,), (1372345660,), (1372345679,), (1372345682,), (1372345685,), (1372345686,), (1372345689,), (1372345692,), (1372345702,), (1372345705,), (1372345707,), (1372345709,), (1372345712,), (1372345715,), (1372345739,), (1372345743,), (1372345747,), (1372345748,), (1372345752,), (1372345755,), (1372345768,), (1372345796,), (1372345798,), (1372345799,), (1372345801,), (1372345803,), (1372345806,), (1372345827,), (1372345830,), (1372345832,), (1372345834,), (1372345836,), (1372345838,), (1372345859,), (1372345862,), (1372345863,), (1372345867,), (1372345871,), (1372345875,), (1372345888,), (1372345890,), (1372345891,), (1372345893,), (1372345896,), (1372345900,), (1372345916,), (1372345918,), (1372345920,), (1372345922,), (1372345925,), (1372345930,), (1372345946,), (1372345948,), (1372345950,), (1372345952,), (1372345955,), (1372345960,), (1372345982,), (1372345984,), (1372345985,), (1372345987,), (1372345990,), (1372345992,), (1372346009,), (1372346012,), (1372346015,), (1372346016,), (1372346019,), (1372346022,), (1372346042,), (1372346045,), (1372346048,), (1372346050,), (1372346054,), (1372346057,), (1372346069,), (1372346071,), (1372346073,), (1372346074,), (1372346078,), (1372346081,), (1372346103,), (1372346104,), (1372346106,), (1372346108,), (1372346111,), (1372346115,), (1372346136,), (1372346137,), (1372346138,), (1372346139,), (1372346141,), (1372346143,), (1372346161,), (1372346164,), (1372346167,), (1372346169,), (1372346172,), (1372346176,), (1372346197,), (1372346200,), (1372346204,), (1372346208,), (1372346213,), (1372346215,), (1372346230,), (1372346232,), (1372346234,), (1372346237,), (1372346240,), (1372346242,), (1372346264,), (1372346295,), (1372346300,), (1372346303,), (1372346308,), (1372346313,), (1372346316,), (1372346333,), (1372346337,), (1372346339,), (1372346341,), (1372346343,), (1372346346,), (1372346368,), (1372346372,), (1372346374,), (1372346377,), (1372346378,), (1372346380,), (1372346392,), (1372346393,), (1372346395,), (1372346397,), (1372346398,), (1372346400,), (1372346420,), (1372346423,), (1372346424,), (1372346427,), (1372346429,), (1372346432,), (1372346445,), (1372346472,), (1372346474,), (1372346475,), (1372346477,), (1372346479,), (1372346483,), (1372346505,), (1372346508,), (1372346510,), (1372346512,), (1372346513,), (1372346517,), (1372346535,), (1372346537,), (1372346540,), (1372346542,), (1372346544,), (1372346547,), (1372346563,), (1372346565,), (1372346567,), (1372346570,), (1372346572,), (1372346574,), (1372346597,), (1372346599,), (1372346601,), (1372346605,), (1372346608,), (1372346611,), (1372346629,), (1372346634,), (1372346636,), (1372346639,), (1372346642,), (1372346645,), (1372346659,), (1372346663,), (1372346667,), (1372346669,), (1372346672,), (1372346674,), (1372346686,), (1372346689,), (1372346693,), (1372346694,), (1372346698,), (1372346702,), (1372346728,), (1372346730,), (1372346732,), (1372346735,), (1372346737,), (1372346739,), (1372346751,), (1372346754,), (1372346758,), (1372346762,), (1372346766,), (1372346770,), (1372346781,), (1372346783,), (1372346785,), (1372346786,), (1372346789,), (1372346793,), (1372346816,), (1372346818,), (1372346820,), (1372346821,), (1372346824,), (1372346827,), (1372346844,), (1372346847,), (1372346849,), (1372346851,), (1372346854,), (1372346857,), (1372346873,), (1372346876,), (1372346879,), (1372346881,), (1372346884,), (1372346887,), (1372346913,), (1372346916,), (1372346917,), (1372346918,), (1372346919,), (1372346921,), (1372346939,), (1372346940,), (1372346941,), (1372346942,), (1372346945,), (1372346949,), (1372346968,), (1372346969,), (1372346971,), (1372346974,), (1372346978,), (1372346982,), (1372346999,), (1372347000,), (1372347002,), (1372347004,), (1372347005,), (1372347008,), (1372347022,), (1372347025,), (1372347028,), (1372347031,), (1372347034,), (1372347037,), (1372347049,), (1372347052,), (1372347056,), (1372347058,), (1372347061,), (1372347064,), (1372347077,), (1372347080,), (1372347081,), (1372347084,), (1372347087,), (1372347090,), (1372347103,), (1372347105,), (1372347106,), (1372347108,), (1372347111,), (1372347114,), (1372347136,), (1372347139,), (1372347141,), (1372347142,), (1372347145,), (1372347147,), (1372347173,), (1372347177,), (1372347178,), (1372347182,), (1372347187,), (1372347193,), (1372381971,), (1372381975,), (1372381979,), (1372381980,), (1372381982,), (1372382116,), (1372382144,), (1372382171,), (1372382196,), (1372382219,), (1372382239,), (1372382360,), (1372382408,), (1372382441,), (1372382454,), (1372382456,), (1372382482,), (1372382542,), (1372382545,), (1372382547,), (1372382549,), (1372382551,), (1372382554,), (1372382584,), (1372382588,), (1372382589,), (1372382592,), (1372382594,), (1372382597,), (1372382622,), (1372382626,), (1372382630,), (1372382635,), (1372382639,), (1372382645,), (1372382673,), (1372382674,), (1372382676,), (1372382678,), (1372382680,), (1372382684,), (1372382711,), (1372382712,), (1372382713,), (1372382714,), (1372382716,), (1372382718,), (1372382754,), (1372382757,), (1372382759,), (1372382760,), (1372382761,), (1372382765,), (1372382977,), (1372383001,), (1372383025,), (1372383052,), (1372383076,), (1372383101,), (1372383221,), (1372383223,), (1372383224,), (1372383226,), (1372383227,), (1372383229,), (1372383256,), (1372383257,), (1372383259,), (1372383261,), (1372383264,), (1372383266,), (1372383293,), (1372383294,), (1372383297,), (1372383299,), (1372383302,), (1372383306,), (1372383331,), (1372383332,), (1372383335,), (1372383338,), (1372383341,), (1372383344,), (1372383385,), (1372347209,), (1372347212,), (1372347216,), (1372347219,), (1372347222,), (1372347225,), (1372347250,), (1372347252,), (1372347255,), (1372347257,), (1372347260,), (1372347263,), (1372347277,), (1372347279,), (1372347283,), (1372347286,), (1372347290,), (1372347294,), (1372347315,), (1372347318,), (1372347322,), (1372347323,), (1372347327,), (1372347330,), (1372347347,), (1372347352,), (1372347353,), (1372347356,), (1372347359,), (1372347362,), (1372347376,), (1372347378,), (1372347379,), (1372347381,), (1372347383,), (1372347385,), (1372347405,), (1372347407,), (1372347408,), (1372347410,), (1372347411,), (1372347413,), (1372347443,), (1372347445,), (1372347448,), (1372347450,), (1372347451,), (1372347453,), (1372347479,), (1372347509,), (1372347538,), (1372347540,), (1372347541,), (1372347543,), (1372347545,), (1372347547,), (1372347568,), (1372347572,), (1372347575,), (1372347577,), (1372347579,), (1372347581,), (1372347595,), (1372347598,), (1372347601,), (1372347604,), (1372347607,), (1372347627,), (1372347630,), (1372347633,), (1372347635,), (1372347637,), (1372347640,), (1372347650,), (1372347653,), (1372347656,), (1372347659,), (1372347662,), (1372347666,), (1372347688,), (1372347690,), (1372347692,), (1372347693,), (1372347696,), (1372347700,), (1372347721,), (1372347724,), (1372347727,), (1372347729,), (1372347734,), (1372347736,), (1372347754,), (1372347756,), (1372347759,), (1372347760,), (1372347765,), (1372347770,), (1372347790,), (1372347792,), (1372347794,), (1372347795,), (1372347797,), (1372347799,), (1372347821,), (1372347823,), (1372347825,), (1372347826,), (1372347828,), (1372347832,), (1372347858,), (1372347859,), (1372347862,), (1372347865,), (1372347866,), (1372347868,), (1372347884,), (1372347887,), (1372347891,), (1372347895,), (1372347898,), (1372347902,), (1372347923,), (1372347926,), (1372347928,), (1372347930,), (1372347933,), (1372347961,), (1372347963,), (1372347966,), (1372347967,), (1372347970,), (1372347974,), (1372347994,), (1372347996,), (1372347998,), (1372347999,), (1372348003,), (1372348008,), (1372348029,), (1372348031,), (1372348033,), (1372348036,), (1372348038,), (1372348041,), (1372348070,), (1372348072,), (1372348075,), (1372348077,), (1372348081,), (1372348085,), (1372348105,), (1372348109,), (1372348111,), (1372348114,), (1372348117,), (1372348120,), (1372348141,), (1372348143,), (1372348145,), (1372348146,), (1372348148,), (1372348150,), (1372348184,), (1372348186,), (1372348190,), (1372348193,), (1372348195,), (1372348199,), (1372348218,), (1372348222,), (1372348226,), (1372348227,), (1372348231,), (1372348233,), (1372348252,), (1372348255,), (1372348257,), (1372348258,), (1372348261,), (1372348264,), (1372348293,), (1372348295,), (1372348298,), (1372348300,), (1372348302,), (1372348304,), (1372348322,), (1372348325,), (1372348327,), (1372348331,), (1372348333,), (1372348336,), (1372348361,), (1372348364,), (1372348367,), (1372348371,), (1372348375,), (1372348377,), (1372348395,), (1372348397,), (1372348399,), (1372348402,), (1372348404,), (1372348406,), (1372348437,), (1372348474,), (1372348477,), (1372348481,), (1372348483,), (1372348485,), (1372348488,), (1372348501,), (1372348505,), (1372348508,), (1372348512,), (1372348517,), (1372348520,), (1372348538,), (1372348541,), (1372348544,), (1372348548,), (1372348553,), (1372348557,), (1372348575,), (1372348578,), (1372348580,), (1372348584,), (1372348588,), (1372348590,), (1372348613,), (1372348619,), (1372348621,), (1372348626,), (1372348631,), (1372348634,), (1372348651,), (1372348654,), (1372348658,), (1372348662,), (1372348666,), (1372348671,), (1372348693,), (1372348696,), (1372348698,), (1372348702,), (1372348705,), (1372348708,), (1372348734,), (1372348737,), (1372348740,), (1372348743,), (1372348745,), (1372348748,), (1372348764,), (1372348767,), (1372348769,), (1372348770,), (1372348774,), (1372348781,), (1372348804,), (1372348806,), (1372348809,), (1372348811,), (1372348814,), (1372348817,), (1372348834,), (1372348837,), (1372348839,), (1372348844,), (1372348848,), (1372348852,), (1372348882,), (1372348885,), (1372348887,), (1372348889,), (1372348892,), (1372348894,), (1372348912,), (1372348914,), (1372348916,), (1372348919,), (1372348920,), (1372348923,), (1372348955,), (1372348959,), (1372348963,), (1372348967,), (1372348969,), (1372348971,), (1372348988,), (1372348993,), (1372348998,), (1372349000,), (1372349005,), (1372349010,), (1372349035,), (1372349062,), (1372349066,), (1372349070,), (1372349074,), (1372349078,), (1372349080,), (1372349094,), (1372349098,), (1372349100,), (1372349104,), (1372349108,), (1372349111,), (1372349133,), (1372349136,), (1372349140,), (1372349142,), (1372349146,), (1372349151,), (1372349172,), (1372349175,), (1372349178,), (1372349180,), (1372349184,), (1372349188,), (1372349212,), (1372349214,), (1372349217,), (1372349219,), (1372349222,), (1372349225,), (1372349242,), (1372349272,), (1372349276,), (1372349281,), (1372349284,), (1372349289,), (1372349312,), (1372349316,), (1372349318,), (1372349321,), (1372349323,), (1372349324,), (1372349348,), (1372349351,), (1372349354,), (1372349355,), (1372349359,), (1372349363,), (1372349382,), (1372349385,), (1372349390,), (1372349393,), (1372349396,), (1372349399,), (1372349420,), (1372349424,), (1372349427,), (1372349431,), (1372349436,), (1372349438,), (1372349453,), (1372349455,), (1372349458,), (1372349461,), (1372349464,), (1372349468,), (1372349496,), (1372349498,), (1372349502,), (1372349504,), (1372349506,), (1372349509,), (1372349535,), (1372349538,), (1372349542,), (1372349544,), (1372349548,), (1372349551,), (1372349575,), (1372349580,), (1372349583,), (1372349586,), (1372349589,), (1372349592,), (1372349615,), (1372349616,), (1372349620,), (1372349624,), (1372349626,), (1372349630,), (1372349656,), (1372349657,), (1372349659,), (1372349661,), (1372349663,), (1372349665,), (1372349690,), (1372349693,), (1372349697,), (1372349700,), (1372349703,), (1372349706,), (1372349733,), (1372349765,), (1372349769,), (1372349773,), (1372349774,), (1372349777,), (1372349781,), (1372349803,), (1372349806,), (1372349807,), (1372349811,), (1372349813,), (1372349816,), (1372349842,), (1372349844,), (1372349846,), (1372349847,), (1372349850,), (1372349853,), (1372349876,), (1372349878,), (1372349881,), (1372349883,), (1372349887,), (1372349891,), (1372349915,), (1372349918,), (1372349920,), (1372349922,), (1372349924,), (1372349926,), (1372349956,), (1372349959,), (1372349963,), (1372349966,), (1372349969,), (1372349971,), (1372349996,), (1372350001,), (1372350006,), (1372350009,), (1372350013,), (1372350017,), (1372350034,), (1372350037,), (1372350038,), (1372350041,), (1372350043,), (1372350046,), (1372350072,), (1372350076,), (1372350080,), (1372350083,), (1372350086,), (1372350090,), (1372350106,), (1372350109,), (1372350110,), (1372350113,), (1372350116,), (1372350119,), (1372350143,), (1372350147,), (1372350150,), (1372350154,), (1372350159,), (1372350163,), (1372350181,), (1372350186,), (1372350188,), (1372350192,), (1372350196,), (1372350199,), (1372350219,), (1372350221,), (1372350223,), (1372350225,), (1372350229,), (1372350231,), (1372350256,), (1372350291,), (1372350294,), (1372350297,), (1372350301,), (1372350304,), (1372350309,), (1372350325,), (1372350327,), (1372350328,), (1372350330,), (1372350334,), (1372350336,), (1372350359,), (1372350362,), (1372350364,), (1372350366,), (1372350369,), (1372350373,), (1372383428,), (1372383429,), (1372383436,), (1372383439,), (1372383441,), (1372383443,), (1372383513,), (1372383514,), (1372383516,), (1372383520,), (1372383522,), (1372383524,), (1372383683,), (1372383685,), (1372383690,), (1372383714,), (1372383737,), (1372383745,), (1372383815,), (1372383844,), (1372383869,), (1372383893,), (1372383895,), (1372383897,), (1372383926,), (1372383929,), (1372383933,), (1372383935,), (1372383956,), (1372383981,), (1372384139,), (1372384141,), (1372384146,), (1372384150,), (1372384152,), (1372384155,), (1372384170,), (1372384173,), (1372384176,), (1372384179,), (1372384181,), (1372384183,), (1372384201,), (1372384203,), (1372384204,), (1372384207,), (1372384209,), (1372384212,), (1372384242,), (1372384243,), (1372384245,), (1372384246,), (1372384248,), (1372384252,), (1372384304,), (1372384306,), (1372384307,), (1372384309,), (1372384311,), (1372384315,), (1372384340,), (1372384341,), (1372384342,), (1372384343,), (1372384345,), (1372384349,), (1372384375,), (1372384377,), (1372384380,), (1372384382,), (1372384386,), (1372384389,), (1372384410,), (1372384413,), (1372384415,), (1372384417,), (1372384419,), (1372384422,), (1372384445,), (1372384447,), (1372384450,), (1372384453,), (1372384456,), (1372384459,), (1372384475,), (1372384478,), (1372384482,), (1372384485,), (1372384487,), (1372384493,), (1372384545,), (1372384547,), (1372384549,), (1372384556,), (1372384559,), (1372384565,), (1372384594,), (1372384595,), (1372384597,), (1372384599,), (1372384602,), (1372384606,), (1372384633,), (1372384635,), (1372384640,), (1372384645,), (1372384649,), (1372384652,), (1372384667,), (1372384669,), (1372384673,), (1372384676,), (1372384679,), (1372384683,), (1372384705,), (1372384709,), (1372384713,), (1372384716,), (1372384719,), (1372384723,), (1372384740,), (1372384742,), (1372384745,), (1372384747,), (1372384750,), (1372384755,), (1372384779,), (1372384780,), (1372384781,), (1372384782,), (1372384795,), (1372384832,), (1372384918,), (1372384939,), (1372384968,), (1372384998,), (1372385031,), (1372385070,), (1372385212,), (1372385244,), (1372385257,), (1372385265,), (1372385267,), (1372385270,), (1372385365,), (1372385398,), (1372385405,), (1372385407,), (1372385434,), (1372385443,), (1372385557,), (1372385567,), (1372385568,), (1372385570,), (1372385573,), (1372385578,), (1372385622,), (1372385628,), (1372385630,), (1372385632,), (1372385634,), (1372385639,), (1372385822,), (1372385846,), (1372385865,), (1372385866,), (1372385869,), (1372385873,), (1372385911,), (1372385918,), (1372385921,), (1372385926,), (1372385945,), (1372385955,), (1372386026,), (1372386028,), (1372386032,), (1372386034,), (1372386037,), (1372386039,), (1372386107,), (1372386118,), (1372386131,), (1372386150,), (1372386157,), (1372386161,), (1372386200,), (1372386203,), (1372386206,), (1372386208,), (1372386211,), (1372386215,), (1372386233,), (1372386240,), (1372386242,), (1372386243,), (1372386246,), (1372386252,), (1372386283,), (1372386291,), (1372386295,), (1372386296,), (1372386298,), (1372386301,), (1372386327,), (1372386336,), (1372386337,), (1372386338,), (1372386341,), (1372386347,), (1372386382,), (1372386385,), (1372386386,), (1372386388,), (1372386390,), (1372386395,), (1372386418,), (1372386425,), (1372386426,), (1372386428,), (1372386430,), (1372386433,), (1372386483,), (1372386529,), (1372386537,), (1372386540,), (1372386542,), (1372386545,), (1372386549,), (1372386584,), (1372386587,), (1372386590,), (1372386593,), (1372386596,), (1372386601,), (1372386614,), (1372386616,), (1372386617,), (1372386618,), (1372386620,), (1372386625,), (1372386653,), (1372386664,), (1372386674,), (1372386676,), (1372386680,), (1372386686,), (1372386714,), (1372386724,), (1372386726,), (1372386743,), (1372386764,), (1372386787,), (1372387596,), (1372388374,), (1372388406,), (1372388434,), (1372388472,), (1372388511,), (1372388803,), (1372388838,), (1372388872,), (1372388890,), (1372388929,), (1372388953,), (1372388990,), (1372389007,), (1372389028,), (1372389047,), (1372389069,), (1372389097,), (1372389237,), (1372389240,), (1372389243,), (1372389246,), (1372389250,), (1372389272,), (1372389401,), (1372389425,), (1372389445,), (1372389455,), (1372389463,), (1372389466,), (1372389499,), (1372389510,), (1372389528,), (1372389541,), (1372389565,), (1372389576,), (1372389601,), (1372389606,), (1372389610,), (1372389613,), (1372389617,), (1372389623,), (1372389648,), (1372389659,), (1372389662,), (1372389665,), (1372389668,), (1372389672,), (1372389701,), (1372389703,), (1372389704,), (1372389705,), (1372389707,), (1372389712,), (1372389746,), (1372389756,), (1372389758,), (1372389761,), (1372389766,), (1372389768,), (1372389812,), (1372389814,), (1372389824,), (1372389837,), (1372389841,), (1372389845,), (1372389914,), (1372389932,), (1372389939,), (1372389942,), (1372389948,), (1372389974,), (1372390248,), (1372390273,), (1372390294,), (1372390311,), (1372390314,), (1372390316,), (1372390418,), (1372390431,), (1372390437,), (1372390439,), (1372390443,), (1372390448,), (1372390614,), (1372390638,), (1372390659,), (1372390681,), (1372390704,), (1372390731,), (1372390779,), (1372390787,), (1372390790,), (1372390807,), (1372390837,), (1372390847,), (1372390892,), (1372390898,), (1372390920,), (1372390940,), (1372390964,), (1372390999,), (1372391249,), (1372391301,), (1372391330,), (1372391359,), (1372391387,), (1372391411,), (1372391572,), (1372391603,), (1372391629,), (1372391636,), (1372391639,), (1372391649,), (1372391717,), (1372391728,), (1372391737,), (1372391740,), (1372391742,), (1372391745,), (1372391833,), (1372391853,), (1372391876,), (1372391899,), (1372391921,), (1372391945,), (1372392118,), (1372392148,), (1372392174,), (1372392196,), (1372392215,), (1372392220,), (1372392261,), (1372392263,), (1372392266,), (1372392268,), (1372392271,), (1372392275,), (1372392305,), (1372392312,), (1372392314,), (1372392315,), (1372392317,), (1372392321,), (1372392354,), (1372392373,), (1372392377,), (1372392379,), (1372392382,), (1372392387,), (1372392438,), (1372392473,), (1372392494,), (1372392516,), (1372392536,), (1372392561,), (1372392586,), (1372392589,), (1372392590,), (1372392593,), (1372392597,), (1372392602,), (1372392623,), (1372392632,), (1372392635,), (1372392637,), (1372392641,), (1372392645,), (1372392673,), (1372392676,), (1372392679,), (1372392682,), (1372392685,), (1372392691,), (1372392723,), (1372392779,), (1372392781,), (1372392783,), (1372392792,), (1372392802,), (1372392807,), (1372392831,), (1372392840,), (1372392843,), (1372392847,), (1372392851,), (1372392857,), (1372392880,), (1372392883,), (1372392886,), (1372392888,), (1372392891,), (1372392895,), (1372392905,), (1372392908,), (1372392911,), (1372392912,), (1372392916,), (1372392920,), (1372392942,), (1372392944,), (1372392947,), (1372392949,), (1372392953,), (1372392957,), (1372392970,), (1372392981,), (1372392987,), (1372392989,), (1372392992,), (1372392997,), (1372393030,), (1372393032,), (1372393034,), (1372393035,), (1372393037,), (1372393040,), (1372393061,), (1372393082,), (1372393092,), (1372393093,), (1372393098,), (1372393099,), (1372393128,), (1372393131,), (1372393134,), (1372393135,), (1372393138,), (1372393140,), (1372393164,), (1372393180,), (1372393207,), (1372393230,), (1372393255,), (1372393276,), (1372393364,), (1372393476,), (1372393496,), (1372393517,), (1372393538,), (1372393556,), (1372393572,), (1372393582,), (1372393591,), (1372393594,), (1372393597,), (1372393600,), (1372393623,), (1372393625,), (1372393627,), (1372393628,), (1372393631,), (1372393636,), (1372393655,), (1372393658,), (1372393660,), (1372393662,), (1372393664,), (1372393668,), (1372393698,), (1372393701,), (1372393706,), (1372393709,), (1372393714,), (1372393718,), (1372393749,), (1372393750,), (1372393758,), (1372393766,), (1372393768,), (1372393771,), (1372393785,), (1372393794,), (1372393804,), (1372393806,), (1372393808,), (1372393811,), (1372393827,), (1372393830,), (1372393833,), (1372393836,), (1372393839,), (1372393842,), (1372393877,), (1372393880,), (1372393882,), (1372393884,), (1372393886,), (1372393889,), (1372393907,), (1372393918,), (1372393923,), (1372393925,), (1372393927,), (1372393930,), (1372393980,), (1372393982,), (1372393986,), (1372393991,), (1372393994,), (1372393998,), (1372394020,), (1372394031,), (1372394037,), (1372394039,), (1372394041,), (1372394044,), (1372394069,), (1372394071,), (1372394073,), (1372394074,), (1372394076,), (1372394079,), (1372394097,), (1372394106,), (1372394108,), (1372394110,), (1372394113,), (1372394116,), (1372394148,), (1372394152,), (1372394155,), (1372394156,), (1372394159,), (1372394162,), (1372394175,), (1372394184,), (1372394186,), (1372394188,), (1372394192,), (1372394197,), (1372394221,), (1372394222,), (1372394225,), (1372394228,), (1372394230,), (1372394236,), (1372394260,), (1372394268,), (1372394269,), (1372394284,), (1372394314,), (1372394357,), (1372395408,), (1372396118,), (1372396123,), (1372396136,), (1372396165,), (1372396190,), (1372396465,), (1372396493,), (1372396514,), (1372396519,), (1372396539,), (1372396564,), (1372396693,), (1372396697,), (1372396700,), (1372396703,), (1372396707,), (1372396710,), (1372396735,), (1372396738,), (1372396741,), (1372396746,), (1372396750,), (1372396754,), (1372396775,), (1372396779,), (1372396784,), (1372396786,), (1372396790,), (1372396802,), (1372396821,), (1372396831,), (1372396834,), (1372396837,), (1372396842,), (1372396862,), (1372396972,), (1372396978,), (1372396981,), (1372396999,), (1372397004,), (1372397007,), (1372397025,), (1372397028,), (1372397031,), (1372397035,), (1372397039,), (1372397044,), (1372397072,), (1372397075,), (1372397083,), (1372397086,), (1372397096,), (1372397111,), (1372397167,), (1372397174,), (1372397176,), (1372397177,), (1372397179,), (1372397182,), (1372397238,), (1372397240,), (1372397242,), (1372397245,), (1372397246,), (1372397249,), (1372397283,), (1372397293,), (1372397298,), (1372397301,), (1372397304,), (1372397309,), (1372397338,), (1372397340,), (1372397341,), (1372397343,), (1372397345,), (1372397347,), (1372397370,), (1372397380,), (1372397384,), (1372397389,), (1372397393,), (1372397397,), (1372397428,), (1372397467,), (1372397476,), (1372397477,), (1372397479,), (1372397482,), (1372397487,), (1372397516,), (1372397518,), (1372397520,), (1372397521,), (1372397524,), (1372397529,), (1372397581,), (1372397611,), (1372397630,), (1372397632,), (1372397636,), (1372397641,), (1372397672,), (1372397677,), (1372397679,), (1372397682,), (1372397687,), (1372397692,), (1372397709,), (1372397725,), (1372397741,), (1372397743,), (1372397747,), (1372397752,), (1372397795,), (1372397798,), (1372397802,), (1372397803,), (1372397808,), (1372397813,), (1372397827,), (1372397831,), (1372397835,), (1372397838,), (1372397843,), (1372397848,), (1372397877,), (1372397880,), (1372397883,), (1372397884,), (1372397887,), (1372397893,), (1372397924,), (1372397933,), (1372397937,), (1372397940,), (1372397942,), (1372397945,), (1372397977,), (1372397982,), (1372397985,), (1372397989,), (1372398001,), (1372398008,), (1372398027,), (1372398040,), (1372398047,), (1372398050,), (1372398055,), (1372398061,), (1372398089,), (1372398092,), (1372398096,), (1372398099,), (1372398103,), (1372398108,), (1372398132,), (1372398142,), (1372398145,), (1372398148,), (1372398153,), (1372398157,), (1372398187,), (1372398191,), (1372398195,), (1372398198,), (1372398201,), (1372398205,), (1372398234,), (1372398238,), (1372398242,), (1372398246,), (1372398250,), (1372398254,), (1372398300,), (1372398359,), (1372398364,), (1372398366,), (1372398369,), (1372398373,), (1372398378,), (1372398409,), (1372398413,), (1372398416,), (1372398419,), (1372398422,), (1372398425,), (1372398445,), (1372398457,), (1372398462,), (1372398464,), (1372398467,), (1372398470,), (1372398489,), (1372398498,), (1372398507,), (1372398510,), (1372398514,), (1372398518,), (1372398533,), (1372398535,), (1372398554,), (1372398563,), (1372398569,), (1372398576,), (1372398645,), (1372398663,), (1372398680,), (1372398683,), (1372398685,), (1372398690,), (1372398731,), (1372398751,), (1372398768,), (1372398784,), (1372398803,), (1372398808,), (1372398871,), (1372398893,), (1372398921,), (1372398942,), (1372398964,), (1372398975,), (1372398990,), (1372398995,), (1372398996,), (1372399001,), (1372399006,), (1372399011,), (1372399102,), (1372399112,), (1372399120,), (1372399122,), (1372399125,), (1372399128,), (1372399274,), (1372399284,), (1372399288,), (1372399292,), (1372399300,), (1372399305,), (1372399344,), (1372399346,), (1372399350,), (1372399355,), (1372399359,), (1372399363,), (1372399383,), (1372399384,), (1372399387,), (1372399388,), (1372399391,), (1372399396,), (1372399436,), (1372399438,), (1372399441,), (1372399444,), (1372399446,), (1372399449,), (1372399467,), (1372399475,), (1372399478,), (1372399491,), (1372399496,), (1372399500,), (1372399527,), (1372399529,), (1372399532,), (1372399535,), (1372399539,), (1372399544,), (1372399566,), (1372399579,), (1372399582,), (1372399585,), (1372399589,), (1372399592,), (1372399624,), (1372399627,), (1372399630,), (1372399632,), (1372399634,), (1372399639,), (1372399797,), (1372399820,), (1372399840,), (1372399861,), (1372399883,), (1372399905,), (1372400028,), (1372400030,), (1372400033,), (1372400036,), (1372400039,), (1372400041,), (1372400070,), (1372400085,), (1372400090,), (1372400093,), (1372400096,), (1372400098,), (1372400125,), (1372400128,), (1372400132,), (1372400134,), (1372400139,), (1372400142,), (1372400163,), (1372400175,), (1372400183,), (1372400185,), (1372400190,), (1372400195,), (1372400227,), (1372400230,), (1372400233,), (1372400234,), (1372400238,), (1372400242,), (1372400267,), (1372400271,), (1372400274,), (1372400276,), (1372400280,), (1372400284,), (1372400304,), (1372400315,), (1372400324,), (1372400326,), (1372400329,), (1372400333,), (1372400362,), (1372400376,), (1372400378,), (1372400381,), (1372400385,), (1372400389,), (1372400819,), (1372401552,), (1372402175,), (1372402221,), (1372402269,), (1372402314,), (1372402349,), (1372402370,), (1372402625,), (1372402649,), (1372402671,), (1372402705,), (1372402744,), (1372402785,), (1372402942,), (1372402969,), (1372402972,), (1372402975,), (1372402993,), (1372403018,), (1372403093,), (1372403097,), (1372403108,), (1372403112,), (1372403117,), (1372403121,), (1372403144,), (1372403147,), (1372403151,), (1372403154,), (1372403158,), (1372403163,), (1372403198,), (1372403205,), (1372403216,), (1372403219,), (1372403257,), (1372403285,), (1372403330,), (1372403339,), (1372403341,), (1372403344,), (1372403347,), (1372403351,), (1372403379,), (1372403382,), (1372403386,), (1372403389,), (1372403392,), (1372403395,), (1372403416,), (1372403426,), (1372403430,), (1372403436,), (1372403440,), (1372403444,), (1372403482,), (1372403485,), (1372403491,), (1372403495,), (1372403499,), (1372403503,), (1372403529,), (1372403536,), (1372403539,), (1372403548,), (1372403585,), (1372403590,), (1372403621,), (1372403623,), (1372403625,), (1372403628,), (1372403631,), (1372403634,), (1372403652,), (1372403664,), (1372403670,), (1372403673,), (1372403677,), (1372403682,), (1372403714,), (1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,), (1372404620,), (1372404623,), (1372404628,), (1372404632,), (1372404635,), (1372404641,), (1372404658,), (1372404662,), (1372404667,), (1372404671,), (1372404675,), (1372404680,), (1372404688,), (1372404691,), (1372404693,), (1372404696,), (1372404699,), (1372404704,), (1372404725,), (1372404733,), (1372404741,), (1372404749,), (1372404751,), (1372404754,), (1372404780,), (1372404783,), (1372404786,), (1372404789,), (1372404798,), (1372404803,), (1372404829,), (1372404840,), (1372404844,), (1372404845,), (1372404849,), (1372404854,), (1372404932,), (1372404954,), (1372404974,), (1372404984,), (1372405005,), (1372405028,), (1372405172,), (1372405198,), (1372405216,), (1372405220,), (1372405224,), (1372405233,), (1372405278,), (1372405292,), (1372405295,), (1372405311,), (1372405320,), (1372405340,), (1372405372,), (1372405375,), (1372405378,), (1372405382,), (1372405388,), (1372405392,), (1372405435,), (1372405437,), (1372405439,), (1372405440,), (1372405443,), (1372405445,), (1372405472,), (1372405475,), (1372405477,), (1372405481,), (1372405485,), (1372405488,), (1372405513,), (1372405517,), (1372405520,), (1372405522,), (1372405526,), (1372405530,), (1372405598,), (1372405626,), (1372405641,), (1372405645,), (1372405650,), (1372405654,), (1372405676,), (1372405681,), (1372405684,), (1372405688,), (1372405692,), (1372405695,), (1372405708,), (1372405719,), (1372405724,), (1372405726,), (1372405735,), (1372405748,), (1372405783,), (1372405785,), (1372405787,), (1372405788,), (1372405793,), (1372405798,), (1372405816,), (1372405819,), (1372405820,), (1372405822,), (1372405825,), (1372405830,), (1372405863,), (1372405901,), (1372405910,), (1372405921,), (1372405924,), (1372405928,), (1372405935,), (1372406005,), (1372406008,), (1372406011,), (1372406015,), (1372406017,), (1372406025,), (1372406040,), (1372406053,), (1372406057,), (1372406059,), (1372406062,), (1372406066,), (1372406093,), (1372406096,), (1372406099,), (1372406102,), (1372406105,), (1372406110,), (1372406144,), (1372406152,), (1372406156,), (1372406159,), (1372406163,), (1372406168,), (1372406200,), (1372406203,), (1372406205,), (1372406207,), (1372406211,), (1372406215,), (1372406234,), (1372406244,), (1372406261,), (1372406270,), (1372406276,), (1372406280,), (1372406315,), (1372406318,), (1372406321,), (1372406323,), (1372406326,), (1372406331,), (1372406376,), (1372406390,), (1372406396,), (1372406397,), (1372406401,), (1372406406,), (1372406728,), (1372407071,), (1372407110,), (1372407164,), (1372407232,), (1372407297,), (1372407755,), (1372407816,), (1372407863,), (1372407910,), (1372407969,), (1372408020,), (1372408315,), (1372408336,), (1372408357,), (1372408370,), (1372408373,), (1372408389,), (1372408574,), (1372408596,), (1372408623,), (1372408665,), (1372408711,), (1372408740,), (1372408867,), (1372408881,), (1372408901,), (1372408915,), (1372408923,), (1372408951,), (1372409116,), (1372409140,), (1372409157,), (1372409185,), (1372409208,), (1372409216,), (1372409324,), (1372409458,), (1372409466,), (1372409503,), (1372409550,), (1372409594,), (1372409652,), (1372410079,), (1372410133,), (1372410190,), (1372410223,), (1372410244,), (1372410266,), (1372410441,), (1372410464,), (1372410505,), (1372410551,), (1372410594,), (1372410630,), (1372410825,), (1372410850,), (1372410879,), (1372410904,), (1372410936,), (1372410986,), (1372411354,), (1372411376,), (1372411398,), (1372411420,), (1372411446,), (1372411472,), (1372411645,), (1372411668,), (1372411689,), (1372411709,), (1372411730,), (1372411757,), (1372411916,), (1372411942,), (1372411963,), (1372411985,), (1372412010,), (1372412040,), (1372412252,), (1372412288,), (1372412314,), (1372412337,), (1372412361,), (1372412385,), (1372412447,), (1372412450,), (1372412453,), (1372412455,), (1372412458,), (1372412462,), (1372412554,), (1372412579,), (1372412600,), (1372412622,), (1372412642,), (1372412666,), (1372412845,), (1372412866,), (1372412887,), (1372412891,), (1372412895,), (1372412899,), (1372412986,), (1372413015,), (1372413041,), (1372413063,), (1372413083,), (1372413106,), (1372413161,), (1372413163,), (1372413166,), (1372413170,), (1372413177,), (1372413180,), (1372413388,), (1372413410,), (1372413431,), (1372413454,), (1372413478,), (1372413504,), (1372413634,), (1372413658,), (1372413666,), (1372413670,), (1372413683,), (1372413694,), (1372413722,), (1372413727,), (1372413756,), (1372413766,), (1372413778,), (1372413786,), (1372413813,), (1372413817,), (1372413820,), (1372413821,), (1372413824,), (1372413828,), (1372413858,), (1372413861,), (1372413862,), (1372413866,), (1372413872,), (1372413875,), (1372413898,), (1372413905,), (1372413909,), (1372413912,), (1372413916,), (1372413919,), (1372413938,), (1372413943,), (1372413947,), (1372413951,), (1372413955,), (1372413957,), (1372413984,), (1372413995,), (1372414000,), (1372414006,), (1372414010,), (1372414014,), (1372414031,), (1372414036,), (1372414039,), (1372414042,), (1372414047,), (1372414051,), (1372414075,), (1372414084,), (1372414090,), (1372414095,), (1372414099,), (1372414104,), (1372414174,), (1372414178,), (1372414183,), (1372414186,), (1372414189,), (1372414194,), (1372414233,), (1372414250,), (1372414256,), (1372414260,), (1372414264,), (1372414270,), (1372414285,), (1372414288,), (1372414292,), (1372414296,), (1372414301,), (1372414306,), (1372414324,), (1372414328,), (1372414329,), (1372414333,), (1372414338,), (1372414352,), (1372414537,), (1372414559,), (1372414586,), (1372414617,), (1372414636,), (1372414657,), (1372414872,), (1372414893,), (1372414916,), (1372414937,), (1372414958,), (1372414965,), (1372415122,), (1372415171,), (1372415192,), (1372415200,), (1372415235,), (1372415259,), (1372415418,), (1372415459,), (1372415497,), (1372415526,), (1372415543,), (1372415558,), (1372415698,), (1372415702,), (1372415707,), (1372415710,), (1372415714,), (1372415718,), (1372415736,), (1372415739,), (1372415742,), (1372415745,), (1372415748,), (1372415753,), (1372415820,), (1372415824,), (1372415828,), (1372415830,), (1372415834,), (1372415840,), (1372415950,), (1372416008,), (1372416053,), (1372416084,), (1372416108,), (1372416138,), (1372416451,), (1372416483,), (1372416514,), (1372416554,), (1372416594,), (1372416641,), (1372416866,), (1372416916,), (1372416940,), (1372416961,), (1372416983,), (1372417006,), (1372417208,), (1372417230,), (1372417252,), (1372417275,), (1372417298,), (1372417335,), (1372417576,), (1372417634,), (1372417667,), (1372417709,), (1372417735,), (1372417759,), (1372417892,), (1372417919,), (1372417957,), (1372418001,), (1372418049,), (1372418085,), (1372418300,), (1372418331,), (1372418386,), (1372418432,), (1372418454,), (1372418488,), (1372418554,), (1372418579,), (1372418598,), (1372418620,), (1372418642,), (1372418665,), (1372418768,), (1372418778,), (1372418780,), (1372418793,), (1372418817,), (1372418852,), (1372419229,), (1372419258,), (1372419278,), (1372419322,), (1372419356,), (1372419379,), (1372419590,), (1372419631,), (1372419679,), (1372419722,), (1372419766,), (1372419812,), (1372420061,), (1372420097,), (1372420144,), (1372420183,), (1372420231,), (1372420279,), (1372420624,), (1372420676,), (1372420725,), (1372420785,), (1372420839,), (1372420917,), (1372421671,), (1372422362,), (1372422427,), (1372422524,), (1372422589,), (1372422662,), (1372422718,), (1372423300,), (1372423387,), (1372423472,), (1372423554,), (1372423633,), (1372423704,), (1372424188,), (1372424242,), (1372424288,), (1372424322,), (1372424370,), (1372424431,), (1372425654,), (1372425730,), (1372425797,), (1372425883,), (1372425979,), (1372426107,), (1372439935,), (1372426856,), (1372426917,), (1372426978,), (1372427060,), (1372427141,), (1372427223,), (1372427876,), (1372427977,), (1372428031,), (1372428141,), (1372428251,), (1372428336,), (1372428850,), (1372428919,), (1372428948,), (1372428991,), (1372429079,), (1372429140,), (1372429930,), (1372430046,), (1372430185,), (1372430285,), (1372430358,), (1372430448,), (1372430876,), (1372430944,), (1372430993,), (1372431010,), (1372431034,), (1372431052,), (1372431302,), (1372431348,), (1372431410,), (1372431447,), (1372431507,), (1372431585,), (1372431999,), (1372432048,), (1372432095,), (1372432164,), (1372432225,), (1372432257,), (1372432808,), (1372432841,), (1372432886,), (1372432915,), (1372432937,), (1372432983,), (1372433349,), (1372433380,), (1372433423,), (1372433505,), (1372433581,), (1372433647,), (1372434118,), (1372434143,), (1372434171,), (1372434218,), (1372434261,), (1372434296,), (1372434595,), (1372434603,), (1372434624,), (1372434647,), (1372434651,), (1372434672,), (1372435005,), (1372435071,), (1372435107,), (1372435148,), (1372435192,), (1372435219,), (1372435480,), (1372436369,), (1372437125,), (1372437184,), (1372437254,), (1372437300,), (1372437339,), (1372437370,), (1372437662,), (1372437712,), (1372437760,), (1372437817,), (1372437862,), (1372437918,), (1372438126,), (1372438151,), (1372438175,), (1372438186,), (1372438188,), (1372438193,), (1372438313,), (1372438366,), (1372438408,), (1372438449,), (1372438509,), (1372438552,), (1372438712,), (1372438735,), (1372438756,), (1372438778,), (1372438798,), (1372438823,), (1372438919,), (1372438942,), (1372438964,), (1372438985,), (1372439012,), (1372439034,), (1372439129,), (1372439132,), (1372439136,), (1372439140,), (1372439145,), (1372439154,), (1372439426,), (1372439449,), (1372439468,), (1372439492,), (1372439507,), (1372439557,), (1372439593,), (1372439614,), (1372439618,), (1372439633,), (1372439637,), (1372439642,), (1372439712,), (1372439727,), (1372439737,), (1372439741,), (1372439745,), (1372439749,), (1372439854,), (1372439982,), (1372439994,), (1372439998,), (1372440003,), (1372440006,), (1372440009,), (1372440016,), (1372440020,), (1372440023,), (1372440027,), (1372440033,), (1372440037,), (1372440054,), (1372440058,), (1372440061,), (1372440064,), (1372440068,), (1372440074,), (1372440095,), (1372440105,), (1372440108,), (1372440112,), (1372440118,), (1372440122,), (1372440139,), (1372440143,), (1372440154,), (1372440155,), (1372440159,), (1372440165,), (1372440268,), (1372440270,), (1372440276,), (1372440280,), (1372440311,), (1372440317,), (1372440370,), (1372440390,), (1372440397,), (1372440411,), (1372440418,), (1372440449,), (1372440521,), (1372440530,), (1372440534,), (1372440536,), (1372440539,), (1372440541,), (1372440591,), (1372440601,), (1372440609,), (1372440611,), (1372440614,), (1372440644,), (1372440664,), (1372440669,), (1372440672,), (1372440676,), (1372440679,), (1372440683,), (1372440702,), (1372440705,), (1372440708,), (1372440712,), (1372440714,), (1372440718,), (1372440768,), (1372440805,), (1372440819,), (1372440832,), (1372440839,), (1372440847,), (1372440882,), (1372440890,), (1372440893,), (1372440928,), (1372440996,), (1372441004,), (1372441064,), (1372441099,), (1372441104,), (1372441111,), (1372441138,), (1372441148,), (1372441234,), (1372441238,), (1372441240,), (1372441242,), (1372441248,), (1372441254,), (1372441352,), (1372441356,), (1372441364,), (1372441369,), (1372441373,), (1372441377,), (1372441397,), (1372441399,), (1372441401,), (1372441402,), (1372441406,), (1372441409,), (1372441572,), (1372441592,), (1372441633,), (1372441661,), (1372441684,), (1372441696,), (1372441834,), (1372442343,), (1372442386,), (1372442424,), (1372442447,), (1372442468,), (1372442487,), (1372442755,), (1372442789,), (1372442815,), (1372442836,), (1372442860,), (1372442896,), (1372443101,), (1372443188,), (1372443255,), (1372443321,), (1372443373,), (1372443404,), (1372443815,), (1372443834,), (1372443875,), (1372443932,), (1372443975,), (1372444028,), (1372444320,), (1372444398,), (1372444460,), (1372444522,), (1372444586,), (1372444622,), (1372444999,), (1372445094,), (1372445172,), (1372445253,), (1372445329,), (1372445431,), (1372445891,), (1372445944,), (1372445993,), (1372446019,), (1372446072,), (1372446109,), (1372446420,), (1372446450,), (1372446471,), (1372446509,), (1372446535,), (1372446562,), (1372446827,), (1372446885,), (1372446929,), (1372446965,), (1372447032,), (1372447081,), (1372447350,), (1372447393,), (1372447411,), (1372447427,), (1372447451,), (1372447466,), (1372447537,), (1372447561,), (1372447565,), (1372447586,), (1372447605,), (1372447639,), (1372447814,), (1372447818,), (1372447822,), (1372447860,), (1372447907,), (1372447939,), (1372448305,), (1372448340,), (1372448375,), (1372448416,), (1372448466,), (1372448475,), (1372448589,), (1372448600,), (1372448610,), (1372448613,), (1372448644,), (1372448673,), (1372449331,), (1372449386,), (1372449432,), (1372449489,), (1372449542,), (1372449622,), (1372467579,), (1372467614,), (1372467640,), (1372467671,), (1372467696,), (1372467701,), (1372467817,), (1372467838,), (1372467862,), (1372467916,), (1372467988,), (1372468062,), (1372468567,), (1372468628,), (1372468682,), (1372468774,), (1372468852,), (1372468910,), (1372469243,), (1372469286,), (1372469321,), (1372469345,), (1372469370,), (1372469392,), (1372469590,), (1372469637,), (1372469678,), (1372469730,), (1372469773,), (1372469795,), (1372470064,), (1372470102,), (1372470149,), (1372470198,), (1372470246,), (1372470303,), (1372470653,), (1372470703,), (1372470776,), (1372470851,), (1372470927,), (1372470985,), (1372471229,), (1372471320,), (1372471394,), (1372471495,), (1372471605,), (1372471659,), (1372471702,), (1372472026,), (1372472029,), (1372472031,), (1372472042,), (1372472065,), (1372472089,), (1372472173,), (1372472177,), (1372472179,), (1372472183,), (1372472185,), (1372472188,), (1372472264,), (1372472292,), (1372472315,), (1372472341,), (1372472365,), (1372472390,), (1372472567,), (1372472594,), (1372472605,), (1372472619,), (1372472631,), (1372472655,), (1372473146,), (1372473189,), (1372473234,), (1372473275,), (1372473325,), (1372473371,), (1372473693,), (1372473718,), (1372473740,), (1372473764,), (1372473789,), (1372473835,), (1372474212,), (1372474263,), (1372474308,), (1372474370,), (1372474435,), (1372474507,), (1372474870,), (1372474892,), (1372474912,), (1372474932,), (1372474954,), (1372474979,), (1372475200,), (1372475241,), (1372475282,), (1372475319,), (1372475356,), (1372475400,), (1372475727,), (1372475782,), (1372475817,), (1372475838,), (1372475875,), (1372475916,), (1372476145,), (1372476191,), (1372476231,), (1372476269,), (1372476307,), (1372476351,), (1372476673,), (1372477042,), (1372477068,), (1372477098,), (1372477124,), (1372477145,), (1372477177,), (1372477379,), (1372477398,), (1372477418,), (1372477439,), (1372477460,), (1372477473,), (1372477502,), (1372477504,), (1372477506,), (1372477508,), (1372477510,), (1372477525,), (1372477752,), (1372477779,), (1372477802,), (1372477826,), (1372477857,), (1372477880,), (1372477919,), (1372477924,), (1372477929,), (1372477955,), (1372477976,), (1372478004,), (1372478160,), (1372478161,), (1372478162,), (1372478163,), (1372478166,), (1372478171,), (1372478193,), (1372478212,), (1372478231,), (1372478252,), (1372478273,), (1372478301,), (1372478493,), (1372478517,), (1372478539,), (1372478554,), (1372478558,), (1372478577,), (1372478665,), (1372478678,), (1372478679,), (1372478684,), (1372478714,), (1372478718,), (1372478756,), (1372478758,), (1372478760,), (1372478762,), (1372478764,), (1372478768,), (1372478787,), (1372478794,), (1372478796,), (1372478797,), (1372478800,), (1372478805,), (1372478831,), (1372479002,), (1372479028,), (1372479049,), (1372479071,), (1372479093,), (1372479115,), (1372479348,), (1372479363,), (1372479379,), (1372479396,), (1372479410,), (1372479428,), (1372479655,), (1372479677,), (1372479702,), (1372479725,), (1372479746,), (1372479772,), (1372479915,), (1372479931,), (1372479950,), (1372479969,), (1372479984,), (1372479997,), (1372480170,), (1372480194,), (1372480218,), (1372480243,), (1372480265,), (1372480286,), (1372480378,), (1372480382,), (1372480384,), (1372480387,), (1372480389,), (1372480391,), (1372480404,), (1372480433,), (1372480456,), (1372480480,), (1372480500,), (1372480527,), (1372480678,), (1372480697,), (1372480719,), (1372480737,), (1372480759,), (1372480781,), (1372480951,), (1372480956,), (1372480959,), (1372480961,), (1372480971,), (1372480992,), (1372481087,), (1372481091,), (1372481094,), (1372481096,), (1372481098,), (1372481100,), (1372481179,), (1372481199,), (1372481217,), (1372481240,), (1372481260,), (1372481278,), (1372481520,), (1372481525,), (1372481539,), (1372481546,), (1372481553,), (1372481562,), (1372481577,), (1372481579,), (1372481581,), (1372481582,), (1372481583,), (1372481585,), (1372481615,), (1372481617,), (1372481620,), (1372481622,), (1372481624,), (1372481626,), (1372481638,), (1372481641,), (1372481644,), (1372481646,), (1372481649,), (1372481652,), (1372481821,), (1372481847,), (1372481872,), (1372481892,), (1372481915,), (1372481940,), (1372482063,), (1372482065,), (1372482085,), (1372482117,), (1372482160,), (1372482199,), (1372482591,), (1372482652,), (1372482718,), (1372482766,), (1372482803,), (1372482845,), (1372483237,), (1372483289,), (1372483315,), (1372483343,), (1372483383,), (1372483411,), (1372483832,), (1372483845,), (1372483854,), (1372483872,), (1372483916,), (1372483978,), (1372484100,), (1372484119,), (1372484147,), (1372484173,), (1372484179,), (1372484181,), (1372484274,), (1372484295,), (1372484315,), (1372484335,), (1372484354,), (1372484379,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17072025': {'nb_upload': 66, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25033517]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100] map_info['map_portfolio_photo'] : {25033517: [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100, 1372483978, 1372483916, 1372483872, 1372483854, 1372483845, 1372483832, 1372483411, 1372483383, 1372483343, 1372483315, 1372483289, 1372483237, 1372482845, 1372482803, 1372482766, 1372482718, 1372482652, 1372482591, 1372482199, 1372482160, 1372482117, 1372482085, 1372482065, 1372482063, 1372481940, 1372481915, 1372481892, 1372481872, 1372481847, 1372481821, 1372481652, 1372481649, 1372481646, 1372481644, 1372481641, 1372481638, 1372481626, 1372481624, 1372481622, 1372481620, 1372481617, 1372481615, 1372481585, 1372481583, 1372481582, 1372481581, 1372481579, 1372481577, 1372481562, 1372481553, 1372481546, 1372481539, 1372481525, 1372481520]} final : True mtd_id 4302 list_pids : [1372484379, 1372484354, 1372484335, 1372484315, 1372484295, 1372484274, 1372484181, 1372484179, 1372484173, 1372484147, 1372484119, 1372484100] Looping around the photos to save general results len do output : 1 /25033517Didn'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, '3303644') ('4302', '25033517', '1372484379', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484354', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484335', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484315', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484295', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484274', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484181', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484179', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484173', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484147', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484119', None, None, None, None, None, '3303644') ('4302', None, None, None, None, None, None, None, '3303644') ('4302', '25033517', '1372484100', None, None, None, None, None, '3303644') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 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, '25033517', 'None', None, None, None, None, '3303644'), ('4302', '25033517', '1372484379', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484354', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484335', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484315', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484295', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484274', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484181', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484179', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484173', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484147', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484119', None, None, None, None, None, '3303644'), ('4302', '25033517', '1372484100', None, None, None, None, None, '3303644')] time used for this insertion : 0.018021106719970703 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.195862293243408 time spend to save output : 0.018280029296875 total time spend for step 5 : 4.214142322540283 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 (3303644) 2.16user 2.49system 0:10.97elapsed 42%CPU (0avgtext+0avgdata 166772maxresident)k 576inputs+12152outputs (16major+65818minor)pagefaults 0swaps