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 : 848516 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 (4073626) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4073626) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28663984 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4073626'] with mtr_portfolio_ids : ['28663984'] and first list_photo_ids : [] new path : /proc/848516/ Name: python3 Umask: 0002 State: R (running) Tgid: 848516 Ngid: 0 Pid: 848516 PPid: 848515 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 848516 NSpid: 848516 NSpgid: 847975 NSsid: 847975 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98840 kB VmRSS: 98840 kB RssAnon: 59904 kB RssFile: 38936 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 544 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: 43 nonvoluntary_ctxt_switches: 224 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '848516', 'Ngid': '0', 'Pid': '848516', 'PPid': '848515', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '848516', 'NSpid': '848516', 'NSpgid': '847975', 'NSsid': '847975', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98840 kB', 'VmRSS': '98840 kB', 'RssAnon': '59904 kB', 'RssFile': '38936 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '544 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': '43', 'nonvoluntary_ctxt_switches': '224'} ('datou_batch_current', '848516', '1106908', '0', '1106884', '865636', '98840', b'', 'marlene', '4073626') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (28663984) 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 (4073626 ) ) 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 (28663984) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1395064287, 'portfolio_id': 28663984}, {'photo_id': 1395064213, 'portfolio_id': 28663984}, {'photo_id': 1395064198, 'portfolio_id': 28663984}, {'photo_id': 1395064195, 'portfolio_id': 28663984}, {'photo_id': 1395064179, 'portfolio_id': 28663984}, {'photo_id': 1395064148, 'portfolio_id': 28663984}, {'photo_id': 1395064147, 'portfolio_id': 28663984}, {'photo_id': 1395064102, 'portfolio_id': 28663984}, {'photo_id': 1395064001, 'portfolio_id': 28663984}, {'photo_id': 1395063967, 'portfolio_id': 28663984}, {'photo_id': 1395063963, 'portfolio_id': 28663984}, {'photo_id': 1395063960, 'portfolio_id': 28663984}, {'photo_id': 1395063950, 'portfolio_id': 28663984}, {'photo_id': 1395063947, 'portfolio_id': 28663984}, {'photo_id': 1395063943, 'portfolio_id': 28663984}, {'photo_id': 1395063939, 'portfolio_id': 28663984}, {'photo_id': 1395063937, 'portfolio_id': 28663984}, {'photo_id': 1395063935, 'portfolio_id': 28663984}, {'photo_id': 1395063918, 'portfolio_id': 28663984}, {'photo_id': 1395063914, 'portfolio_id': 28663984}, {'photo_id': 1395063912, 'portfolio_id': 28663984}, {'photo_id': 1395063911, 'portfolio_id': 28663984}, {'photo_id': 1395063910, 'portfolio_id': 28663984}, {'photo_id': 1395063852, 'portfolio_id': 28663984}, {'photo_id': 1395063850, 'portfolio_id': 28663984}, {'photo_id': 1395063843, 'portfolio_id': 28663984}, {'photo_id': 1395063799, 'portfolio_id': 28663984}, {'photo_id': 1395063767, 'portfolio_id': 28663984}, {'photo_id': 1395063736, 'portfolio_id': 28663984}, {'photo_id': 1395063735, 'portfolio_id': 28663984}, {'photo_id': 1395063734, 'portfolio_id': 28663984}, {'photo_id': 1395063471, 'portfolio_id': 28663984}, {'photo_id': 1395063437, 'portfolio_id': 28663984}, {'photo_id': 1395063404, 'portfolio_id': 28663984}, {'photo_id': 1395063371, 'portfolio_id': 28663984}, {'photo_id': 1395062880, 'portfolio_id': 28663984}, {'photo_id': 1395062875, 'portfolio_id': 28663984}, {'photo_id': 1395062871, 'portfolio_id': 28663984}, {'photo_id': 1395062869, 'portfolio_id': 28663984}, {'photo_id': 1395062867, 'portfolio_id': 28663984}, {'photo_id': 1395062807, 'portfolio_id': 28663984}] map_portfolio_id_photo_id: {28663984: [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807]} ##### 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.02536296844482422 #### 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 Wed Nov 19 06:09:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28663984) 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 : 28663984 get user id for portfolio 28663984 get sub ptf for main ptf 28663984, type 3726 and hashtags ['mal_croppe', 'flou', 'plastique', 'cartonnette', 'Carton_brun', 'environnement', 'Teint_Dans_La_Masse', 'metal', 'Carton_gris', 'kraft', 'papier', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28663984 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','plastique','cartonnette','Carton_brun','environnement','Teint_Dans_La_Masse','metal','Carton_gris','kraft','papier','autre_refus')) 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`=28663984 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','plastique','cartonnette','Carton_brun','environnement','Teint_Dans_La_Masse','metal','Carton_gris','kraft','papier','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 28663984, 'sub_port_id': 28663997, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438284, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'environnement': {'main_port_id': 28663984, 'sub_port_id': 28663998, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438285, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'cartonnette': {'main_port_id': 28663984, 'sub_port_id': 28663999, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438286, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'Carton_gris': {'main_port_id': 28663984, 'sub_port_id': 28664000, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438287, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'metal': {'main_port_id': 28663984, 'sub_port_id': 28664001, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438288, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'mal_croppe': {'main_port_id': 28663984, 'sub_port_id': 28664002, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438289, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'Carton_brun': {'main_port_id': 28663984, 'sub_port_id': 28664003, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438290, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'plastique': {'main_port_id': 28663984, 'sub_port_id': 28664004, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438291, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'autre_refus': {'main_port_id': 28663984, 'sub_port_id': 28664005, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438292, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'papier': {'main_port_id': 28663984, 'sub_port_id': 28664006, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438293, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 28663984, 'sub_port_id': 28664007, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438294, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}, 'flou': {'main_port_id': 28663984, 'sub_port_id': 28664008, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438295, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 2, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28663997 , 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=28663984 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 (28663997) result : ((1395064051,), (1395064052,), (1395064053,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28663998 , 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=28663984 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 (28663998) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28663999 , 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=28663984 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 (28663999) result : ((1395064045,), (1395064046,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664000 , 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=28663984 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 (28664000) result : ((1395063996,), (1395063997,), (1395063998,), (1395063999,), (1395064000,), (1395064042,), (1395064043,), (1395064135,), (1395064136,), (1395064143,), (1395066741,), (1395067064,), (1395067065,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664001 , 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=28663984 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 (28664001) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664002 , 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=28663984 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 (28664002) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664003 , 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=28663984 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 (28664003) result : ((1395064002,), (1395064049,), (1395064050,), (1395064137,), (1395064138,), (1395064509,), (1395064510,), (1395066746,), (1395066747,), (1395066748,), (1395066749,), (1395066750,), (1395067066,), (1395067068,), (1395067214,), (1395067215,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664004 , 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=28663984 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 (28664004) result : ((1395064064,), (1395067216,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664005 , 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=28663984 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 (28664005) result : ((1395063992,), (1395063994,), (1395063995,), (1395064132,), (1395066740,), (1395067063,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664006 , 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=28663984 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 (28664006) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664007 , 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=28663984 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 (28664007) result : ((1395063988,), (1395063989,), (1395063990,), (1395063991,), (1395064038,), (1395064039,), (1395064040,), (1395064059,), (1395064060,), (1395064061,), (1395064062,), (1395064063,), (1395064126,), (1395064127,), (1395064129,), (1395064130,), (1395064131,), (1395067058,), (1395067059,), (1395067060,), (1395067061,), (1395067062,), (1395067206,), (1395067207,), (1395067208,), (1395067209,), (1395067210,), (1395067211,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28664008 , 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=28663984 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 (28664008) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28663984) result : ((1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28663984 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','plastique','cartonnette','Carton_brun','environnement','Teint_Dans_La_Masse','metal','Carton_gris','kraft','papier','autre_refus')) 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`=28663984 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','plastique','cartonnette','Carton_brun','environnement','Teint_Dans_La_Masse','metal','Carton_gris','kraft','papier','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 28663984, 'sub_port_id': 28664009, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438296, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'environnement': {'main_port_id': 28663984, 'sub_port_id': 28664010, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438297, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'cartonnette': {'main_port_id': 28663984, 'sub_port_id': 28664011, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438298, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'Carton_gris': {'main_port_id': 28663984, 'sub_port_id': 28664012, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438299, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'metal': {'main_port_id': 28663984, 'sub_port_id': 28664013, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438300, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'mal_croppe': {'main_port_id': 28663984, 'sub_port_id': 28664014, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438301, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'Carton_brun': {'main_port_id': 28663984, 'sub_port_id': 28664015, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438302, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'plastique': {'main_port_id': 28663984, 'sub_port_id': 28664016, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438303, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'autre_refus': {'main_port_id': 28663984, 'sub_port_id': 28664017, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438304, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'papier': {'main_port_id': 28663984, 'sub_port_id': 28664018, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438305, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'Teint_Dans_La_Masse': {'main_port_id': 28663984, 'sub_port_id': 28664019, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438306, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}, 'flou': {'main_port_id': 28663984, 'sub_port_id': 28664020, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19438307, 'last_updated_at': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 18, 16, 16, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 18, 16, 3)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664009,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28663997 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664010,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28663998 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664011,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28663999 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664012,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664000 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664013,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664001 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664014,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664002 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664015,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664003 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664016,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664004 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664017,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664005 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664018,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664006 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664019,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664007 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28664020,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28664008 lien utilise dans velours : https://marlene.fotonower.com/velours/28664009,28664010,28664011,28664012,28664013,28664014,28664015,28664016,28664017,28664018,28664019,28664020?tags=kraft,environnement,cartonnette,Carton_gris,metal,mal_croppe,Carton_brun,plastique,autre_refus,papier,Teint_Dans_La_Masse,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28663984]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807] map_info['map_portfolio_photo'] : {28663984: [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807]} final : False mtd_id 4302 list_pids : [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807] Looping around the photos to save general results len do output : 1 /28663984. 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, '4073626') ('4302', '28663984', '1395064287', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064213', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064198', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064195', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064179', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064148', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064147', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064102', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064001', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063967', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063963', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063960', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063950', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063947', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063943', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063939', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063937', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063935', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063918', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063914', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063912', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063911', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063910', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063852', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063850', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063843', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063799', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063767', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063736', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063735', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063734', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063471', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063437', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063404', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063371', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062880', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062875', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062871', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062869', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062867', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062807', None, None, None, None, None, '4073626') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '28663984', "{'kraft': 28663997, 'environnement': 28663998, 'cartonnette': 28663999, 'Carton_gris': 28664000, 'metal': 28664001, 'mal_croppe': 28664002, 'Carton_brun': 28664003, 'plastique': 28664004, 'autre_refus': 28664005, 'papier': 28664006, 'Teint_Dans_La_Masse': 28664007, 'flou': 28664008}", None, None, None, None, '4073626'), ('4302', '28663984', '1395064287', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064213', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064198', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064195', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064179', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064148', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064147', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064102', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064001', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063967', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063963', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063960', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063950', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063947', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063943', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063939', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063937', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063935', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063918', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063914', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063912', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063911', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063910', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063852', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063850', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063843', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063799', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063767', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063736', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063735', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063734', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063471', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063437', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063404', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063371', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062880', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062875', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062871', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062869', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062867', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062807', None, None, None, None, None, '4073626')] time used for this insertion : 0.02112126350402832 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.719062328338623 time spend to save output : 0.021679162979125977 total time spend for step 1 : 1.740741491317749 step2:final Wed Nov 19 06:09:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (28663984) 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 28663984 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1395062807,1395062880,1395062875,1395062871,1395062869,1395062867,1395063471,1395063437,1395063404,1395063371,1395063799,1395063767,1395063736,1395063735,1395063734,1395063852,1395063850,1395063843,1395063918,1395063914,1395063912,1395063911,1395063910,1395063950,1395063947,1395063943,1395063939,1395063937,1395063935,1395063967,1395063963,1395063960,1395064001,1395064102,1395064148,1395064147,1395064213,1395064198,1395064195,1395064179,1395064287); 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([28663984]) Inside saveOutput : final : False verbose : True original output for save of step final : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} new output for save of step final : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807] map_info['map_portfolio_photo'] : {28663984: [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807]} final : False mtd_id 4302 list_pids : [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807] Looping around the photos to save general results len do output : 41 /1395064287.Didn't retrieve data . /1395064213.Didn't retrieve data . /1395064198.Didn't retrieve data . /1395064195.Didn't retrieve data . /1395064179.Didn't retrieve data . /1395064148.Didn't retrieve data . /1395064147.Didn't retrieve data . /1395064102.Didn't retrieve data . /1395064001.Didn't retrieve data . /1395063967.Didn't retrieve data . /1395063963.Didn't retrieve data . /1395063960.Didn't retrieve data . /1395063950.Didn't retrieve data . /1395063947.Didn't retrieve data . /1395063943.Didn't retrieve data . /1395063939.Didn't retrieve data . /1395063937.Didn't retrieve data . /1395063935.Didn't retrieve data . /1395063918.Didn't retrieve data . /1395063914.Didn't retrieve data . /1395063912.Didn't retrieve data . /1395063911.Didn't retrieve data . /1395063910.Didn't retrieve data . /1395063852.Didn't retrieve data . /1395063850.Didn't retrieve data . /1395063843.Didn't retrieve data . /1395063799.Didn't retrieve data . /1395063767.Didn't retrieve data . /1395063736.Didn't retrieve data . /1395063735.Didn't retrieve data . /1395063734.Didn't retrieve data . /1395063471.Didn't retrieve data . /1395063437.Didn't retrieve data . /1395063404.Didn't retrieve data . /1395063371.Didn't retrieve data . /1395062880.Didn't retrieve data . /1395062875.Didn't retrieve data . /1395062871.Didn't retrieve data . /1395062869.Didn't retrieve data . /1395062867.Didn't retrieve data . /1395062807.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, '4073626') ('4302', '28663984', '1395064287', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064213', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064198', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064195', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064179', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064148', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064147', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064102', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064001', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063967', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063963', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063960', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063950', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063947', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063943', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063939', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063937', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063935', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063918', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063914', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063912', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063911', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063910', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063852', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063850', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063843', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063799', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063767', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063736', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063735', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063734', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063471', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063437', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063404', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063371', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062880', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062875', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062871', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062869', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062867', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062807', None, None, None, None, None, '4073626') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 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', '28663984', '1395064287', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395064213', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395064198', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395064195', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395064179', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395064148', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395064147', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395064102', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395064001', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063967', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063963', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063960', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063950', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063947', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063943', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063939', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063937', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063935', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063918', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063914', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063912', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063911', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063910', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063852', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063850', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063843', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063799', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063767', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063736', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063735', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063734', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063471', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063437', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063404', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395063371', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395062880', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395062875', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395062871', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395062869', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395062867', '0.06925278977230764', None, None, None, None, '4073626'), ('4302', '28663984', '1395062807', '0.06925278977230764', None, None, None, None, '4073626')] time used for this insertion : 0.020633935928344727 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06673073768615723 time spend to save output : 0.022362232208251953 total time spend for step 2 : 0.08909296989440918 step3:velours_tree Wed Nov 19 06:09:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {28663984: [{'kraft': 28663997, 'environnement': 28663998, 'cartonnette': 28663999, 'Carton_gris': 28664000, 'metal': 28664001, 'mal_croppe': 28664002, 'Carton_brun': 28664003, 'plastique': 28664004, 'autre_refus': 28664005, 'papier': 28664006, 'Teint_Dans_La_Masse': 28664007, 'flou': 28664008}]} input_args_next_step : {28663984: ()} output_args : {28663984: [{'kraft': 28663997, 'environnement': 28663998, 'cartonnette': 28663999, 'Carton_gris': 28664000, 'metal': 28664001, 'mal_croppe': 28664002, 'Carton_brun': 28664003, 'plastique': 28664004, 'autre_refus': 28664005, 'papier': 28664006, 'Teint_Dans_La_Masse': 28664007, 'flou': 28664008}]} args : 28663984 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 : ({'kraft': 28663997, 'environnement': 28663998, 'cartonnette': 28663999, 'Carton_gris': 28664000, 'metal': 28664001, 'mal_croppe': 28664002, 'Carton_brun': 28664003, 'plastique': 28664004, 'autre_refus': 28664005, 'papier': 28664006, 'Teint_Dans_La_Masse': 28664007, 'flou': 28664008},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28663984) 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([28663984]) 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.3144993782043457 time spend to save output : 5.125999450683594e-05 total time spend for step 3 : 0.31455063819885254 step4:send_mail_cod Wed Nov 19 06:09:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} input_args_next_step : {1395064287: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064287 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064213 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064198 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064195 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064179 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064148 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064147 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064102 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395064001 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063967 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063963 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063960 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063950 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063947 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063943 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063939 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063937 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063935 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063918 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063914 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063912 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063911 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063910 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063852 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063850 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063843 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063799 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063767 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063736 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063735 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063734 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063471 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063437 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063404 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395063371 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395062880 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395062875 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395062871 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395062869 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395062867 depend.output_id : 0 input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ()} output_args : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',)} args : 1395062807 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 : {28663984: [{'kraft': 28663997, 'environnement': 28663998, 'cartonnette': 28663999, 'Carton_gris': 28664000, 'metal': 28664001, 'mal_croppe': 28664002, 'Carton_brun': 28664003, 'plastique': 28664004, 'autre_refus': 28664005, 'papier': 28664006, 'Teint_Dans_La_Masse': 28664007, 'flou': 28664008}]} input_args_next_step : {1395064287: ('0.06925278977230764',), 1395064213: ('0.06925278977230764',), 1395064198: ('0.06925278977230764',), 1395064195: ('0.06925278977230764',), 1395064179: ('0.06925278977230764',), 1395064148: ('0.06925278977230764',), 1395064147: ('0.06925278977230764',), 1395064102: ('0.06925278977230764',), 1395064001: ('0.06925278977230764',), 1395063967: ('0.06925278977230764',), 1395063963: ('0.06925278977230764',), 1395063960: ('0.06925278977230764',), 1395063950: ('0.06925278977230764',), 1395063947: ('0.06925278977230764',), 1395063943: ('0.06925278977230764',), 1395063939: ('0.06925278977230764',), 1395063937: ('0.06925278977230764',), 1395063935: ('0.06925278977230764',), 1395063918: ('0.06925278977230764',), 1395063914: ('0.06925278977230764',), 1395063912: ('0.06925278977230764',), 1395063911: ('0.06925278977230764',), 1395063910: ('0.06925278977230764',), 1395063852: ('0.06925278977230764',), 1395063850: ('0.06925278977230764',), 1395063843: ('0.06925278977230764',), 1395063799: ('0.06925278977230764',), 1395063767: ('0.06925278977230764',), 1395063736: ('0.06925278977230764',), 1395063735: ('0.06925278977230764',), 1395063734: ('0.06925278977230764',), 1395063471: ('0.06925278977230764',), 1395063437: ('0.06925278977230764',), 1395063404: ('0.06925278977230764',), 1395063371: ('0.06925278977230764',), 1395062880: ('0.06925278977230764',), 1395062875: ('0.06925278977230764',), 1395062871: ('0.06925278977230764',), 1395062869: ('0.06925278977230764',), 1395062867: ('0.06925278977230764',), 1395062807: ('0.06925278977230764',), 28663984: ()} output_args : {28663984: [{'kraft': 28663997, 'environnement': 28663998, 'cartonnette': 28663999, 'Carton_gris': 28664000, 'metal': 28664001, 'mal_croppe': 28664002, 'Carton_brun': 28664003, 'plastique': 28664004, 'autre_refus': 28664005, 'papier': 28664006, 'Teint_Dans_La_Masse': 28664007, 'flou': 28664008}]} args : 28663984 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 :42, first value : ('0.06925278977230764',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28663984) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1395064287,1395064213,1395064198,1395064195,1395064179,1395064148,1395064147,1395064102,1395064001,1395063967,1395063963,1395063960,1395063950,1395063947,1395063943,1395063939,1395063937,1395063935,1395063918,1395063914,1395063912,1395063911,1395063910,1395063852,1395063850,1395063843,1395063799,1395063767,1395063736,1395063735,1395063734,1395063471,1395063437,1395063404,1395063371,1395062880,1395062875,1395062871,1395062869,1395062867,1395062807) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1395062807 begin to download photo : 1395063471 begin to download photo : 1395063910 begin to download photo : 1395063947 begin to download photo : 1395064179 download finish for photo 1395064179 begin to download photo : 1395064195 download finish for photo 1395063910 begin to download photo : 1395063911 download finish for photo 1395063471 begin to download photo : 1395063734 download finish for photo 1395063947 begin to download photo : 1395063950 download finish for photo 1395062807 begin to download photo : 1395062867 download finish for photo 1395064195 begin to download photo : 1395064198 download finish for photo 1395063950 begin to download photo : 1395063960 download finish for photo 1395063911 begin to download photo : 1395063912 download finish for photo 1395063734 begin to download photo : 1395063735 download finish for photo 1395062867 begin to download photo : 1395062869 download finish for photo 1395064198 begin to download photo : 1395064213 download finish for photo 1395063960 begin to download photo : 1395063963 download finish for photo 1395063912 begin to download photo : 1395063914 download finish for photo 1395063735 begin to download photo : 1395063736 download finish for photo 1395062869 begin to download photo : 1395062871 download finish for photo 1395064213 begin to download photo : 1395064287 download finish for photo 1395063963 begin to download photo : 1395063967 download finish for photo 1395063736 begin to download photo : 1395063767 download finish for photo 1395062871 begin to download photo : 1395062875 download finish for photo 1395063914 begin to download photo : 1395063918 download finish for photo 1395063967 begin to download photo : 1395064001 download finish for photo 1395064287 download finish for photo 1395063767 begin to download photo : 1395063799 download finish for photo 1395062875 begin to download photo : 1395062880 download finish for photo 1395064001 begin to download photo : 1395064102 download finish for photo 1395063918 begin to download photo : 1395063935 download finish for photo 1395063799 begin to download photo : 1395063843 download finish for photo 1395062880 begin to download photo : 1395063371 download finish for photo 1395063935 begin to download photo : 1395063937 download finish for photo 1395064102 begin to download photo : 1395064147 download finish for photo 1395063843 begin to download photo : 1395063850 download finish for photo 1395063371 begin to download photo : 1395063404 download finish for photo 1395064147 begin to download photo : 1395064148 download finish for photo 1395063850 begin to download photo : 1395063852 download finish for photo 1395063404 begin to download photo : 1395063437 download finish for photo 1395063937 begin to download photo : 1395063939 download finish for photo 1395064148 download finish for photo 1395063939 begin to download photo : 1395063943 download finish for photo 1395063852 download finish for photo 1395063437 download finish for photo 1395063943 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P28663984_19-11-2025_06_09_33.pdf 28663997 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28663997 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395064051: '1763478666_1398856_1395063799_77876725576dd3f191547708aa5b6e67_rle_crop_4037739986_0.png', 1395064052: '1763478666_1398856_1395063404_b2f5baae984b945d828a2670f11b2ccb_rle_crop_4037740022_0.png', 1395064053: '1763478666_1398856_1395063371_93dd84eac857dcc4ac02955d475a689e_rle_crop_4037740039_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/c6cef0e38a1d24b077ffd7dd2534a2d5_65496446.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/9f07ea0d05a18559aba0a3ac188ee759_62040752.png change filename to text .imagette286639971763528973/ imagette286639971763528973/1763478666_1398856_1395063404_b2f5baae984b945d828a2670f11b2ccb_rle_crop_4037740022_0.png.png imagette286639971763528973/1763478666_1398856_1395063371_93dd84eac857dcc4ac02955d475a689e_rle_crop_4037740039_0.png.png imagette286639971763528973/1763478666_1398856_1395063799_77876725576dd3f191547708aa5b6e67_rle_crop_4037739986_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/cf6dfc1368c918df090890a8f4be95c8_95792868.png imagette286639971763528973 28663999 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28663999 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395064045: '1763478666_1398856_1395063437_1f92a392d6140e9b87674a0de3c06e30_rle_crop_4037740005_0.png', 1395064046: '1763478666_1398856_1395063404_b2f5baae984b945d828a2670f11b2ccb_rle_crop_4037740019_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/9c0ec3a2f5cf477f08efd65363f52208_3651155.png change filename to text .imagette286639991763528973/ imagette286639991763528973/1763478666_1398856_1395063437_1f92a392d6140e9b87674a0de3c06e30_rle_crop_4037740005_0.png.png imagette286639991763528973/1763478666_1398856_1395063404_b2f5baae984b945d828a2670f11b2ccb_rle_crop_4037740019_0.png.png imagette286640011763528974/ imagette286640021763528974/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/c41a344c65f8e3d9222dda1c64afa434_9864143.png imagette286639991763528973 28664001 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28664001 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette286640011763528974 28664002 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28664002 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette286640021763528974 28664004 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28664004 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395064064: '1763478685_1399310_1395063914_d1f0df824209bb3313b0de88d4132b56_rle_crop_4037740165_0.png', 1395067216: '1763481427_1480175_1395063914_d1f0df824209bb3313b0de88d4132b56_rle_crop_4037740165_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/f494a0fbdc05d7d0b338985e9e747389_99590295.png change filename to text .imagette286640041763528974/ imagette286640041763528974/1763481427_1480175_1395063914_d1f0df824209bb3313b0de88d4132b56_rle_crop_4037740165_0.png.png imagette286640041763528974/1763478685_1399310_1395063914_d1f0df824209bb3313b0de88d4132b56_rle_crop_4037740165_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/f494a0fbdc05d7d0b338985e9e747389_1888334.png imagette286640041763528974 28664005 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28664005 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395063992: '1763478565_1394028_1395063852_0eab1a30708b1f6ea99c6c2516106f87_rle_crop_4037738900_0.png', 1395063994: '1763478565_1394028_1395063736_6b1e0a5be05554d31b6f196fe15e7603_rle_crop_4037738935_0.png', 1395063995: '1763478565_1394028_1395063734_a1c08bf01a802aafcc78dc14477edea2_rle_crop_4037738962_0.png', 1395064132: '1763478785_1401825_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741034_0.png', 1395066740: '1763480966_1462830_1395064198_ad92849ba761aff39484cc3325383277_rle_crop_4037759239_0.png', 1395067063: '1763481206_1470705_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741034_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/8a8ac09f53033627b3d2b34067ed5092_12957761.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/989459c25c4fbbe16799ea5f9a24e35d_70559654.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/f343e95f594ec7b246ad54bf68cb25e5_26026962.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a70eff9cf12c8690f2d5820aef79f943_84399580.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/54e09e90aaa67092f7af587c5b1a0828_79951034.png change filename to text .imagette286640051763528974/ imagette286640051763528974/1763478565_1394028_1395063736_6b1e0a5be05554d31b6f196fe15e7603_rle_crop_4037738935_0.png.png imagette286640051763528974/1763478565_1394028_1395063734_a1c08bf01a802aafcc78dc14477edea2_rle_crop_4037738962_0.png.png imagette286640051763528974/1763481206_1470705_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741034_0.png.png imagette286640051763528974/1763478565_1394028_1395063852_0eab1a30708b1f6ea99c6c2516106f87_rle_crop_4037738900_0.png.png imagette286640051763528974/1763478785_1401825_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741034_0.png.png imagette286640051763528974/1763480966_1462830_1395064198_ad92849ba761aff39484cc3325383277_rle_crop_4037759239_0.png.png imagette286640081763528974/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a70eff9cf12c8690f2d5820aef79f943_62894657.png imagette286640051763528974 28664008 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28664008 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette286640081763528974 28664000 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28664000 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395063996: '1763478565_1394028_1395063852_0eab1a30708b1f6ea99c6c2516106f87_rle_crop_4037738894_0.png', 1395063997: '1763478565_1394028_1395063767_ac3b5c28006aa7821e11c2738f298138_rle_crop_4037738915_0.png', 1395063998: '1763478565_1394028_1395063767_ac3b5c28006aa7821e11c2738f298138_rle_crop_4037738913_0.png', 1395063999: '1763478565_1394028_1395063736_6b1e0a5be05554d31b6f196fe15e7603_rle_crop_4037738936_0.png', 1395064000: '1763478565_1394028_1395063736_6b1e0a5be05554d31b6f196fe15e7603_rle_crop_4037738939_0.png', 1395064042: '1763478666_1398856_1395063799_77876725576dd3f191547708aa5b6e67_rle_crop_4037739989_0.png', 1395064043: '1763478666_1398856_1395063371_93dd84eac857dcc4ac02955d475a689e_rle_crop_4037740036_0.png', 1395064135: '1763478785_1401825_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741045_0.png', 1395064136: '1763478785_1401825_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741044_0.png', 1395064143: '1763478806_1402300_1395064001_f47a81a93c130ce22fd6c5433ab4c89d_rle_crop_4037741126_0.png', 1395066741: '1763480966_1462830_1395064179_6255e8c93f3906e480466cd1f73c5c85_rle_crop_4037759272_0.png', 1395067064: '1763481206_1470705_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741045_0.png', 1395067065: '1763481206_1470705_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741044_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/0337c1a992366fe658b949771635ce37_49547002.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/2fb06e69c7621c96750c74f3c7c30eed_89199098.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/753fdc281bf8858557edb7a6f4441f44_6812399.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/d4969b9e951d87701f7503f3fa6d4941_62605273.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/04ef7479d1c1db3c51acb4de1d0f8885_74294497.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/17e9ce6316d963d08308d302d394dc08_16069236.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/244bae2a9a85bc8b6c940dd24dd4ad4f_12035226.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/85491102187d284afe491c26c746f505_25680442.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a37c1d45710d76b9953dfe13f00be67c_42747067.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/1742cc7078e26ecdb8f6c6cb800f7a17_41133994.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/45d5b40c0e0e8f9bb78c4aaa348f1c86_16521756.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/85491102187d284afe491c26c746f505_45528771.png change filename to text .imagette286640001763528974/ imagette286640001763528974/1763478666_1398856_1395063371_93dd84eac857dcc4ac02955d475a689e_rle_crop_4037740036_0.png.png imagette286640001763528974/1763478785_1401825_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741045_0.png.png imagette286640001763528974/1763478565_1394028_1395063767_ac3b5c28006aa7821e11c2738f298138_rle_crop_4037738915_0.png.png imagette286640001763528974/1763481206_1470705_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741045_0.png.png imagette286640001763528974/1763478565_1394028_1395063736_6b1e0a5be05554d31b6f196fe15e7603_rle_crop_4037738936_0.png.png imagette286640001763528974/1763478565_1394028_1395063736_6b1e0a5be05554d31b6f196fe15e7603_rle_crop_4037738939_0.png.png imagette286640001763528974/1763478785_1401825_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741044_0.png.png imagette286640001763528974/1763478565_1394028_1395063767_ac3b5c28006aa7821e11c2738f298138_rle_crop_4037738913_0.png.png imagette286640001763528974/1763481206_1470705_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741044_0.png.png imagette286640001763528974/1763480966_1462830_1395064179_6255e8c93f3906e480466cd1f73c5c85_rle_crop_4037759272_0.png.png imagette286640001763528974/1763478666_1398856_1395063799_77876725576dd3f191547708aa5b6e67_rle_crop_4037739989_0.png.png imagette286640001763528974/1763478565_1394028_1395063852_0eab1a30708b1f6ea99c6c2516106f87_rle_crop_4037738894_0.png.png imagette286640001763528974/1763478806_1402300_1395064001_f47a81a93c130ce22fd6c5433ab4c89d_rle_crop_4037741126_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a37c1d45710d76b9953dfe13f00be67c_15359327.png imagette286640001763528974 28664003 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28664003 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395064002: '1763478565_1394028_1395063736_6b1e0a5be05554d31b6f196fe15e7603_rle_crop_4037738937_0.png', 1395064049: '1763478666_1398856_1395063437_1f92a392d6140e9b87674a0de3c06e30_rle_crop_4037740012_0.png', 1395064050: '1763478666_1398856_1395063404_b2f5baae984b945d828a2670f11b2ccb_rle_crop_4037740024_0.png', 1395064137: '1763478785_1401825_1395063947_0b5351f5cae4af414477b25b2af5a535_rle_crop_4037741013_0.png', 1395064138: '1763478785_1401825_1395063943_92de7b929f98c490967969ec77b44b73_rle_crop_4037741022_0.png', 1395064509: '1763478986_1409749_1395064148_506abb8482466a12038a01d8e5cb1e05_rle_crop_4037745448_0.png', 1395064510: '1763478986_1409749_1395064102_450d6b0589be69271533178ad5171122_rle_crop_4037745466_0.png', 1395066746: '1763480966_1462830_1395064287_21eb24a298c533bae825435bef3058ff_rle_crop_4037759213_0.png', 1395066747: '1763480966_1462830_1395064287_21eb24a298c533bae825435bef3058ff_rle_crop_4037759212_0.png', 1395066748: '1763480966_1462830_1395064198_ad92849ba761aff39484cc3325383277_rle_crop_4037759240_0.png', 1395066749: '1763480966_1462830_1395064195_8e9c68822bee72aa7988591832a67938_rle_crop_4037759256_0.png', 1395066750: '1763480966_1462830_1395064195_8e9c68822bee72aa7988591832a67938_rle_crop_4037759257_0.png', 1395067066: '1763481206_1470705_1395063947_0b5351f5cae4af414477b25b2af5a535_rle_crop_4037741013_0.png', 1395067068: '1763481206_1470705_1395063943_92de7b929f98c490967969ec77b44b73_rle_crop_4037741022_0.png', 1395067214: '1763481427_1480175_1395063950_e5cc40d2d13656599b5462ad88caea4f_rle_crop_4037766527_0.png', 1395067215: '1763481427_1480175_1395063950_e5cc40d2d13656599b5462ad88caea4f_rle_crop_4037766529_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/b422903f8075bce387c49eec46bf2f85_65549465.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/5ea17f86a4670ae45c6b6c753f105a62_83643283.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/b30d724d381bcceca6cd0d06c960440f_20988377.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/605f8e703eb51933303694e9f9989e67_4701616.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/4484e258952d06db3c61da851c5e26f7_78241240.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/0f412268c4f732504ef889a3daac96a6_26802171.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/0f412268c4f732504ef889a3daac96a6_50545399.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/905abd117b8de1d36ee4adeea6027948_55852135.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/254a30e8d79ef570ad18727ddf4d9463_42629105.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/036609e1a7f5ac1a9482b45e8e94f69f_30160113.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/33977272c15bf3ec7ff5406202b0bb32_25872043.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/407e413c949296cf7c4d65c74f941aea_97354791.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/605f8e703eb51933303694e9f9989e67_22427104.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/4484e258952d06db3c61da851c5e26f7_34030648.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/7c3e27a4313fb928ebfbef9b3f35e7aa_29634483.png change filename to text .imagette286640031763528976/ imagette286640031763528976/1763478785_1401825_1395063943_92de7b929f98c490967969ec77b44b73_rle_crop_4037741022_0.png.png imagette286640031763528976/1763478986_1409749_1395064102_450d6b0589be69271533178ad5171122_rle_crop_4037745466_0.png.png imagette286640031763528976/1763481206_1470705_1395063947_0b5351f5cae4af414477b25b2af5a535_rle_crop_4037741013_0.png.png imagette286640031763528976/1763481206_1470705_1395063943_92de7b929f98c490967969ec77b44b73_rle_crop_4037741022_0.png.png imagette286640031763528976/1763478986_1409749_1395064148_506abb8482466a12038a01d8e5cb1e05_rle_crop_4037745448_0.png.png imagette286640031763528976/1763480966_1462830_1395064198_ad92849ba761aff39484cc3325383277_rle_crop_4037759240_0.png.png imagette286640031763528976/1763480966_1462830_1395064195_8e9c68822bee72aa7988591832a67938_rle_crop_4037759257_0.png.png imagette286640031763528976/1763480966_1462830_1395064287_21eb24a298c533bae825435bef3058ff_rle_crop_4037759213_0.png.png imagette286640031763528976/1763480966_1462830_1395064195_8e9c68822bee72aa7988591832a67938_rle_crop_4037759256_0.png.png imagette286640031763528976/1763478666_1398856_1395063437_1f92a392d6140e9b87674a0de3c06e30_rle_crop_4037740012_0.png.png imagette286640031763528976/1763478785_1401825_1395063947_0b5351f5cae4af414477b25b2af5a535_rle_crop_4037741013_0.png.png imagette286640031763528976/1763478666_1398856_1395063404_b2f5baae984b945d828a2670f11b2ccb_rle_crop_4037740024_0.png.png imagette286640031763528976/1763481427_1480175_1395063950_e5cc40d2d13656599b5462ad88caea4f_rle_crop_4037766527_0.png.png imagette286640031763528976/1763478565_1394028_1395063736_6b1e0a5be05554d31b6f196fe15e7603_rle_crop_4037738937_0.png.png imagette286640031763528976/1763480966_1462830_1395064287_21eb24a298c533bae825435bef3058ff_rle_crop_4037759212_0.png.png imagette286640031763528976/1763481427_1480175_1395063950_e5cc40d2d13656599b5462ad88caea4f_rle_crop_4037766529_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/080fd7830e06e6197e1cf9b69a3378ba_66227511.png imagette286640031763528976 28664007 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28664007 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395064129: '1763478785_1401825_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741039_0.png', 1395067211: '1763481427_1480175_1395063910_4bea6c1ed5e07e5ac10baed65b9b50db_rle_crop_4037740209_0.png', 1395067210: '1763481427_1480175_1395063911_1f6f27bf8f77f36ecff5eab2d988260c_rle_crop_4037740197_0.png', 1395067209: '1763481427_1480175_1395063911_1f6f27bf8f77f36ecff5eab2d988260c_rle_crop_4037740200_0.png', 1395067208: '1763481427_1480175_1395063912_ebd512160f593f465101d83be6ef368e_rle_crop_4037740184_0.png', 1395067207: '1763481427_1480175_1395063914_d1f0df824209bb3313b0de88d4132b56_rle_crop_4037740171_0.png', 1395067206: '1763481427_1480175_1395063950_e5cc40d2d13656599b5462ad88caea4f_rle_crop_4037766532_0.png', 1395067062: '1763481206_1470705_1395063935_1cc80bc441d8b5e9734c189d1e027df0_rle_crop_4037741119_0.png', 1395067061: '1763481206_1470705_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741051_0.png', 1395067060: '1763481206_1470705_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741039_0.png', 1395067059: '1763481206_1470705_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741037_0.png', 1395067058: '1763481206_1470705_1395063943_92de7b929f98c490967969ec77b44b73_rle_crop_4037741026_0.png', 1395064131: '1763478785_1401825_1395063935_1cc80bc441d8b5e9734c189d1e027df0_rle_crop_4037741119_0.png', 1395064130: '1763478785_1401825_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741051_0.png', 1395063988: '1763478565_1394028_1395063767_ac3b5c28006aa7821e11c2738f298138_rle_crop_4037738925_0.png', 1395064127: '1763478785_1401825_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741037_0.png', 1395064126: '1763478785_1401825_1395063943_92de7b929f98c490967969ec77b44b73_rle_crop_4037741026_0.png', 1395064063: '1763478685_1399310_1395063910_4bea6c1ed5e07e5ac10baed65b9b50db_rle_crop_4037740209_0.png', 1395064062: '1763478685_1399310_1395063911_1f6f27bf8f77f36ecff5eab2d988260c_rle_crop_4037740197_0.png', 1395064061: '1763478685_1399310_1395063911_1f6f27bf8f77f36ecff5eab2d988260c_rle_crop_4037740200_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/8cd0285c970c68b4a46c711534d8bb3e_87290778.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/f1615f737986ce976fb4b354f0689d07_53081393.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a1b0b3c9ffe1c59824dbe1361c979632_48210925.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/48fa45316ed9d0e5c7bc0111d426d6ca_69619134.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/c665d1ec671711c04bf7b9f5a6816127_32684276.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/5afd1f4411c4cf19302d37fde793a3c6_85710039.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a2b4033c3371b31bb6c7cc34f68b4e89_57057246.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/b5e6fbfe2c11b5f31ed1584e92f9ba4a_66124174.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/55f70bc11a4ebd96c6c998529d5d11d9_37449477.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/8cd0285c970c68b4a46c711534d8bb3e_1742078.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a55e8dc9dfa9c302aaa3d23b276928b2_41628015.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/bb4cbfb43ab7e70de94da52de862ce87_36725006.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/b5e6fbfe2c11b5f31ed1584e92f9ba4a_28517255.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/55f70bc11a4ebd96c6c998529d5d11d9_40804603.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/c313762593e2720f41247cab0e3e8ae8_13778779.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a55e8dc9dfa9c302aaa3d23b276928b2_66547553.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/bb4cbfb43ab7e70de94da52de862ce87_95520644.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/f1615f737986ce976fb4b354f0689d07_30083972.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/a1b0b3c9ffe1c59824dbe1361c979632_45264149.png change filename to text .imagette286640071763528977/ imagette286640071763528977/1763481427_1480175_1395063911_1f6f27bf8f77f36ecff5eab2d988260c_rle_crop_4037740197_0.png.png imagette286640071763528977/1763478685_1399310_1395063910_4bea6c1ed5e07e5ac10baed65b9b50db_rle_crop_4037740209_0.png.png imagette286640071763528977/1763478785_1401825_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741039_0.png.png imagette286640071763528977/1763481206_1470705_1395063935_1cc80bc441d8b5e9734c189d1e027df0_rle_crop_4037741119_0.png.png imagette286640071763528977/1763478785_1401825_1395063943_92de7b929f98c490967969ec77b44b73_rle_crop_4037741026_0.png.png imagette286640071763528977/1763481427_1480175_1395063914_d1f0df824209bb3313b0de88d4132b56_rle_crop_4037740171_0.png.png imagette286640071763528977/1763478785_1401825_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741037_0.png.png imagette286640071763528977/1763481206_1470705_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741051_0.png.png imagette286640071763528977/1763481427_1480175_1395063910_4bea6c1ed5e07e5ac10baed65b9b50db_rle_crop_4037740209_0.png.png imagette286640071763528977/1763478565_1394028_1395063767_ac3b5c28006aa7821e11c2738f298138_rle_crop_4037738925_0.png.png imagette286640071763528977/1763481206_1470705_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741037_0.png.png imagette286640071763528977/1763478785_1401825_1395063935_1cc80bc441d8b5e9734c189d1e027df0_rle_crop_4037741119_0.png.png imagette286640071763528977/1763481427_1480175_1395063912_ebd512160f593f465101d83be6ef368e_rle_crop_4037740184_0.png.png imagette286640071763528977/1763478685_1399310_1395063911_1f6f27bf8f77f36ecff5eab2d988260c_rle_crop_4037740197_0.png.png imagette286640071763528977/1763481427_1480175_1395063950_e5cc40d2d13656599b5462ad88caea4f_rle_crop_4037766532_0.png.png imagette286640071763528977/1763481206_1470705_1395063943_92de7b929f98c490967969ec77b44b73_rle_crop_4037741026_0.png.png imagette286640071763528977/1763478785_1401825_1395063937_d1fefab3cf7bb3442ac2d2bf91587193_rle_crop_4037741051_0.png.png imagette286640071763528977/1763478685_1399310_1395063911_1f6f27bf8f77f36ecff5eab2d988260c_rle_crop_4037740200_0.png.png imagette286640071763528977/1763481206_1470705_1395063939_0455e6e1198f4482a65568a8e45d13e4_rle_crop_4037741039_0.png.png imagette286640071763528977/1763481427_1480175_1395063911_1f6f27bf8f77f36ecff5eab2d988260c_rle_crop_4037740200_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/48fa45316ed9d0e5c7bc0111d426d6ca_28930382.png imagette286640071763528977 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28663984 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28664009,28664010,28664011,28664012,28664013,28664014,28664015,28664016,28664017,28664018,28664019,28664020?tags=kraft,environnement,cartonnette,Carton_gris,metal,mal_croppe,Carton_brun,plastique,autre_refus,papier,Teint_Dans_La_Masse,flou your option no_mail is active, we will not send the real mail to your client args[1395064287] : ('0.06925278977230764',) no score found for photo 1395064287 We are sending mail with results at report@fotonower.com args[1395064213] : ('0.06925278977230764',) no score found for photo 1395064213 We are sending mail with results at report@fotonower.com args[1395064198] : ('0.06925278977230764',) no score found for photo 1395064198 We are sending mail with results at report@fotonower.com args[1395064195] : ('0.06925278977230764',) no score found for photo 1395064195 We are sending mail with results at report@fotonower.com args[1395064179] : ('0.06925278977230764',) no score found for photo 1395064179 We are sending mail with results at report@fotonower.com args[1395064148] : ('0.06925278977230764',) no score found for photo 1395064148 We are sending mail with results at report@fotonower.com args[1395064147] : ('0.06925278977230764',) no score found for photo 1395064147 We are sending mail with results at report@fotonower.com args[1395064102] : ('0.06925278977230764',) no score found for photo 1395064102 We are sending mail with results at report@fotonower.com args[1395064001] : ('0.06925278977230764',) no score found for photo 1395064001 We are sending mail with results at report@fotonower.com args[1395063967] : ('0.06925278977230764',) no score found for photo 1395063967 We are sending mail with results at report@fotonower.com args[1395063963] : ('0.06925278977230764',) no score found for photo 1395063963 We are sending mail with results at report@fotonower.com args[1395063960] : ('0.06925278977230764',) no score found for photo 1395063960 We are sending mail with results at report@fotonower.com args[1395063950] : ('0.06925278977230764',) no score found for photo 1395063950 We are sending mail with results at report@fotonower.com args[1395063947] : ('0.06925278977230764',) no score found for photo 1395063947 We are sending mail with results at report@fotonower.com args[1395063943] : ('0.06925278977230764',) no score found for photo 1395063943 We are sending mail with results at report@fotonower.com args[1395063939] : ('0.06925278977230764',) no score found for photo 1395063939 We are sending mail with results at report@fotonower.com args[1395063937] : ('0.06925278977230764',) no score found for photo 1395063937 We are sending mail with results at report@fotonower.com args[1395063935] : ('0.06925278977230764',) no score found for photo 1395063935 We are sending mail with results at report@fotonower.com args[1395063918] : ('0.06925278977230764',) no score found for photo 1395063918 We are sending mail with results at report@fotonower.com args[1395063914] : ('0.06925278977230764',) no score found for photo 1395063914 We are sending mail with results at report@fotonower.com args[1395063912] : ('0.06925278977230764',) no score found for photo 1395063912 We are sending mail with results at report@fotonower.com args[1395063911] : ('0.06925278977230764',) no score found for photo 1395063911 We are sending mail with results at report@fotonower.com args[1395063910] : ('0.06925278977230764',) no score found for photo 1395063910 We are sending mail with results at report@fotonower.com args[1395063852] : ('0.06925278977230764',) no score found for photo 1395063852 We are sending mail with results at report@fotonower.com args[1395063850] : ('0.06925278977230764',) no score found for photo 1395063850 We are sending mail with results at report@fotonower.com args[1395063843] : ('0.06925278977230764',) no score found for photo 1395063843 We are sending mail with results at report@fotonower.com args[1395063799] : ('0.06925278977230764',) no score found for photo 1395063799 We are sending mail with results at report@fotonower.com args[1395063767] : ('0.06925278977230764',) no score found for photo 1395063767 We are sending mail with results at report@fotonower.com args[1395063736] : ('0.06925278977230764',) no score found for photo 1395063736 We are sending mail with results at report@fotonower.com args[1395063735] : ('0.06925278977230764',) no score found for photo 1395063735 We are sending mail with results at report@fotonower.com args[1395063734] : ('0.06925278977230764',) no score found for photo 1395063734 We are sending mail with results at report@fotonower.com args[1395063471] : ('0.06925278977230764',) no score found for photo 1395063471 We are sending mail with results at report@fotonower.com args[1395063437] : ('0.06925278977230764',) no score found for photo 1395063437 We are sending mail with results at report@fotonower.com args[1395063404] : ('0.06925278977230764',) no score found for photo 1395063404 We are sending mail with results at report@fotonower.com args[1395063371] : ('0.06925278977230764',) no score found for photo 1395063371 We are sending mail with results at report@fotonower.com args[1395062880] : ('0.06925278977230764',) no score found for photo 1395062880 We are sending mail with results at report@fotonower.com args[1395062875] : ('0.06925278977230764',) no score found for photo 1395062875 We are sending mail with results at report@fotonower.com args[1395062871] : ('0.06925278977230764',) no score found for photo 1395062871 We are sending mail with results at report@fotonower.com args[1395062869] : ('0.06925278977230764',) no score found for photo 1395062869 We are sending mail with results at report@fotonower.com args[1395062867] : ('0.06925278977230764',) no score found for photo 1395062867 We are sending mail with results at report@fotonower.com args[1395062807] : ('0.06925278977230764',) no score found for photo 1395062807 We are sending mail with results at report@fotonower.com refus_total : 0.06925278977230764 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28663984 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_P28663984_19-11-2025_06_09_33.pdf results_Auto_P28663984_19-11-2025_06_09_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663984_19-11-2025_06_09_33.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','28663984','results_Auto_P28663984_19-11-2025_06_09_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663984_19-11-2025_06_09_33.pdf','pdf','','0.42','0.06925278977230764') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28663984]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807] map_info['map_portfolio_photo'] : {28663984: [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807]} final : False mtd_id 4302 list_pids : [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807] 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, '4073626') ('4302', '28663984', '1395064287', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064213', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064198', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064195', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064179', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064148', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064147', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064102', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064001', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063967', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063963', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063960', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063950', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063947', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063943', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063939', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063937', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063935', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063918', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063914', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063912', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063911', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063910', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063852', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063850', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063843', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063799', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063767', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063736', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063735', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063734', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063471', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063437', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063404', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063371', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062880', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062875', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062871', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062869', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062867', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062807', None, None, None, None, None, '4073626') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '28663984', '1395064287', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064213', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064198', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064195', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064179', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064148', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064147', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064102', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064001', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063967', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063963', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063960', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063950', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063947', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063943', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063939', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063937', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063935', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063918', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063914', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063912', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063911', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063910', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063852', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063850', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063843', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063799', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063767', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063736', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063735', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063734', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063471', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063437', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063404', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063371', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062880', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062875', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062871', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062869', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062867', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062807', None, None, None, None, None, '4073626')] time used for this insertion : 0.017197370529174805 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.47074842453003 time spend to save output : 0.01771402359008789 total time spend for step 4 : 10.488462448120117 step5:split_time_score Wed Nov 19 06:09:42 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 : ['28663984'] 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 : [('28663984',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28663984) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1395064179: {'path': 'temp/1763528971_848516_1395064179_6255e8c93f3906e480466cd1f73c5c85.jpg', 'extension': 'jpg'}, 1395064195: {'path': 'temp/1763528971_848516_1395064195_8e9c68822bee72aa7988591832a67938.jpg', 'extension': 'jpg'}, 1395064198: {'path': 'temp/1763528971_848516_1395064198_ad92849ba761aff39484cc3325383277.jpg', 'extension': 'jpg'}, 1395064213: {'path': 'temp/1763528971_848516_1395064213_db7582eb37ef6d5cd6352e913af2974b.jpg', 'extension': 'jpg'}, 1395064287: {'path': 'temp/1763528971_848516_1395064287_21eb24a298c533bae825435bef3058ff.jpg', 'extension': 'jpg'}, 1395063947: {'path': 'temp/1763528971_848516_1395063947_0b5351f5cae4af414477b25b2af5a535.jpg', 'extension': 'jpg'}, 1395063950: {'path': 'temp/1763528971_848516_1395063950_e5cc40d2d13656599b5462ad88caea4f.jpg', 'extension': 'jpg'}, 1395063960: {'path': 'temp/1763528971_848516_1395063960_ca7e85958057727c1df0f77c44f02bfc.jpg', 'extension': 'jpg'}, 1395063963: {'path': 'temp/1763528971_848516_1395063963_0370369a1632a79af818923f1c9bbfda.jpg', 'extension': 'jpg'}, 1395063967: {'path': 'temp/1763528971_848516_1395063967_5f80ae96e2cbf5f35babfe9515e2028a.jpg', 'extension': 'jpg'}, 1395064001: {'path': 'temp/1763528971_848516_1395064001_f47a81a93c130ce22fd6c5433ab4c89d.jpg', 'extension': 'jpg'}, 1395064102: {'path': 'temp/1763528971_848516_1395064102_450d6b0589be69271533178ad5171122.jpg', 'extension': 'jpg'}, 1395064147: {'path': 'temp/1763528971_848516_1395064147_32e13721fa5d6195f0a8f7fde6679579.jpg', 'extension': 'jpg'}, 1395064148: {'path': 'temp/1763528971_848516_1395064148_506abb8482466a12038a01d8e5cb1e05.jpg', 'extension': 'jpg'}, 1395063471: {'path': 'temp/1763528971_848516_1395063471_ad2f27f0f1c1fd0d4c00b7ebae35a192.jpg', 'extension': 'jpg'}, 1395063734: {'path': 'temp/1763528971_848516_1395063734_a1c08bf01a802aafcc78dc14477edea2.jpg', 'extension': 'jpg'}, 1395063735: {'path': 'temp/1763528971_848516_1395063735_b55b0d3cfedb3d0f4311bd930bbe355a.jpg', 'extension': 'jpg'}, 1395063736: {'path': 'temp/1763528971_848516_1395063736_6b1e0a5be05554d31b6f196fe15e7603.jpg', 'extension': 'jpg'}, 1395063767: {'path': 'temp/1763528971_848516_1395063767_ac3b5c28006aa7821e11c2738f298138.jpg', 'extension': 'jpg'}, 1395063799: {'path': 'temp/1763528971_848516_1395063799_77876725576dd3f191547708aa5b6e67.jpg', 'extension': 'jpg'}, 1395063843: {'path': 'temp/1763528971_848516_1395063843_47392e07158ba8b9853208598e4fcd86.jpg', 'extension': 'jpg'}, 1395063850: {'path': 'temp/1763528971_848516_1395063850_ed578b5d65ab9ec912403685b3280b8b.jpg', 'extension': 'jpg'}, 1395063852: {'path': 'temp/1763528971_848516_1395063852_0eab1a30708b1f6ea99c6c2516106f87.jpg', 'extension': 'jpg'}, 1395062807: {'path': 'temp/1763528971_848516_1395062807_b1e4ca1e45fc33ed11c227f15bec3bd9.jpg', 'extension': 'jpg'}, 1395062867: {'path': 'temp/1763528971_848516_1395062867_b764b1dd4004a51e3be4644df1f54eda.jpg', 'extension': 'jpg'}, 1395062869: {'path': 'temp/1763528971_848516_1395062869_8fa1998f9337bdad56557df7e43f5562.jpg', 'extension': 'jpg'}, 1395062871: {'path': 'temp/1763528971_848516_1395062871_b825a622bf2f4a43e18e04e8de3a5a7d.jpg', 'extension': 'jpg'}, 1395062875: {'path': 'temp/1763528971_848516_1395062875_cd3fa61ee295ade8164aaa7adb6b2448.jpg', 'extension': 'jpg'}, 1395062880: {'path': 'temp/1763528971_848516_1395062880_e8c9cc57f3e53a9284e9ebec63f69669.jpg', 'extension': 'jpg'}, 1395063371: {'path': 'temp/1763528971_848516_1395063371_93dd84eac857dcc4ac02955d475a689e.jpg', 'extension': 'jpg'}, 1395063404: {'path': 'temp/1763528971_848516_1395063404_b2f5baae984b945d828a2670f11b2ccb.jpg', 'extension': 'jpg'}, 1395063437: {'path': 'temp/1763528971_848516_1395063437_1f92a392d6140e9b87674a0de3c06e30.jpg', 'extension': 'jpg'}, 1395063910: {'path': 'temp/1763528971_848516_1395063910_4bea6c1ed5e07e5ac10baed65b9b50db.jpg', 'extension': 'jpg'}, 1395063911: {'path': 'temp/1763528971_848516_1395063911_1f6f27bf8f77f36ecff5eab2d988260c.jpg', 'extension': 'jpg'}, 1395063912: {'path': 'temp/1763528971_848516_1395063912_ebd512160f593f465101d83be6ef368e.jpg', 'extension': 'jpg'}, 1395063914: {'path': 'temp/1763528971_848516_1395063914_d1f0df824209bb3313b0de88d4132b56.jpg', 'extension': 'jpg'}, 1395063918: {'path': 'temp/1763528971_848516_1395063918_70b73bcc8539e6b6f5a47f35b174e01c.jpg', 'extension': 'jpg'}, 1395063935: {'path': 'temp/1763528971_848516_1395063935_1cc80bc441d8b5e9734c189d1e027df0.jpg', 'extension': 'jpg'}, 1395063937: {'path': 'temp/1763528971_848516_1395063937_d1fefab3cf7bb3442ac2d2bf91587193.jpg', 'extension': 'jpg'}, 1395063939: {'path': 'temp/1763528971_848516_1395063939_0455e6e1198f4482a65568a8e45d13e4.jpg', 'extension': 'jpg'}, 1395063943: {'path': 'temp/1763528971_848516_1395063943_92de7b929f98c490967969ec77b44b73.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 = 28663984; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 28663984 group by h (('16', 41),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28663984 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 (28663984) 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 (28663984) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18112025 28663984 Nombre de photos uploadées : 41 / 23040 (0%) 18112025 28663984 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 18112025 28663984 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1395062807, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/b1e4ca1e45fc33ed11c227f15bec3bd9.jpg', 'username': None, 'uploaded_at': 1763478067, 'text': 'image_18112025_16_00_14_10190.jpg'}, {'photo_id': 1395062880, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/e8c9cc57f3e53a9284e9ebec63f69669.jpg', 'username': None, 'uploaded_at': 1763478127, 'text': 'image_18112025_16_00_24_10140.jpg'}, {'photo_id': 1395062875, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/cd3fa61ee295ade8164aaa7adb6b2448.jpg', 'username': None, 'uploaded_at': 1763478127, 'text': 'image_18112025_16_01_04_10159.jpg'}, {'photo_id': 1395062871, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/18/b825a622bf2f4a43e18e04e8de3a5a7d.jpg', 'username': None, 'uploaded_at': 1763478127, 'text': 'image_18112025_16_01_13_9122.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002116680145263672 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28663984, '2025-11-18' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-11-18' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2598648,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20980072021484375 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= 2598648 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28631138, 'dashboard_result_id': 17475650, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28631138_19-11-2025_05_34_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28631146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28631147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28631148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28631149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28631150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28631151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28631152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28631153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28631154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28631155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28631156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28631157, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28631823, 'dashboard_result_id': 17475651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28631823_19-11-2025_05_35_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28631824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28631825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28631826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28631827, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28631828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28631829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28631830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28631831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28631832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28631833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28631834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28631835, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28632284, 'dashboard_result_id': 17475652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28632284_19-11-2025_05_35_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28632290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28632291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28632292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28632293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28632294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28632295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28632296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28632297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28632298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28632299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28632300, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28632301, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28632886, 'dashboard_result_id': 17475653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28632886_19-11-2025_05_36_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28632895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28632896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28632897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28632898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28632899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28632900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28632901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28632902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28632903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28632904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28632905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28632906, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28634373, 'dashboard_result_id': 17475654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28634373_19-11-2025_05_36_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28634378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28634379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28634380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28634381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28634382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28634383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28634384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28634385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28634386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28634387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28634388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28634389, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28635010, 'dashboard_result_id': 17475655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28635010_19-11-2025_05_37_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28635011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28635012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28635013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28635014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28635015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28635016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28635017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28635018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28635019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28635020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28635021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28635022, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28635491, 'dashboard_result_id': 17475656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28635491_19-11-2025_05_37_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28635513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28635514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28635515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28635516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28635517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28635518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28635519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28635520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28635521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28635522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28635523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28635524, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28636035, 'dashboard_result_id': 17475657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28636035_19-11-2025_05_37_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28636061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28636062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28636063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28636064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28636065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28636066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28636067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28636068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28636069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28636070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28636071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28636072, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28636740, 'dashboard_result_id': 17475658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28636740_19-11-2025_05_38_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28636745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28636746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28636747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28636748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28636749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28636750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28636751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28636752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28636753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28636754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28636755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28636756, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28637017, 'dashboard_result_id': 17475659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28637017_19-11-2025_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28637026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28637027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28637028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28637029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28637030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28637031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28637032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28637033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28637034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28637035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28637036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28637037, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28637392, 'dashboard_result_id': 17475660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28637392_19-11-2025_05_39_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28637400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28637401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28637402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28637403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28637404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28637405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28637406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28637407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28637408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28637409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28637410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28637411, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28638080, 'dashboard_result_id': 17475661, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28638080_19-11-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28638081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28638082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28638083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28638084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28638085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28638086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28638087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28638088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28638089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28638090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28638091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28638092, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28638689, 'dashboard_result_id': 17475662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28638689_19-11-2025_05_40_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28638715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28638716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28638717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28638718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28638719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28638720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28638721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28638722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28638723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28638724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28638725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28638726, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28639147, 'dashboard_result_id': 17475663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28639147_19-11-2025_05_41_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28639196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28639197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28639198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28639199, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28639200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28639201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28639202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28639203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28639204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28639205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28639206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28639207, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28639591, 'dashboard_result_id': 17475664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28639591_19-11-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28639629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28639630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28639631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28639632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28639633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28639634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28639635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28639636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28639637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28639638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28639639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28639640, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28641020, 'dashboard_result_id': 17475665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641020_19-11-2025_05_42_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641035, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28641206, 'dashboard_result_id': 17475666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641206_19-11-2025_05_44_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641223, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28641579, 'dashboard_result_id': 17475667, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641579_19-11-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641597, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28641934, 'dashboard_result_id': 17475668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641934_19-11-2025_05_46_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641950, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28642364, 'dashboard_result_id': 17475669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28642364_19-11-2025_05_46_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28642374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28642375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28642376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28642377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28642378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28642379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28642380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28642381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28642382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28642383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28642384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28642385, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28642968, 'dashboard_result_id': 17475670, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28642968_19-11-2025_05_46_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28642972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28642973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28642974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28642975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28642976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28642977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28642978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28642979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28642980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28642981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28642982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28642983, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28643374, 'dashboard_result_id': 17475671, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28643374_19-11-2025_05_48_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28643375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28643376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28643377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28643378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28643379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28643380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28643381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28643382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28643383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28643384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28643385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28643386, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28643779, 'dashboard_result_id': 17475672, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28643779_19-11-2025_05_48_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28643784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28643785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28643786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28643787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28643788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28643789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28643790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28643791, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28643792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28643793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28643794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28643795, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28644283, 'dashboard_result_id': 17475673, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28644283_19-11-2025_05_50_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28644316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28644317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28644318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28644319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28644320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28644321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28644322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28644323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28644324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28644325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28644326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28644327, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28645127, 'dashboard_result_id': 17475674, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28645127_19-11-2025_05_50_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28645183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28645184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28645185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28645186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28645187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28645188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28645189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28645190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28645191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28645192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28645193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28645194, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28645778, 'dashboard_result_id': 17475675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28645778_19-11-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28645792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28645793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28645794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28645795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28645796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28645797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28645798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28645799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28645800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28645801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28645802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28645803, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28646472, 'dashboard_result_id': 17475676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28646472_19-11-2025_05_52_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28646497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28646498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28646499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28646500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28646501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28646502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28646503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28646504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28646505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28646506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28646507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28646508, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28647027, 'dashboard_result_id': 17475677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28647027_19-11-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28647068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28647069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28647070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28647071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28647072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28647073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28647074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28647075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28647076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28647077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28647078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28647079, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28647656, 'dashboard_result_id': 17475678, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28647656_19-11-2025_05_54_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28647663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28647664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28647665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28647666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28647667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28647668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28647669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28647670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28647671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28647672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28647673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28647674, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28648493, 'dashboard_result_id': 17475679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28648493_19-11-2025_05_54_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28648499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28648500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28648501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28648502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28648503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28648504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28648505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28648506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28648507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28648508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28648509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28648510, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28649305, 'dashboard_result_id': 17475680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28649305_19-11-2025_05_55_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28649346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28649347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28649348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28649349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28649350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28649351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28649352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28649353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28649354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28649355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28649356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28649357, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28650959, 'dashboard_result_id': 17475681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28650959_19-11-2025_05_56_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28650974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28650975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28650976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28650977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28650978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28650979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28650980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28650981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28650982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28650983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28650984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28650985, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28651460, 'dashboard_result_id': 17475682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28651460_19-11-2025_05_56_15.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28651477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28651478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28651479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28651480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28651481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28651482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28651483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28651484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28651485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28651486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28651487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28651488, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28651808, 'dashboard_result_id': 17475683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28651808_19-11-2025_05_56_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28651841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28651842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28651843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28651844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28651845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28651846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28651847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28651848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28651849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28651850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28651851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28651852, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28652248, 'dashboard_result_id': 17475684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28652248_19-11-2025_05_57_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28652258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28652259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28652260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28652261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28652262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28652263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28652264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28652265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28652266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28652267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28652268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28652269, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28652749, 'dashboard_result_id': 17475685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28652749_19-11-2025_05_58_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28652761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28652762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28652763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28652764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28652765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28652766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28652767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28652768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28652769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28652770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28652771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28652772, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28653464, 'dashboard_result_id': 17475686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28653464_19-11-2025_05_58_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28653474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28653475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28653476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28653477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28653478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28653479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28653480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28653481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28653482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28653483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28653484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28653485, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28653849, 'dashboard_result_id': 17475687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28653849_19-11-2025_05_59_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28653868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28653869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28653870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28653871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28653872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28653873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28653874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28653875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28653876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28653877, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28653878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28653879, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28654500, 'dashboard_result_id': 17475688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28654500_19-11-2025_06_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28654534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28654535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28654536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28654537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28654538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28654539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28654540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28654541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28654542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28654543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28654544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28654545, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28655193, 'dashboard_result_id': 17475689, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28655193_19-11-2025_06_00_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28655199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28655200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28655201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28655202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28655203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28655204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28655205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28655206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28655207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28655208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28655209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28655210, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28655671, 'dashboard_result_id': 17475690, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28655671_19-11-2025_06_01_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28655696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28655697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28655698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28655699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28655700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28655701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28655702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28655703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28655704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28655705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28655706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28655707, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28656138, 'dashboard_result_id': 17475691, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28656138_19-11-2025_06_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28656174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28656175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28656176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28656177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28656178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28656179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28656180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28656181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28656182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28656183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28656184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28656185, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28658711, 'dashboard_result_id': 17475692, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28658711_19-11-2025_06_03_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28658712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28658713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28658714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28658715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28658716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28658717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28658718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28658719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28658720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28658721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28658722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28658723, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28659160, 'dashboard_result_id': 17475693, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28659160_19-11-2025_06_03_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28659164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28659165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28659166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28659167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28659168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28659169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28659170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28659171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28659172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28659173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28659174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28659175, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28659722, 'dashboard_result_id': 17475694, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28659722_19-11-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28659751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28659752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28659753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28659754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28659755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28659756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28659757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28659758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28659759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28659760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28659761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28659762, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28660259, 'dashboard_result_id': 17475695, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28660259_19-11-2025_06_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28660293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28660294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28660295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28660296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28660297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28660298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28660299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28660300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28660301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28660302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28660304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28660305, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28661085, 'dashboard_result_id': 17475696, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28661085_19-11-2025_06_06_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28661092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28661093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28661094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28661095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28661096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28661097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28661098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28661099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28661100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28661101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28661102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28661103, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28661468, 'dashboard_result_id': 17475697, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28661468_19-11-2025_06_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28661523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28661524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28661525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28661526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28661527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28661528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28661529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28661530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28661531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28661532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28661533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28661534, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28662141, 'dashboard_result_id': 17475698, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28662141_19-11-2025_06_07_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28662232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28662233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28662234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28662235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28662236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28662237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28662238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28662239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28662240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28662241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28662242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28662243, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28662798, 'dashboard_result_id': 17475699, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28662798_19-11-2025_06_08_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28662816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28662817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28662818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28662819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28662820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28662821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28662822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28662823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28662824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28662826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28662827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28662828, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28663472, 'dashboard_result_id': 17475700, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663472_19-11-2025_06_08_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28663474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28663475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28663476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28663477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28663478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28663479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28663480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28663481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28663482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28663483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28663484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28663485, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28663984, 'dashboard_result_id': 17475701, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663984_18-11-2025_16_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28663997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28663998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28663999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28664000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28664001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28664002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28664003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28664004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28664005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28664006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28664007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28664008, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28664534, 'dashboard_result_id': 17475702, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28664534_18-11-2025_16_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28664583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28664584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28664585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28664586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28664587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28664588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28664589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28664590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28664591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28664592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28664593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28664594, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28665161, 'dashboard_result_id': 17475703, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28665161_18-11-2025_16_49_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28665192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28665193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28665194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28665195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28665196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28665197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28665198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28665199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28665200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28665201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28665202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28665203, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28665818, 'dashboard_result_id': 17475704, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28665818_18-11-2025_17_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28665849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28665850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28665851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28665852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28665853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28665854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28665855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28665856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28665857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28665858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28665859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28665860, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28666502, 'dashboard_result_id': 17475705, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28666502_18-11-2025_17_19_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28666524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28666525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28666526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28666527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28666528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28666529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28666530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28666531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28666532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28666533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28666534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28666535, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28667333, 'dashboard_result_id': 17475706, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28667333_18-11-2025_17_58_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28667365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28667366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28667367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28667368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28667369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28667370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28667371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28667372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28667373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28667374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28667375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28667376, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28669039, 'dashboard_result_id': 17475707, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669039_18-11-2025_18_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28669045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28669049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28669053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669056, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28669636, 'dashboard_result_id': 17475708, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669636_18-11-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28669653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28669655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28669656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669663, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28669946, 'dashboard_result_id': 17475709, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669946_18-11-2025_18_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28669991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28670000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28670001, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28670527, 'dashboard_result_id': 17475710, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28670527_18-11-2025_19_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28670528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28670529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28670530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28670531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28670532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28670533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28670534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28670535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28670536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28670537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28670538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28670539, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28671006, 'dashboard_result_id': 17475711, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28671006_18-11-2025_19_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28671026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28671027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28671028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28671029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28671030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28671031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28671032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28671033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28671034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28671035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28671036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28671037, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28671566, 'dashboard_result_id': 17475712, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28671566_18-11-2025_19_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28671600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28671601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28671602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28671603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28671604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28671605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28671606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28671607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28671609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28671610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28671611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28671612, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28672057, 'dashboard_result_id': 17475713, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28672057_18-11-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28672069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28672070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28672071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28672072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28672073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28672074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28672075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28672076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28672077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28672078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28672079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28672080, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28672738, 'dashboard_result_id': 17475714, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28672738_18-11-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28672755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28672756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28672757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28672758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28672759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28672760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28672761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28672762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28672763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28672764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28672765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28672766, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28673555, 'dashboard_result_id': 17475715, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28673555_18-11-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28673574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28673575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28673576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28673577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28673578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28673579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28673580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28673581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28673582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28673583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28673584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28673585, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28674277, 'dashboard_result_id': 17475716, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28674277_18-11-2025_20_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28674296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28674297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28674298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28674299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28674300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28674301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28674302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28674303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28674304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28674305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28674306, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28674307, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28675030, 'dashboard_result_id': 17475717, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28675030_18-11-2025_21_06_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28675055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28675056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28675057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28675058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28675059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28675060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28675061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28675062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28675063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28675064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28675065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28675066, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28676760, 'dashboard_result_id': 17475718, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28676760_18-11-2025_21_19_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28676810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28676811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28676812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28676813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28676814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28676815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28676816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28676817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28676818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28676819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28676820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28676821, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28677222, 'dashboard_result_id': 17475719, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28677222_18-11-2025_21_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28677228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28677229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28677230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28677231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28677232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28677233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28677234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28677235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28677236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28677237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28677238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28677239, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28677589, 'dashboard_result_id': 17475720, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28677589_18-11-2025_21_49_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28677621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28677622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28677623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28677624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28677625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28677626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28677627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28677628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28677629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28677630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28677631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28677632, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28678156, 'dashboard_result_id': 17475721, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28678156_18-11-2025_22_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28678176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28678177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28678178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28678179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28678180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28678181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28678182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28678183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28678184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28678185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28678186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28678187, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28678649, 'dashboard_result_id': 17475722, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28678649_18-11-2025_22_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28678699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28678700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28678701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28678702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28678703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28678704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28678705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28678706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28678707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28678708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28678709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28678710, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28679254, 'dashboard_result_id': 17475723, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28679254_18-11-2025_22_35_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28679269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28679270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28679271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28679272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28679273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28679274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28679275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28679276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28679277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28679278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28679279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28679280, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28679980, 'dashboard_result_id': 17475724, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28679980_18-11-2025_22_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28680006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28680007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28680008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28680009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28680010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28680011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28680012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28680013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28680014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28680015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28680016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28680017, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28680802, 'dashboard_result_id': 17475725, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28680802_18-11-2025_23_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28680827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28680828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28680829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28680830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28680831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28680832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28680833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28680834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28680835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28680836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28680837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28680838, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28681369, 'dashboard_result_id': 17475726, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28681369_18-11-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28681417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28681418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28681419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28681420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28681421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28681422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28681423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28681424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28681425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28681426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28681427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28681428, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28681973, 'dashboard_result_id': 17475727, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28681973_18-11-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28681977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28681978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28681979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28681980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28681981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28681982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28681983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28681984, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28681985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28681986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28681987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28681988, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28682466, 'dashboard_result_id': 17475728, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28682466_18-11-2025_23_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28682499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28682500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28682501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28682502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28682503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28682504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28682505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28682506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28682507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28682508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28682509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28682510, 'pht': 3726}}"}, {'dashboat_entry_day': 2598648, 'dashboard_run_id': 2615164, 'mtr_portfolio_id': 28683046, 'dashboard_result_id': 17475729, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28683046_19-11-2025_01_25_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28683078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28683079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28683080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28683081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28683082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28683083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28683084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28683085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28683086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28683087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28683088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28683089, '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 = 28631138 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073575, 'mtr_portfolio_id': 28631138, 'created_at': datetime.datetime(2025, 11, 19, 5, 34, 28), 'result': '0.027044003199104157', 'result_long': None, 'result_double': None}] Qualite : 0.027044003199104157 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28631138 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28631138_19-11-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28631138 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28631138_19-11-2025_05_34_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28631146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28631147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28631148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28631149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28631150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28631151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28631152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28631153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28631154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28631155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28631156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28631157, 'pht': 3726}}" where mtr_portfolio_id = 28631138 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28631138 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475650, 0.027044003199104157, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28631138_19-11-2025_05_34_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28631146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28631147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28631148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28631149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28631150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28631151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28631152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28631153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28631154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28631155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28631156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28631157, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28631823 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073576, 'mtr_portfolio_id': 28631823, 'created_at': datetime.datetime(2025, 11, 19, 5, 35, 27), 'result': '0.05851027303634385', 'result_long': None, 'result_double': None}] Qualite : 0.05851027303634385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28631823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28631823_19-11-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28631823 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28631823_19-11-2025_05_35_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28631824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28631825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28631826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28631827, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28631828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28631829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28631830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28631831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28631832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28631833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28631834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28631835, 'pht': 3726}}" where mtr_portfolio_id = 28631823 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28631823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475651, 0.05851027303634385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28631823_19-11-2025_05_35_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28631824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28631825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28631826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28631827, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28631828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28631829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28631830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28631831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28631832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28631833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28631834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28631835, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28632284 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073577, 'mtr_portfolio_id': 28632284, 'created_at': datetime.datetime(2025, 11, 19, 5, 35, 27), 'result': '0.050061643709369275', 'result_long': None, 'result_double': None}] Qualite : 0.050061643709369275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28632284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28632284_19-11-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28632284 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28632284_19-11-2025_05_35_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28632290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28632291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28632292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28632293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28632294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28632295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28632296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28632297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28632298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28632299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28632300, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28632301, 'pht': 3726}}" where mtr_portfolio_id = 28632284 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28632284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475652, 0.050061643709369275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28632284_19-11-2025_05_35_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28632290, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28632291, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28632292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28632293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28632294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28632295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28632296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28632297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28632298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28632299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28632300, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28632301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28632886 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073578, 'mtr_portfolio_id': 28632886, 'created_at': datetime.datetime(2025, 11, 19, 5, 35, 58), 'result': '0.0354841780332806', 'result_long': None, 'result_double': None}] Qualite : 0.0354841780332806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28632886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28632886_19-11-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28632886 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28632886_19-11-2025_05_36_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28632895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28632896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28632897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28632898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28632899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28632900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28632901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28632902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28632903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28632904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28632905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28632906, 'pht': 3726}}" where mtr_portfolio_id = 28632886 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28632886 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475653, 0.0354841780332806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28632886_19-11-2025_05_36_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28632895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28632896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28632897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28632898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28632899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28632900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28632901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28632902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28632903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28632904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28632905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28632906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28634373 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073579, 'mtr_portfolio_id': 28634373, 'created_at': datetime.datetime(2025, 11, 19, 5, 36, 10), 'result': '0.043975554337369126', 'result_long': None, 'result_double': None}] Qualite : 0.043975554337369126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28634373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28634373_19-11-2025_05_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28634373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28634373_19-11-2025_05_36_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28634378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28634379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28634380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28634381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28634382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28634383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28634384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28634385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28634386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28634387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28634388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28634389, 'pht': 3726}}" where mtr_portfolio_id = 28634373 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28634373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475654, 0.043975554337369126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28634373_19-11-2025_05_36_13.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28634378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28634379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28634380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28634381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28634382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28634383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28634384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28634385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28634386, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28634387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28634388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28634389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28635010 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073580, 'mtr_portfolio_id': 28635010, 'created_at': datetime.datetime(2025, 11, 19, 5, 37), 'result': '0.03015534667359816', 'result_long': None, 'result_double': None}] Qualite : 0.03015534667359816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28635010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28635010_19-11-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28635010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28635010_19-11-2025_05_37_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28635011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28635012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28635013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28635014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28635015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28635016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28635017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28635018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28635019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28635020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28635021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28635022, 'pht': 3726}}" where mtr_portfolio_id = 28635010 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28635010 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475655, 0.03015534667359816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28635010_19-11-2025_05_37_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28635011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28635012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28635013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28635014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28635015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28635016, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28635017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28635018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28635019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28635020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28635021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28635022, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28635491 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073581, 'mtr_portfolio_id': 28635491, 'created_at': datetime.datetime(2025, 11, 19, 5, 37, 33), 'result': '0.04740794187181342', 'result_long': None, 'result_double': None}] Qualite : 0.04740794187181342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28635491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28635491_19-11-2025_05_37_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28635491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28635491_19-11-2025_05_37_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28635513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28635514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28635515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28635516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28635517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28635518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28635519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28635520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28635521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28635522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28635523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28635524, 'pht': 3726}}" where mtr_portfolio_id = 28635491 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28635491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475656, 0.04740794187181342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28635491_19-11-2025_05_37_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28635513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28635514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28635515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28635516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28635517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28635518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28635519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28635520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28635521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28635522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28635523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28635524, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28636035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073582, 'mtr_portfolio_id': 28636035, 'created_at': datetime.datetime(2025, 11, 19, 5, 37, 29), 'result': '0.0323353417388423', 'result_long': None, 'result_double': None}] Qualite : 0.0323353417388423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28636035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28636035_19-11-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28636035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28636035_19-11-2025_05_37_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28636061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28636062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28636063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28636064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28636065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28636066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28636067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28636068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28636069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28636070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28636071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28636072, 'pht': 3726}}" where mtr_portfolio_id = 28636035 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28636035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475657, 0.0323353417388423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28636035_19-11-2025_05_37_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28636061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28636062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28636063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28636064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28636065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28636066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28636067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28636068, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28636069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28636070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28636071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28636072, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28636740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073583, 'mtr_portfolio_id': 28636740, 'created_at': datetime.datetime(2025, 11, 19, 5, 37, 59), 'result': '0.0684027049911958', 'result_long': None, 'result_double': None}] Qualite : 0.0684027049911958 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28636740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28636740_19-11-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28636740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28636740_19-11-2025_05_38_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28636745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28636746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28636747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28636748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28636749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28636750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28636751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28636752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28636753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28636754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28636755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28636756, 'pht': 3726}}" where mtr_portfolio_id = 28636740 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28636740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475658, 0.0684027049911958, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28636740_19-11-2025_05_38_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28636745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28636746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28636747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28636748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28636749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28636750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28636751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28636752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28636753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28636754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28636755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28636756, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28637017 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073584, 'mtr_portfolio_id': 28637017, 'created_at': datetime.datetime(2025, 11, 19, 5, 38, 28), 'result': '0.0537666861023958', 'result_long': None, 'result_double': None}] Qualite : 0.0537666861023958 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28637017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28637017_19-11-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28637017 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28637017_19-11-2025_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28637026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28637027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28637028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28637029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28637030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28637031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28637032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28637033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28637034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28637035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28637036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28637037, 'pht': 3726}}" where mtr_portfolio_id = 28637017 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28637017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475659, 0.0537666861023958, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28637017_19-11-2025_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28637026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28637027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28637028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28637029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28637030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28637031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28637032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28637033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28637034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28637035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28637036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28637037, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28637392 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073585, 'mtr_portfolio_id': 28637392, 'created_at': datetime.datetime(2025, 11, 19, 5, 39, 26), 'result': '0.05145964967620445', 'result_long': None, 'result_double': None}] Qualite : 0.05145964967620445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28637392 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28637392_19-11-2025_05_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28637392 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28637392_19-11-2025_05_39_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28637400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28637401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28637402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28637403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28637404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28637405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28637406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28637407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28637408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28637409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28637410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28637411, 'pht': 3726}}" where mtr_portfolio_id = 28637392 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28637392 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475660, 0.05145964967620445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28637392_19-11-2025_05_39_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28637400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28637401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28637402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28637403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28637404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28637405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28637406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28637407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28637408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28637409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28637410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28637411, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28638080 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073586, 'mtr_portfolio_id': 28638080, 'created_at': datetime.datetime(2025, 11, 19, 5, 39, 59), 'result': '0.03214392118285005', 'result_long': None, 'result_double': None}] Qualite : 0.03214392118285005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28638080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28638080_19-11-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28638080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28638080_19-11-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28638081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28638082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28638083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28638084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28638085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28638086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28638087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28638088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28638089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28638090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28638091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28638092, 'pht': 3726}}" where mtr_portfolio_id = 28638080 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28638080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475661, 0.03214392118285005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28638080_19-11-2025_05_40_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28638081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28638082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28638083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28638084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28638085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28638086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28638087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28638088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28638089, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28638090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28638091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28638092, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28638689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073587, 'mtr_portfolio_id': 28638689, 'created_at': datetime.datetime(2025, 11, 19, 5, 40, 27), 'result': '0.053369357786094584', 'result_long': None, 'result_double': None}] Qualite : 0.053369357786094584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28638689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28638689_19-11-2025_05_40_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28638689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28638689_19-11-2025_05_40_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28638715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28638716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28638717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28638718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28638719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28638720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28638721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28638722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28638723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28638724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28638725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28638726, 'pht': 3726}}" where mtr_portfolio_id = 28638689 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28638689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475662, 0.053369357786094584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28638689_19-11-2025_05_40_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28638715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28638716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28638717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28638718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28638719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28638720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28638721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28638722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28638723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28638724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28638725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28638726, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28639147 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073588, 'mtr_portfolio_id': 28639147, 'created_at': datetime.datetime(2025, 11, 19, 5, 41, 28), 'result': '0.043664073794498326', 'result_long': None, 'result_double': None}] Qualite : 0.043664073794498326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28639147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28639147_19-11-2025_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28639147 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28639147_19-11-2025_05_41_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28639196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28639197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28639198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28639199, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28639200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28639201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28639202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28639203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28639204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28639205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28639206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28639207, 'pht': 3726}}" where mtr_portfolio_id = 28639147 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28639147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475663, 0.043664073794498326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28639147_19-11-2025_05_41_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28639196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28639197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28639198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28639199, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28639200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28639201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28639202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28639203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28639204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28639205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28639206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28639207, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28639591 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073589, 'mtr_portfolio_id': 28639591, 'created_at': datetime.datetime(2025, 11, 19, 5, 41, 59), 'result': '0.047182145080419576', 'result_long': None, 'result_double': None}] Qualite : 0.047182145080419576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28639591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28639591_19-11-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28639591 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28639591_19-11-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28639629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28639630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28639631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28639632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28639633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28639634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28639635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28639636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28639637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28639638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28639639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28639640, 'pht': 3726}}" where mtr_portfolio_id = 28639591 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28639591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475664, 0.047182145080419576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28639591_19-11-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28639629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28639630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28639631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28639632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28639633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28639634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28639635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28639636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28639637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28639638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28639639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28639640, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28641020 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073590, 'mtr_portfolio_id': 28641020, 'created_at': datetime.datetime(2025, 11, 19, 5, 42, 29), 'result': '0.05131668854412686', 'result_long': None, 'result_double': None}] Qualite : 0.05131668854412686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28641020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641020_19-11-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28641020 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641020_19-11-2025_05_42_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641035, 'pht': 3726}}" where mtr_portfolio_id = 28641020 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28641020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475665, 0.05131668854412686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641020_19-11-2025_05_42_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641035, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28641206 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073591, 'mtr_portfolio_id': 28641206, 'created_at': datetime.datetime(2025, 11, 19, 5, 43, 59), 'result': '0.04375130109882101', 'result_long': None, 'result_double': None}] Qualite : 0.04375130109882101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28641206 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641206_19-11-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28641206 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641206_19-11-2025_05_44_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641223, 'pht': 3726}}" where mtr_portfolio_id = 28641206 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28641206 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475666, 0.04375130109882101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641206_19-11-2025_05_44_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641213, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641219, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28641579 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073592, 'mtr_portfolio_id': 28641579, 'created_at': datetime.datetime(2025, 11, 19, 5, 44, 29), 'result': '0.05353725499006607', 'result_long': None, 'result_double': None}] Qualite : 0.05353725499006607 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28641579 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641579_19-11-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28641579 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641579_19-11-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641597, 'pht': 3726}}" where mtr_portfolio_id = 28641579 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28641579 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475667, 0.05353725499006607, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641579_19-11-2025_05_44_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641597, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28641934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073593, 'mtr_portfolio_id': 28641934, 'created_at': datetime.datetime(2025, 11, 19, 5, 45, 58), 'result': '0.0417349882595402', 'result_long': None, 'result_double': None}] Qualite : 0.0417349882595402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28641934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641934_19-11-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28641934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641934_19-11-2025_05_46_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641950, 'pht': 3726}}" where mtr_portfolio_id = 28641934 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28641934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475668, 0.0417349882595402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28641934_19-11-2025_05_46_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28641939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28641940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28641941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28641942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28641943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28641944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28641945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28641946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28641947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28641948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28641949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28641950, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28642364 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073594, 'mtr_portfolio_id': 28642364, 'created_at': datetime.datetime(2025, 11, 19, 5, 46, 11), 'result': '0.05427847047443822', 'result_long': None, 'result_double': None}] Qualite : 0.05427847047443822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28642364 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28642364_19-11-2025_05_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28642364 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28642364_19-11-2025_05_46_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28642374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28642375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28642376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28642377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28642378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28642379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28642380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28642381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28642382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28642383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28642384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28642385, 'pht': 3726}}" where mtr_portfolio_id = 28642364 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28642364 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475669, 0.05427847047443822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28642364_19-11-2025_05_46_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28642374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28642375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28642376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28642377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28642378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28642379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28642380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28642381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28642382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28642383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28642384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28642385, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28642968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073595, 'mtr_portfolio_id': 28642968, 'created_at': datetime.datetime(2025, 11, 19, 5, 46, 29), 'result': '0.05545880378881621', 'result_long': None, 'result_double': None}] Qualite : 0.05545880378881621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28642968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28642968_19-11-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28642968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28642968_19-11-2025_05_46_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28642972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28642973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28642974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28642975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28642976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28642977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28642978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28642979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28642980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28642981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28642982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28642983, 'pht': 3726}}" where mtr_portfolio_id = 28642968 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28642968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475670, 0.05545880378881621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28642968_19-11-2025_05_46_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28642972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28642973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28642974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28642975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28642976, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28642977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28642978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28642979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28642980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28642981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28642982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28642983, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28643374 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073596, 'mtr_portfolio_id': 28643374, 'created_at': datetime.datetime(2025, 11, 19, 5, 47, 57), 'result': '0.04841753110151316', 'result_long': None, 'result_double': None}] Qualite : 0.04841753110151316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28643374 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28643374_19-11-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28643374 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28643374_19-11-2025_05_48_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28643375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28643376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28643377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28643378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28643379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28643380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28643381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28643382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28643383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28643384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28643385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28643386, 'pht': 3726}}" where mtr_portfolio_id = 28643374 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28643374 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475671, 0.04841753110151316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28643374_19-11-2025_05_48_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28643375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28643376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28643377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28643378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28643379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28643380, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28643381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28643382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28643383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28643384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28643385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28643386, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28643779 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073597, 'mtr_portfolio_id': 28643779, 'created_at': datetime.datetime(2025, 11, 19, 5, 48, 30), 'result': '0.047816727162117996', 'result_long': None, 'result_double': None}] Qualite : 0.047816727162117996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28643779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28643779_19-11-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28643779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28643779_19-11-2025_05_48_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28643784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28643785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28643786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28643787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28643788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28643789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28643790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28643791, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28643792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28643793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28643794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28643795, 'pht': 3726}}" where mtr_portfolio_id = 28643779 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28643779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475672, 0.047816727162117996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28643779_19-11-2025_05_48_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28643784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28643785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28643786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28643787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28643788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28643789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28643790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28643791, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28643792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28643793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28643794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28643795, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28644283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073598, 'mtr_portfolio_id': 28644283, 'created_at': datetime.datetime(2025, 11, 19, 5, 49, 59), 'result': '0.03984502358593554', 'result_long': None, 'result_double': None}] Qualite : 0.03984502358593554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28644283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28644283_19-11-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28644283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28644283_19-11-2025_05_50_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28644316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28644317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28644318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28644319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28644320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28644321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28644322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28644323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28644324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28644325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28644326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28644327, 'pht': 3726}}" where mtr_portfolio_id = 28644283 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28644283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475673, 0.03984502358593554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28644283_19-11-2025_05_50_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28644316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28644317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28644318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28644319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28644320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28644321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28644322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28644323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28644324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28644325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28644326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28644327, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28645127 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073599, 'mtr_portfolio_id': 28645127, 'created_at': datetime.datetime(2025, 11, 19, 5, 50, 30), 'result': '0.028643494059411297', 'result_long': None, 'result_double': None}] Qualite : 0.028643494059411297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28645127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28645127_19-11-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28645127 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28645127_19-11-2025_05_50_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28645183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28645184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28645185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28645186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28645187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28645188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28645189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28645190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28645191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28645192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28645193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28645194, 'pht': 3726}}" where mtr_portfolio_id = 28645127 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28645127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475674, 0.028643494059411297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28645127_19-11-2025_05_50_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28645183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28645184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28645185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28645186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28645187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28645188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28645189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28645190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28645191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28645192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28645193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28645194, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28645778 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073600, 'mtr_portfolio_id': 28645778, 'created_at': datetime.datetime(2025, 11, 19, 5, 51, 31), 'result': '0.06742325464142351', 'result_long': None, 'result_double': None}] Qualite : 0.06742325464142351 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28645778 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28645778_19-11-2025_05_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28645778 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28645778_19-11-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28645792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28645793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28645794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28645795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28645796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28645797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28645798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28645799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28645800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28645801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28645802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28645803, 'pht': 3726}}" where mtr_portfolio_id = 28645778 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28645778 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475675, 0.06742325464142351, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28645778_19-11-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28645792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28645793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28645794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28645795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28645796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28645797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28645798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28645799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28645800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28645801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28645802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28645803, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28646472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073601, 'mtr_portfolio_id': 28646472, 'created_at': datetime.datetime(2025, 11, 19, 5, 52, 1), 'result': '0.05234191722230993', 'result_long': None, 'result_double': None}] Qualite : 0.05234191722230993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28646472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28646472_19-11-2025_05_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28646472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28646472_19-11-2025_05_52_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28646497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28646498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28646499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28646500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28646501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28646502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28646503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28646504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28646505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28646506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28646507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28646508, 'pht': 3726}}" where mtr_portfolio_id = 28646472 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28646472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475676, 0.05234191722230993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28646472_19-11-2025_05_52_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28646497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28646498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28646499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28646500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28646501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28646502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28646503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28646504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28646505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28646506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28646507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28646508, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28647027 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073602, 'mtr_portfolio_id': 28647027, 'created_at': datetime.datetime(2025, 11, 19, 5, 52, 29), 'result': '0.04447574805214967', 'result_long': None, 'result_double': None}] Qualite : 0.04447574805214967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28647027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28647027_19-11-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28647027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28647027_19-11-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28647068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28647069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28647070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28647071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28647072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28647073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28647074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28647075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28647076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28647077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28647078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28647079, 'pht': 3726}}" where mtr_portfolio_id = 28647027 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28647027 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475677, 0.04447574805214967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28647027_19-11-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28647068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28647069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28647070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28647071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28647072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28647073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28647074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28647075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28647076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28647077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28647078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28647079, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28647656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073603, 'mtr_portfolio_id': 28647656, 'created_at': datetime.datetime(2025, 11, 19, 5, 53, 58), 'result': '0.04639027115720961', 'result_long': None, 'result_double': None}] Qualite : 0.04639027115720961 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28647656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28647656_19-11-2025_05_54_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28647656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28647656_19-11-2025_05_54_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28647663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28647664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28647665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28647666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28647667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28647668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28647669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28647670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28647671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28647672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28647673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28647674, 'pht': 3726}}" where mtr_portfolio_id = 28647656 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28647656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475678, 0.04639027115720961, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28647656_19-11-2025_05_54_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28647663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28647664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28647665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28647666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28647667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28647668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28647669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28647670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28647671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28647672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28647673, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28647674, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28648493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073604, 'mtr_portfolio_id': 28648493, 'created_at': datetime.datetime(2025, 11, 19, 5, 54, 28), 'result': '0.0376638071779932', 'result_long': None, 'result_double': None}] Qualite : 0.0376638071779932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28648493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28648493_19-11-2025_05_54_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28648493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28648493_19-11-2025_05_54_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28648499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28648500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28648501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28648502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28648503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28648504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28648505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28648506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28648507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28648508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28648509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28648510, 'pht': 3726}}" where mtr_portfolio_id = 28648493 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28648493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475679, 0.0376638071779932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28648493_19-11-2025_05_54_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28648499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28648500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28648501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28648502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28648503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28648504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28648505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28648506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28648507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28648508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28648509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28648510, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28649305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073605, 'mtr_portfolio_id': 28649305, 'created_at': datetime.datetime(2025, 11, 19, 5, 55, 30), 'result': '0.0541977277007493', 'result_long': None, 'result_double': None}] Qualite : 0.0541977277007493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28649305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28649305_19-11-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28649305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28649305_19-11-2025_05_55_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28649346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28649347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28649348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28649349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28649350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28649351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28649352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28649353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28649354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28649355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28649356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28649357, 'pht': 3726}}" where mtr_portfolio_id = 28649305 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28649305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475680, 0.0541977277007493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28649305_19-11-2025_05_55_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28649346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28649347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28649348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28649349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28649350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28649351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28649352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28649353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28649354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28649355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28649356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28649357, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28650959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073606, 'mtr_portfolio_id': 28650959, 'created_at': datetime.datetime(2025, 11, 19, 5, 56), 'result': '0.04071743132239154', 'result_long': None, 'result_double': None}] Qualite : 0.04071743132239154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28650959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28650959_19-11-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28650959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28650959_19-11-2025_05_56_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28650974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28650975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28650976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28650977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28650978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28650979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28650980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28650981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28650982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28650983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28650984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28650985, 'pht': 3726}}" where mtr_portfolio_id = 28650959 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28650959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475681, 0.04071743132239154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28650959_19-11-2025_05_56_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28650974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28650975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28650976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28650977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28650978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28650979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28650980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28650981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28650982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28650983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28650984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28650985, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28651460 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073607, 'mtr_portfolio_id': 28651460, 'created_at': datetime.datetime(2025, 11, 19, 5, 56, 13), 'result': '0.06865722788955278', 'result_long': None, 'result_double': None}] Qualite : 0.06865722788955278 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28651460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28651460_19-11-2025_05_56_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28651460 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28651460_19-11-2025_05_56_15.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28651477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28651478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28651479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28651480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28651481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28651482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28651483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28651484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28651485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28651486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28651487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28651488, 'pht': 3726}}" where mtr_portfolio_id = 28651460 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28651460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475682, 0.06865722788955278, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28651460_19-11-2025_05_56_15.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28651477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28651478, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28651479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28651480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28651481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28651482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28651483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28651484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28651485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28651486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28651487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28651488, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28651808 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073608, 'mtr_portfolio_id': 28651808, 'created_at': datetime.datetime(2025, 11, 19, 5, 56, 28), 'result': '0.03750481752428012', 'result_long': None, 'result_double': None}] Qualite : 0.03750481752428012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28651808 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28651808_19-11-2025_05_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28651808 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28651808_19-11-2025_05_56_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28651841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28651842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28651843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28651844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28651845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28651846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28651847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28651848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28651849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28651850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28651851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28651852, 'pht': 3726}}" where mtr_portfolio_id = 28651808 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28651808 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475683, 0.03750481752428012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28651808_19-11-2025_05_56_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28651841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28651842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28651843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28651844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28651845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28651846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28651847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28651848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28651849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28651850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28651851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28651852, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28652248 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073609, 'mtr_portfolio_id': 28652248, 'created_at': datetime.datetime(2025, 11, 19, 5, 57, 28), 'result': '0.047689006639625074', 'result_long': None, 'result_double': None}] Qualite : 0.047689006639625074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28652248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28652248_19-11-2025_05_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28652248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28652248_19-11-2025_05_57_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28652258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28652259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28652260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28652261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28652262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28652263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28652264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28652265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28652266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28652267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28652268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28652269, 'pht': 3726}}" where mtr_portfolio_id = 28652248 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28652248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475684, 0.047689006639625074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28652248_19-11-2025_05_57_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28652258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28652259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28652260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28652261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28652262, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28652263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28652264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28652265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28652266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28652267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28652268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28652269, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28652749 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073610, 'mtr_portfolio_id': 28652749, 'created_at': datetime.datetime(2025, 11, 19, 5, 57, 58), 'result': '0.04228848938003682', 'result_long': None, 'result_double': None}] Qualite : 0.04228848938003682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28652749 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28652749_19-11-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28652749 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28652749_19-11-2025_05_58_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28652761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28652762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28652763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28652764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28652765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28652766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28652767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28652768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28652769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28652770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28652771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28652772, 'pht': 3726}}" where mtr_portfolio_id = 28652749 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28652749 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475685, 0.04228848938003682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28652749_19-11-2025_05_58_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28652761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28652762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28652763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28652764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28652765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28652766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28652767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28652768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28652769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28652770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28652771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28652772, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28653464 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073611, 'mtr_portfolio_id': 28653464, 'created_at': datetime.datetime(2025, 11, 19, 5, 58, 30), 'result': '0.049746835604455156', 'result_long': None, 'result_double': None}] Qualite : 0.049746835604455156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28653464 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28653464_19-11-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28653464 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28653464_19-11-2025_05_58_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28653474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28653475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28653476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28653477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28653478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28653479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28653480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28653481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28653482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28653483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28653484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28653485, 'pht': 3726}}" where mtr_portfolio_id = 28653464 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28653464 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475686, 0.049746835604455156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28653464_19-11-2025_05_58_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28653474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28653475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28653476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28653477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28653478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28653479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28653480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28653481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28653482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28653483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28653484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28653485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28653849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073612, 'mtr_portfolio_id': 28653849, 'created_at': datetime.datetime(2025, 11, 19, 5, 59, 27), 'result': '0.05122190805894759', 'result_long': None, 'result_double': None}] Qualite : 0.05122190805894759 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28653849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28653849_19-11-2025_05_59_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28653849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28653849_19-11-2025_05_59_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28653868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28653869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28653870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28653871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28653872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28653873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28653874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28653875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28653876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28653877, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28653878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28653879, 'pht': 3726}}" where mtr_portfolio_id = 28653849 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28653849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475687, 0.05122190805894759, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28653849_19-11-2025_05_59_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28653868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28653869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28653870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28653871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28653872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28653873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28653874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28653875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28653876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28653877, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28653878, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28653879, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28654500 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073613, 'mtr_portfolio_id': 28654500, 'created_at': datetime.datetime(2025, 11, 19, 5, 59, 58), 'result': '0.05169604488638238', 'result_long': None, 'result_double': None}] Qualite : 0.05169604488638238 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28654500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28654500_19-11-2025_06_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28654500 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28654500_19-11-2025_06_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28654534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28654535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28654536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28654537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28654538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28654539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28654540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28654541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28654542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28654543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28654544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28654545, 'pht': 3726}}" where mtr_portfolio_id = 28654500 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28654500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475688, 0.05169604488638238, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28654500_19-11-2025_06_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28654534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28654535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28654536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28654537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28654538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28654539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28654540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28654541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28654542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28654543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28654544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28654545, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28655193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073614, 'mtr_portfolio_id': 28655193, 'created_at': datetime.datetime(2025, 11, 19, 6, 0, 36), 'result': '0.07491812196278291', 'result_long': None, 'result_double': None}] Qualite : 0.07491812196278291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28655193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28655193_19-11-2025_06_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28655193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28655193_19-11-2025_06_00_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28655199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28655200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28655201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28655202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28655203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28655204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28655205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28655206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28655207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28655208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28655209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28655210, 'pht': 3726}}" where mtr_portfolio_id = 28655193 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28655193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475689, 0.07491812196278291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28655193_19-11-2025_06_00_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28655199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28655200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28655201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28655202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28655203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28655204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28655205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28655206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28655207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28655208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28655209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28655210, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28655671 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073615, 'mtr_portfolio_id': 28655671, 'created_at': datetime.datetime(2025, 11, 19, 6, 1, 31), 'result': '0.13912295364004823', 'result_long': None, 'result_double': None}] Qualite : 0.13912295364004823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28655671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28655671_19-11-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28655671 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28655671_19-11-2025_06_01_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28655696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28655697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28655698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28655699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28655700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28655701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28655702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28655703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28655704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28655705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28655706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28655707, 'pht': 3726}}" where mtr_portfolio_id = 28655671 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28655671 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475690, 0.13912295364004823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28655671_19-11-2025_06_01_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28655696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28655697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28655698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28655699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28655700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28655701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28655702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28655703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28655704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28655705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28655706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28655707, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28656138 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073616, 'mtr_portfolio_id': 28656138, 'created_at': datetime.datetime(2025, 11, 19, 6, 3), 'result': '0.06195973976749275', 'result_long': None, 'result_double': None}] Qualite : 0.06195973976749275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28656138 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28656138_19-11-2025_06_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28656138 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28656138_19-11-2025_06_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28656174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28656175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28656176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28656177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28656178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28656179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28656180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28656181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28656182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28656183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28656184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28656185, 'pht': 3726}}" where mtr_portfolio_id = 28656138 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28656138 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475691, 0.06195973976749275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28656138_19-11-2025_06_03_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28656174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28656175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28656176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28656177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28656178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28656179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28656180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28656181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28656182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28656183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28656184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28656185, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28658711 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073617, 'mtr_portfolio_id': 28658711, 'created_at': datetime.datetime(2025, 11, 19, 6, 3, 29), 'result': '0.030493424166818207', 'result_long': None, 'result_double': None}] Qualite : 0.030493424166818207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28658711 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28658711_19-11-2025_06_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28658711 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28658711_19-11-2025_06_03_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28658712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28658713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28658714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28658715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28658716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28658717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28658718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28658719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28658720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28658721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28658722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28658723, 'pht': 3726}}" where mtr_portfolio_id = 28658711 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28658711 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475692, 0.030493424166818207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28658711_19-11-2025_06_03_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28658712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28658713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28658714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28658715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28658716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28658717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28658718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28658719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28658720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28658721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28658722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28658723, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28659160 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073618, 'mtr_portfolio_id': 28659160, 'created_at': datetime.datetime(2025, 11, 19, 6, 3, 57), 'result': '0.04308308605668419', 'result_long': None, 'result_double': None}] Qualite : 0.04308308605668419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28659160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28659160_19-11-2025_06_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28659160 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28659160_19-11-2025_06_03_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28659164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28659165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28659166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28659167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28659168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28659169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28659170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28659171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28659172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28659173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28659174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28659175, 'pht': 3726}}" where mtr_portfolio_id = 28659160 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28659160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475693, 0.04308308605668419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28659160_19-11-2025_06_03_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28659164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28659165, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28659166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28659167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28659168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28659169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28659170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28659171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28659172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28659173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28659174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28659175, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28659722 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073619, 'mtr_portfolio_id': 28659722, 'created_at': datetime.datetime(2025, 11, 19, 6, 4, 30), 'result': '0.046324812530859225', 'result_long': None, 'result_double': None}] Qualite : 0.046324812530859225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28659722 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28659722_19-11-2025_06_04_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28659722 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28659722_19-11-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28659751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28659752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28659753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28659754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28659755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28659756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28659757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28659758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28659759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28659760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28659761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28659762, 'pht': 3726}}" where mtr_portfolio_id = 28659722 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28659722 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475694, 0.046324812530859225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28659722_19-11-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28659751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28659752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28659753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28659754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28659755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28659756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28659757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28659758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28659759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28659760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28659761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28659762, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28660259 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073620, 'mtr_portfolio_id': 28660259, 'created_at': datetime.datetime(2025, 11, 19, 6, 5, 56), 'result': '0.05978370760819674', 'result_long': None, 'result_double': None}] Qualite : 0.05978370760819674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28660259 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28660259_19-11-2025_06_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28660259 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28660259_19-11-2025_06_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28660293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28660294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28660295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28660296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28660297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28660298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28660299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28660300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28660301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28660302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28660304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28660305, 'pht': 3726}}" where mtr_portfolio_id = 28660259 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28660259 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475695, 0.05978370760819674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28660259_19-11-2025_06_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28660293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28660294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28660295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28660296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28660297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28660298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28660299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28660300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28660301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28660302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28660304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28660305, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28661085 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073621, 'mtr_portfolio_id': 28661085, 'created_at': datetime.datetime(2025, 11, 19, 6, 6, 11), 'result': '0.06993820028801016', 'result_long': None, 'result_double': None}] Qualite : 0.06993820028801016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28661085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28661085_19-11-2025_06_06_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28661085 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28661085_19-11-2025_06_06_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28661092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28661093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28661094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28661095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28661096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28661097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28661098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28661099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28661100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28661101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28661102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28661103, 'pht': 3726}}" where mtr_portfolio_id = 28661085 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28661085 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475696, 0.06993820028801016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28661085_19-11-2025_06_06_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28661092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28661093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28661094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28661095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28661096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28661097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28661098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28661099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28661100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28661101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28661102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28661103, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28661468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073622, 'mtr_portfolio_id': 28661468, 'created_at': datetime.datetime(2025, 11, 19, 6, 6, 29), 'result': '0.06340170006142047', 'result_long': None, 'result_double': None}] Qualite : 0.06340170006142047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28661468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28661468_19-11-2025_06_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28661468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28661468_19-11-2025_06_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28661523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28661524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28661525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28661526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28661527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28661528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28661529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28661530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28661531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28661532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28661533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28661534, 'pht': 3726}}" where mtr_portfolio_id = 28661468 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28661468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475697, 0.06340170006142047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28661468_19-11-2025_06_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28661523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28661524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28661525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28661526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28661527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28661528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28661529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28661530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28661531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28661532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28661533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28661534, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28662141 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073623, 'mtr_portfolio_id': 28662141, 'created_at': datetime.datetime(2025, 11, 19, 6, 7, 31), 'result': '0.05369502605403811', 'result_long': None, 'result_double': None}] Qualite : 0.05369502605403811 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28662141 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28662141_19-11-2025_06_07_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28662141 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28662141_19-11-2025_06_07_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28662232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28662233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28662234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28662235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28662236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28662237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28662238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28662239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28662240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28662241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28662242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28662243, 'pht': 3726}}" where mtr_portfolio_id = 28662141 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28662141 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475698, 0.05369502605403811, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28662141_19-11-2025_06_07_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28662232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28662233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28662234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28662235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28662236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28662237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28662238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28662239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28662240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28662241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28662242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28662243, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28662798 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073624, 'mtr_portfolio_id': 28662798, 'created_at': datetime.datetime(2025, 11, 19, 6, 7, 58), 'result': '0.04416173853905275', 'result_long': None, 'result_double': None}] Qualite : 0.04416173853905275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28662798 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28662798_19-11-2025_06_08_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28662798 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28662798_19-11-2025_06_08_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28662816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28662817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28662818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28662819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28662820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28662821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28662822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28662823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28662824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28662826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28662827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28662828, 'pht': 3726}}" where mtr_portfolio_id = 28662798 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28662798 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475699, 0.04416173853905275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28662798_19-11-2025_06_08_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28662816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28662817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28662818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28662819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28662820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28662821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28662822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28662823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28662824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28662826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28662827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28662828, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28663472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073625, 'mtr_portfolio_id': 28663472, 'created_at': datetime.datetime(2025, 11, 19, 6, 8, 30), 'result': '0.04889181258193799', 'result_long': None, 'result_double': None}] Qualite : 0.04889181258193799 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28663472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663472_19-11-2025_06_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28663472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663472_19-11-2025_06_08_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28663474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28663475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28663476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28663477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28663478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28663479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28663480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28663481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28663482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28663483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28663484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28663485, 'pht': 3726}}" where mtr_portfolio_id = 28663472 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28663472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475700, 0.04889181258193799, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663472_19-11-2025_06_08_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28663474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28663475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28663476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28663477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28663478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28663479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28663480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28663481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28663482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28663483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28663484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28663485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28663984 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4073626, 'mtr_portfolio_id': 28663984, 'created_at': datetime.datetime(2025, 11, 19, 6, 9, 31), 'result': '0.06925278977230764', 'result_long': None, 'result_double': None}] Qualite : 0.06925278977230764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28663984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663984_19-11-2025_06_09_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28663984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663984_19-11-2025_06_09_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28663997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28663998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28663999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28664000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28664001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28664002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28664003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28664004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28664005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28664006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28664007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28664008, 'pht': 3726}}" where mtr_portfolio_id = 28663984 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28663984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475701, 0.06925278977230764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28663984_19-11-2025_06_09_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28663997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28663998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28663999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28664000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28664001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28664002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28664003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28664004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28664005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28664006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28664007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28664008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28664534 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4067504, 'mtr_portfolio_id': 28664534, 'created_at': datetime.datetime(2025, 11, 18, 16, 33), 'result': '0.03388125312643098', 'result_long': None, 'result_double': None}] Qualite : 0.03388125312643098 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28664534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28664534_18-11-2025_16_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28664534 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28664534_18-11-2025_16_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28664583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28664584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28664585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28664586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28664587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28664588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28664589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28664590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28664591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28664592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28664593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28664594, 'pht': 3726}}" where mtr_portfolio_id = 28664534 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28664534 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475702, 0.03388125312643098, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28664534_18-11-2025_16_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28664583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28664584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28664585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28664586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28664587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28664588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28664589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28664590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28664591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28664592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28664593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28664594, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28665161 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4067602, 'mtr_portfolio_id': 28665161, 'created_at': datetime.datetime(2025, 11, 18, 16, 49, 28), 'result': '0.07497494447951597', 'result_long': None, 'result_double': None}] Qualite : 0.07497494447951597 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28665161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28665161_18-11-2025_16_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28665161 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28665161_18-11-2025_16_49_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28665192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28665193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28665194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28665195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28665196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28665197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28665198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28665199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28665200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28665201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28665202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28665203, 'pht': 3726}}" where mtr_portfolio_id = 28665161 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28665161 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475703, 0.07497494447951597, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28665161_18-11-2025_16_49_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28665192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28665193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28665194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28665195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28665196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28665197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28665198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28665199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28665200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28665201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28665202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28665203, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28665818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4067804, 'mtr_portfolio_id': 28665818, 'created_at': datetime.datetime(2025, 11, 18, 17, 4, 58), 'result': '0.03291653309004118', 'result_long': None, 'result_double': None}] Qualite : 0.03291653309004118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28665818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28665818_18-11-2025_17_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28665818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28665818_18-11-2025_17_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28665849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28665850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28665851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28665852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28665853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28665854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28665855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28665856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28665857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28665858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28665859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28665860, 'pht': 3726}}" where mtr_portfolio_id = 28665818 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28665818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475704, 0.03291653309004118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28665818_18-11-2025_17_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28665849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28665850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28665851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28665852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28665853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28665854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28665855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28665856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28665857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28665858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28665859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28665860, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28666502 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4067987, 'mtr_portfolio_id': 28666502, 'created_at': datetime.datetime(2025, 11, 18, 17, 19, 1), 'result': '0.034618631330752186', 'result_long': None, 'result_double': None}] Qualite : 0.034618631330752186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28666502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28666502_18-11-2025_17_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28666502 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28666502_18-11-2025_17_19_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28666524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28666525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28666526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28666527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28666528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28666529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28666530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28666531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28666532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28666533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28666534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28666535, 'pht': 3726}}" where mtr_portfolio_id = 28666502 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28666502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475705, 0.034618631330752186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28666502_18-11-2025_17_19_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28666524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28666525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28666526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28666527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28666528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28666529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28666530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28666531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28666532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28666533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28666534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28666535, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28667333 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4068192, 'mtr_portfolio_id': 28667333, 'created_at': datetime.datetime(2025, 11, 18, 17, 58, 58), 'result': '0.04290642280849667', 'result_long': None, 'result_double': None}] Qualite : 0.04290642280849667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28667333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28667333_18-11-2025_17_58_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28667333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28667333_18-11-2025_17_58_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28667365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28667366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28667367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28667368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28667369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28667370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28667371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28667372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28667373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28667374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28667375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28667376, 'pht': 3726}}" where mtr_portfolio_id = 28667333 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28667333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475706, 0.04290642280849667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28667333_18-11-2025_17_58_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28667365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28667366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28667367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28667368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28667369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28667370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28667371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28667372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28667373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28667374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28667375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28667376, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28669039 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4068571, 'mtr_portfolio_id': 28669039, 'created_at': datetime.datetime(2025, 11, 18, 18, 18, 56), 'result': '0.07797961949253553', 'result_long': None, 'result_double': None}] Qualite : 0.07797961949253553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28669039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669039_18-11-2025_18_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28669039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669039_18-11-2025_18_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28669045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28669049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28669053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669056, 'pht': 3726}}" where mtr_portfolio_id = 28669039 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28669039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475707, 0.07797961949253553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669039_18-11-2025_18_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28669045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28669049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28669053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669056, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28669636 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4068659, 'mtr_portfolio_id': 28669636, 'created_at': datetime.datetime(2025, 11, 18, 18, 32, 59), 'result': '0.032115400709954306', 'result_long': None, 'result_double': None}] Qualite : 0.032115400709954306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28669636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669636_18-11-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28669636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669636_18-11-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28669653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28669655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28669656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669663, 'pht': 3726}}" where mtr_portfolio_id = 28669636 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28669636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475708, 0.032115400709954306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669636_18-11-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28669653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28669655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28669656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669663, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28669946 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4068759, 'mtr_portfolio_id': 28669946, 'created_at': datetime.datetime(2025, 11, 18, 18, 48, 57), 'result': '0.037250125678374595', 'result_long': None, 'result_double': None}] Qualite : 0.037250125678374595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28669946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669946_18-11-2025_18_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28669946 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669946_18-11-2025_18_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28669991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28670000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28670001, 'pht': 3726}}" where mtr_portfolio_id = 28669946 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28669946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475709, 0.037250125678374595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28669946_18-11-2025_18_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28669990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28669991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28669992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28669993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28669994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28669995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28669996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28669997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28669998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28669999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28670000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28670001, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28670527 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4068863, 'mtr_portfolio_id': 28670527, 'created_at': datetime.datetime(2025, 11, 18, 19, 2, 58), 'result': '0.044185940712529875', 'result_long': None, 'result_double': None}] Qualite : 0.044185940712529875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28670527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28670527_18-11-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28670527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28670527_18-11-2025_19_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28670528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28670529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28670530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28670531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28670532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28670533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28670534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28670535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28670536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28670537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28670538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28670539, 'pht': 3726}}" where mtr_portfolio_id = 28670527 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28670527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475710, 0.044185940712529875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28670527_18-11-2025_19_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28670528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28670529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28670530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28670531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28670532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28670533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28670534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28670535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28670536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28670537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28670538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28670539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28671006 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4068968, 'mtr_portfolio_id': 28671006, 'created_at': datetime.datetime(2025, 11, 18, 19, 18, 59), 'result': '0.02626863269700539', 'result_long': None, 'result_double': None}] Qualite : 0.02626863269700539 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28671006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28671006_18-11-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28671006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28671006_18-11-2025_19_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28671026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28671027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28671028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28671029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28671030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28671031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28671032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28671033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28671034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28671035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28671036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28671037, 'pht': 3726}}" where mtr_portfolio_id = 28671006 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28671006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475711, 0.02626863269700539, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28671006_18-11-2025_19_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28671026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28671027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28671028, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28671029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28671030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28671031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28671032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28671033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28671034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28671035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28671036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28671037, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28671566 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4069065, 'mtr_portfolio_id': 28671566, 'created_at': datetime.datetime(2025, 11, 18, 19, 32, 58), 'result': '0.04745355345385372', 'result_long': None, 'result_double': None}] Qualite : 0.04745355345385372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28671566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28671566_18-11-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28671566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28671566_18-11-2025_19_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28671600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28671601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28671602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28671603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28671604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28671605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28671606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28671607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28671609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28671610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28671611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28671612, 'pht': 3726}}" where mtr_portfolio_id = 28671566 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28671566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475712, 0.04745355345385372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28671566_18-11-2025_19_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28671600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28671601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28671602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28671603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28671604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28671605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28671606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28671607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28671609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28671610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28671611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28671612, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28672057 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4069201, 'mtr_portfolio_id': 28672057, 'created_at': datetime.datetime(2025, 11, 18, 19, 48, 58), 'result': '0.047440991053148494', 'result_long': None, 'result_double': None}] Qualite : 0.047440991053148494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28672057 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28672057_18-11-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28672057 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28672057_18-11-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28672069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28672070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28672071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28672072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28672073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28672074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28672075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28672076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28672077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28672078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28672079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28672080, 'pht': 3726}}" where mtr_portfolio_id = 28672057 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28672057 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475713, 0.047440991053148494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28672057_18-11-2025_19_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28672069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28672070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28672071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28672072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28672073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28672074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28672075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28672076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28672077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28672078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28672079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28672080, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28672738 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4069312, 'mtr_portfolio_id': 28672738, 'created_at': datetime.datetime(2025, 11, 18, 20, 4, 58), 'result': '0.05208003258336188', 'result_long': None, 'result_double': None}] Qualite : 0.05208003258336188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28672738 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28672738_18-11-2025_20_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28672738 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28672738_18-11-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28672755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28672756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28672757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28672758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28672759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28672760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28672761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28672762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28672763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28672764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28672765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28672766, 'pht': 3726}}" where mtr_portfolio_id = 28672738 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28672738 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475714, 0.05208003258336188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28672738_18-11-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28672755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28672756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28672757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28672758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28672759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28672760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28672761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28672762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28672763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28672764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28672765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28672766, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28673555 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4069443, 'mtr_portfolio_id': 28673555, 'created_at': datetime.datetime(2025, 11, 18, 20, 18, 58), 'result': '0.015219938022026138', 'result_long': None, 'result_double': None}] Qualite : 0.015219938022026138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28673555 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28673555_18-11-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28673555 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28673555_18-11-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28673574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28673575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28673576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28673577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28673578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28673579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28673580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28673581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28673582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28673583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28673584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28673585, 'pht': 3726}}" where mtr_portfolio_id = 28673555 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28673555 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475715, 0.015219938022026138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28673555_18-11-2025_20_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28673574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28673575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28673576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28673577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28673578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28673579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28673580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28673581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28673582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28673583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28673584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28673585, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28674277 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4069616, 'mtr_portfolio_id': 28674277, 'created_at': datetime.datetime(2025, 11, 18, 20, 32, 57), 'result': '0.03974845986507371', 'result_long': None, 'result_double': None}] Qualite : 0.03974845986507371 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28674277 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28674277_18-11-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28674277 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28674277_18-11-2025_20_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28674296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28674297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28674298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28674299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28674300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28674301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28674302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28674303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28674304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28674305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28674306, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28674307, 'pht': 3726}}" where mtr_portfolio_id = 28674277 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28674277 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475716, 0.03974845986507371, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28674277_18-11-2025_20_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28674296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28674297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28674298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28674299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28674300, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28674301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28674302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28674303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28674304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28674305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28674306, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28674307, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28675030 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4069739, 'mtr_portfolio_id': 28675030, 'created_at': datetime.datetime(2025, 11, 18, 21, 6, 59), 'result': '0.0469397959370763', 'result_long': None, 'result_double': None}] Qualite : 0.0469397959370763 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28675030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28675030_18-11-2025_21_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28675030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28675030_18-11-2025_21_06_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28675055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28675056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28675057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28675058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28675059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28675060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28675061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28675062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28675063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28675064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28675065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28675066, 'pht': 3726}}" where mtr_portfolio_id = 28675030 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28675030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475717, 0.0469397959370763, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28675030_18-11-2025_21_06_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28675055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28675056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28675057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28675058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28675059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28675060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28675061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28675062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28675063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28675064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28675065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28675066, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28676760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4070044, 'mtr_portfolio_id': 28676760, 'created_at': datetime.datetime(2025, 11, 18, 21, 19, 31), 'result': '0.07497201022401971', 'result_long': None, 'result_double': None}] Qualite : 0.07497201022401971 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28676760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28676760_18-11-2025_21_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28676760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28676760_18-11-2025_21_19_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28676810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28676811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28676812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28676813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28676814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28676815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28676816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28676817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28676818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28676819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28676820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28676821, 'pht': 3726}}" where mtr_portfolio_id = 28676760 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28676760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475718, 0.07497201022401971, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28676760_18-11-2025_21_19_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28676810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28676811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28676812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28676813, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28676814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28676815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28676816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28676817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28676818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28676819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28676820, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28676821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28677222 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4070093, 'mtr_portfolio_id': 28677222, 'created_at': datetime.datetime(2025, 11, 18, 21, 32, 58), 'result': '0.028317681324961156', 'result_long': None, 'result_double': None}] Qualite : 0.028317681324961156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28677222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28677222_18-11-2025_21_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28677222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28677222_18-11-2025_21_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28677228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28677229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28677230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28677231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28677232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28677233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28677234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28677235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28677236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28677237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28677238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28677239, 'pht': 3726}}" where mtr_portfolio_id = 28677222 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28677222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475719, 0.028317681324961156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28677222_18-11-2025_21_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28677228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28677229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28677230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28677231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28677232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28677233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28677234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28677235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28677236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28677237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28677238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28677239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28677589 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4070183, 'mtr_portfolio_id': 28677589, 'created_at': datetime.datetime(2025, 11, 18, 21, 49, 28), 'result': '0.030943905324755185', 'result_long': None, 'result_double': None}] Qualite : 0.030943905324755185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28677589 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28677589_18-11-2025_21_49_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28677589 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28677589_18-11-2025_21_49_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28677621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28677622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28677623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28677624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28677625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28677626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28677627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28677628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28677629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28677630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28677631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28677632, 'pht': 3726}}" where mtr_portfolio_id = 28677589 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28677589 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475720, 0.030943905324755185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28677589_18-11-2025_21_49_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28677621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28677622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28677623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28677624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28677625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28677626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28677627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28677628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28677629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28677630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28677631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28677632, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28678156 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4070271, 'mtr_portfolio_id': 28678156, 'created_at': datetime.datetime(2025, 11, 18, 22, 2, 58), 'result': '0.040334539956035524', 'result_long': None, 'result_double': None}] Qualite : 0.040334539956035524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28678156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28678156_18-11-2025_22_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28678156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28678156_18-11-2025_22_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28678176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28678177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28678178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28678179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28678180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28678181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28678182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28678183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28678184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28678185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28678186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28678187, 'pht': 3726}}" where mtr_portfolio_id = 28678156 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28678156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475721, 0.040334539956035524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28678156_18-11-2025_22_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28678176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28678177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28678178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28678179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28678180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28678181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28678182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28678183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28678184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28678185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28678186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28678187, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28678649 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4070391, 'mtr_portfolio_id': 28678649, 'created_at': datetime.datetime(2025, 11, 18, 22, 18, 59), 'result': '0.04942351564907312', 'result_long': None, 'result_double': None}] Qualite : 0.04942351564907312 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28678649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28678649_18-11-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28678649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28678649_18-11-2025_22_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28678699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28678700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28678701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28678702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28678703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28678704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28678705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28678706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28678707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28678708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28678709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28678710, 'pht': 3726}}" where mtr_portfolio_id = 28678649 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28678649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475722, 0.04942351564907312, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28678649_18-11-2025_22_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28678699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28678700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28678701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28678702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28678703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28678704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28678705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28678706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28678707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28678708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28678709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28678710, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28679254 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4070558, 'mtr_portfolio_id': 28679254, 'created_at': datetime.datetime(2025, 11, 18, 22, 35), 'result': '0.05068588111545588', 'result_long': None, 'result_double': None}] Qualite : 0.05068588111545588 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28679254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28679254_18-11-2025_22_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28679254 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28679254_18-11-2025_22_35_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28679269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28679270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28679271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28679272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28679273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28679274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28679275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28679276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28679277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28679278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28679279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28679280, 'pht': 3726}}" where mtr_portfolio_id = 28679254 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28679254 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475723, 0.05068588111545588, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28679254_18-11-2025_22_35_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28679269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28679270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28679271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28679272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28679273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28679274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28679275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28679276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28679277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28679278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28679279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28679280, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28679980 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4070748, 'mtr_portfolio_id': 28679980, 'created_at': datetime.datetime(2025, 11, 18, 22, 48, 59), 'result': '0.06384278262819099', 'result_long': None, 'result_double': None}] Qualite : 0.06384278262819099 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28679980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28679980_18-11-2025_22_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28679980 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28679980_18-11-2025_22_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28680006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28680007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28680008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28680009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28680010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28680011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28680012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28680013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28680014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28680015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28680016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28680017, 'pht': 3726}}" where mtr_portfolio_id = 28679980 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28679980 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475724, 0.06384278262819099, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28679980_18-11-2025_22_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28680006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28680007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28680008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28680009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28680010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28680011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28680012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28680013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28680014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28680015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28680016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28680017, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28680802 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4070942, 'mtr_portfolio_id': 28680802, 'created_at': datetime.datetime(2025, 11, 18, 23, 2, 59), 'result': '0.030871093452364277', 'result_long': None, 'result_double': None}] Qualite : 0.030871093452364277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28680802 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28680802_18-11-2025_23_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28680802 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28680802_18-11-2025_23_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28680827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28680828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28680829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28680830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28680831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28680832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28680833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28680834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28680835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28680836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28680837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28680838, 'pht': 3726}}" where mtr_portfolio_id = 28680802 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28680802 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475725, 0.030871093452364277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28680802_18-11-2025_23_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28680827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28680828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28680829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28680830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28680831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28680832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28680833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28680834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28680835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28680836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28680837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28680838, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28681369 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4071109, 'mtr_portfolio_id': 28681369, 'created_at': datetime.datetime(2025, 11, 18, 23, 19), 'result': '0.030509697899952365', 'result_long': None, 'result_double': None}] Qualite : 0.030509697899952365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28681369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28681369_18-11-2025_23_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28681369 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28681369_18-11-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28681417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28681418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28681419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28681420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28681421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28681422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28681423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28681424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28681425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28681426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28681427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28681428, 'pht': 3726}}" where mtr_portfolio_id = 28681369 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28681369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475726, 0.030509697899952365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28681369_18-11-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28681417, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28681418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28681419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28681420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28681421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28681422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28681423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28681424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28681425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28681426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28681427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28681428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28681973 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4071304, 'mtr_portfolio_id': 28681973, 'created_at': datetime.datetime(2025, 11, 18, 23, 32, 59), 'result': '0.05620661853745439', 'result_long': None, 'result_double': None}] Qualite : 0.05620661853745439 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28681973 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28681973_18-11-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28681973 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28681973_18-11-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28681977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28681978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28681979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28681980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28681981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28681982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28681983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28681984, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28681985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28681986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28681987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28681988, 'pht': 3726}}" where mtr_portfolio_id = 28681973 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28681973 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475727, 0.05620661853745439, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28681973_18-11-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28681977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28681978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28681979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28681980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28681981, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28681982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28681983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28681984, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28681985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28681986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28681987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28681988, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28682466 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4071445, 'mtr_portfolio_id': 28682466, 'created_at': datetime.datetime(2025, 11, 18, 23, 49), 'result': '0.06461354955676774', 'result_long': None, 'result_double': None}] Qualite : 0.06461354955676774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28682466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28682466_18-11-2025_23_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28682466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28682466_18-11-2025_23_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28682499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28682500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28682501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28682502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28682503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28682504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28682505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28682506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28682507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28682508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28682509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28682510, 'pht': 3726}}" where mtr_portfolio_id = 28682466 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28682466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475728, 0.06461354955676774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28682466_18-11-2025_23_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28682499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28682500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28682501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28682502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28682503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28682504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28682505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28682506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28682507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28682508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28682509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28682510, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28683046 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4071625, 'mtr_portfolio_id': 28683046, 'created_at': datetime.datetime(2025, 11, 19, 1, 25, 58), 'result': '0.04750989241812864', 'result_long': None, 'result_double': None}] Qualite : 0.04750989241812864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28683046 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28683046_19-11-2025_01_25_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28683046 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28683046_19-11-2025_01_25_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28683078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28683079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28683080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28683081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28683082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28683083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28683084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28683085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28683086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28683087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28683088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28683089, 'pht': 3726}}" where mtr_portfolio_id = 28683046 and dashboard_run_id = 2615164 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28683046 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17475729, 0.04750989241812864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28683046_19-11-2025_01_25_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28683078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28683079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28683080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28683081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28683082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28683083, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28683084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28683085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28683086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28683087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28683088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28683089, '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 (28631138,28631823,28632284,28632886,28634373,28635010,28635491,28636035,28636740,28637017,28637392,28638080,28638689,28639147,28639591,28641020,28641206,28641579,28641934,28642364,28642968,28643374,28643779,28644283,28645127,28645778,28646472,28647027,28647656,28648493,28649305,28650959,28651460,28651808,28652248,28652749,28653464,28653849,28654500,28655193,28655671,28656138,28658711,28659160,28659722,28660259,28661085,28661468,28662141,28662798,28663472,28663984,28664534,28665161,28665818,28666502,28667333,28669039,28669636,28669946,28670527,28671006,28671566,28672057,28672738,28673555,28674277,28675030,28676760,28677222,28677589,28678156,28678649,28679254,28679980,28680802,28681369,28681973,28682466,28683046) result : ((1394942829,), (1394942839,), (1394942854,), (1394942987,), (1394943023,), (1394943063,), (1394943097,), (1394943498,), (1394943530,), (1394943559,), (1394943590,), (1394943624,), (1394943662,), (1394943743,), (1394943745,), (1394943747,), (1394943763,), (1394943798,), (1394944144,), (1394944180,), (1394944221,), (1394944235,), (1394944353,), (1394944356,), (1394944361,), (1394944367,), (1394944520,), (1394944521,), (1394944522,), (1394944524,), (1394944558,), (1394944561,), (1394944566,), (1394944570,), (1394944660,), (1394944662,), (1394944664,), (1394944697,), (1394944732,), (1394944749,), (1394944768,), (1394944790,), (1394944816,), (1394944948,), (1394944984,), (1394945016,), (1394945047,), (1394945081,), (1394945204,), (1394945206,), (1394945232,), (1394945230,), (1394945264,), (1394945275,), (1394945292,), (1394945294,), (1394945296,), (1394945300,), (1394945303,), (1394945305,), (1394945638,), (1394945676,), (1394945706,), (1394945739,), (1394945744,), (1394945748,), (1394945896,), (1394945915,), (1394945920,), (1394945993,), (1394945995,), (1394945999,), (1394946019,), (1394946020,), (1394946027,), (1394946030,), (1394946056,), (1394946143,), (1394946145,), (1394946173,), (1394946233,), (1394946234,), (1394946235,), (1394946262,), (1394946263,), (1394946264,), (1394946281,), (1394946283,), (1394946288,), (1394946292,), (1394946305,), (1394946307,), (1394946313,), (1394946321,), (1394946330,), (1394946353,), (1394946355,), (1394946357,), (1394946360,), (1394946379,), (1394946383,), (1394946389,), (1394946394,), (1394946399,), (1394946413,), (1394946414,), (1394946838,), (1394946827,), (1394946833,), (1394946835,), (1394947037,), (1394947061,), (1394947090,), (1394947099,), (1394947124,), (1394947126,), (1394947128,), (1394947150,), (1394947152,), (1394947155,), (1394947158,), (1394947162,), (1394947466,), (1394947500,), (1394947531,), (1394947562,), (1394947985,), (1394948017,), (1394948052,), (1394948537,), (1394948549,), (1394948550,), (1394948576,), (1394948768,), (1394948769,), (1394948771,), (1394948780,), (1394948921,), (1394948953,), (1394948986,), (1394949023,), (1394949059,), (1394949193,), (1394949207,), (1394949242,), (1394949276,), (1394949310,), (1394949343,), (1394949442,), (1394949444,), (1394949446,), (1394949482,), (1394949483,), (1394949484,), (1394949487,), (1394949510,), (1394949512,), (1394949538,), (1394949540,), (1394949543,), (1394949577,), (1394949573,), (1394949574,), (1394949575,), (1394949595,), (1394949596,), (1394949619,), (1394949620,), (1394949651,), (1394949655,), (1394949656,), (1394949681,), (1394949683,), (1394949685,), (1394949689,), (1394949708,), (1394949709,), (1394949710,), (1394949713,), (1394949744,), (1394949746,), (1394949748,), (1394949771,), (1394949772,), (1394949773,), (1394949776,), (1394949870,), (1394949902,), (1394949932,), (1394949965,), (1394950203,), (1394950243,), (1394950275,), (1394950331,), (1394950332,), (1394950355,), (1394950357,), (1394950359,), (1394950699,), (1394950729,), (1394950763,), (1394950795,), (1394951147,), (1394951182,), (1394951216,), (1394951615,), (1394963649,), (1394963683,), (1394963715,), (1394964148,), (1394964211,), (1394964268,), (1394964527,), (1394964530,), (1394964533,), (1394965229,), (1394965632,), (1394965634,), (1394965636,), (1394965639,), (1394965975,), (1394966022,), (1394966266,), (1394966268,), (1394966375,), (1394966377,), (1394966379,), (1394966381,), (1394966385,), (1394966389,), (1394966406,), (1394966407,), (1394966408,), (1394966726,), (1394966817,), (1394966906,), (1394967003,), (1394967113,), (1394967210,), (1394967516,), (1394967518,), (1394967528,), (1394967619,), (1394967804,), (1394967805,), (1394967806,), (1394967809,), (1394967814,), (1394967816,), (1394967832,), (1394967834,), (1394967859,), (1394967922,), (1394968030,), (1394968151,), (1394968277,), (1394969140,), (1394968941,), (1394968971,), (1394969001,), (1394969034,), (1394969676,), (1394969703,), (1394969704,), (1394969887,), (1394969910,), (1394969912,), (1394969942,), (1394969966,), (1394969969,), (1394969971,), (1394969974,), (1394969978,), (1394970005,), (1394970007,), (1394970009,), (1394970013,), (1394970033,), (1394970034,), (1394970035,), (1394970038,), (1394970043,), (1394970782,), (1394970901,), (1394971026,), (1394971150,), (1394971854,), (1394971896,), (1394971958,), (1394972000,), (1394972185,), (1394972187,), (1394972191,), (1394972196,), (1394972200,), (1394972204,), (1394972932,), (1394972933,), (1394972934,), (1394972935,), (1394973217,), (1394973243,), (1394973245,), (1394973327,), (1394973328,), (1394973329,), (1394973331,), (1394973380,), (1394973381,), (1394973382,), (1394973406,), (1394973409,), (1394973411,), (1394973414,), (1394973422,), (1394973423,), (1394973425,), (1394973426,), (1394973428,), (1394973429,), (1394973448,), (1394973447,), (1394973467,), (1394973468,), (1394973469,), (1394973471,), (1394973475,), (1394973518,), (1394973553,), (1394973574,), (1394973644,), (1394973645,), (1394973646,), (1394973648,), (1394973652,), (1394973952,), (1394973985,), (1394974026,), (1394974060,), (1394974415,), (1394974429,), (1394974430,), (1394974432,), (1394974593,), (1394974625,), (1394974655,), (1394974688,), (1394975008,), (1394975040,), (1394975071,), (1394975104,), (1394975463,), (1394975584,), (1394975588,), (1394975591,), (1394975595,), (1394975598,), (1394975675,), (1394975706,), (1394975921,), (1394975922,), (1394975923,), (1394975926,), (1394975965,), (1394975967,), (1394975969,), (1394975973,), (1394975978,), (1394975981,), (1394976006,), (1394976008,), (1394976011,), (1394976017,), (1394976041,), (1394976043,), (1394976045,), (1394976068,), (1394976069,), (1394976070,), (1394976073,), (1394976076,), (1394976080,), (1394976099,), (1394976095,), (1394976097,), (1394976117,), (1394976118,), (1394976121,), (1394976127,), (1394976132,), (1394976155,), (1394976157,), (1394976159,), (1394976181,), (1394976182,), (1394976183,), (1394976186,), (1394976190,), (1394976195,), (1394976220,), (1394976230,), (1394976234,), (1394976237,), (1394976242,), (1394976246,), (1394976323,), (1394976330,), (1394976331,), (1394976350,), (1394976361,), (1394976386,), (1394976387,), (1394976388,), (1394976391,), (1394976412,), (1394976413,), (1394976415,), (1394976419,), (1394976423,), (1394976449,), (1394976451,), (1394976453,), (1394976456,), (1394976460,), (1394976465,), (1394976482,), (1394976483,), (1394976484,), (1394976487,), (1394976518,), (1394976520,), (1394976521,), (1394976525,), (1394976545,), (1394976546,), (1394976547,), (1394976586,), (1394976608,), (1394976609,), (1394976610,), (1394976612,), (1394976619,), (1394976623,), (1394976637,), (1394976671,), (1394976670,), (1394976798,), (1394976800,), (1394976805,), (1394976812,), (1394976832,), (1394976881,), (1394976915,), (1394976916,), (1394976917,), (1394976920,), (1394976941,), (1394976943,), (1394976945,), (1394976949,), (1394976967,), (1394976968,), (1394976969,), (1394976971,), (1394976993,), (1394976994,), (1394977028,), (1394977085,), (1394977086,), (1394977124,), (1394977121,), (1394977122,), (1394977148,), (1394977154,), (1394977164,), (1394977175,), (1394977193,), (1394977195,), (1394977197,), (1394977218,), (1394977219,), (1394977220,), (1394977221,), (1394977241,), (1394977245,), (1394977247,), (1394977250,), (1394977273,), (1394977276,), (1394977277,), (1394977280,), (1394977284,), (1394977287,), (1394977303,), (1394977305,), (1394977306,), (1394977327,), (1394977328,), (1394977329,), (1394977331,), (1394977334,), (1394977338,), (1394977354,), (1394977355,), (1394977357,), (1394977360,), (1394977387,), (1394977388,), (1394977389,), (1394977391,), (1394977394,), (1394977418,), (1394977420,), (1394977424,), (1394977428,), (1394977431,), (1394977433,), (1394977439,), (1394977440,), (1394977445,), (1394977446,), (1394977447,), (1394977448,), (1394977452,), (1394977520,), (1394977521,), (1394977523,), (1394977645,), (1394977679,), (1394977717,), (1394977859,), (1394977900,), (1394977933,), (1394977967,), (1394978272,), (1394978209,), (1394978239,), (1394979060,), (1394979134,), (1394979631,), (1394979642,), (1394979644,), (1394979993,), (1394980024,), (1394980059,), (1394980093,), (1394980487,), (1394980490,), (1394980494,), (1394980499,), (1394980504,), (1394980508,), (1394980699,), (1394980719,), (1394980731,), (1394980735,), (1394980769,), (1394980771,), (1394980816,), (1394980817,), (1394980818,), (1394980824,), (1394980844,), (1394980847,), (1394980852,), (1394980855,), (1394980858,), (1394980879,), (1394980880,), (1394980886,), (1394980889,), (1394980892,), (1394980904,), (1394980936,), (1394980969,), (1394981007,), (1394981041,), (1394981077,), (1394981375,), (1394981405,), (1394981652,), (1394981655,), (1394981668,), (1394981700,), (1394981737,), (1394981771,), (1394981910,), (1394981950,), (1394981958,), (1394981965,), (1394981968,), (1394982167,), (1394982198,), (1394982230,), (1394982265,), (1394982301,), (1394982673,), (1394982710,), (1394982744,), (1394983012,), (1394982981,), (1394982991,), (1394983009,), (1394983029,), (1394983030,), (1394983031,), (1394983033,), (1394983066,), (1394983068,), (1394983070,), (1394983094,), (1394983095,), (1394983096,), (1394983114,), (1394983116,), (1394983118,), (1394983154,), (1394983156,), (1394983307,), (1394983337,), (1394983372,), (1394983408,), (1394983819,), (1394983836,), (1394983838,), (1394983841,), (1394983845,), (1394984020,), (1394984021,), (1394984027,), (1394984053,), (1394984054,), (1394984057,), (1394984062,), (1394984087,), (1394984089,), (1394984091,), (1394984095,), (1394984113,), (1394984114,), (1394984117,), (1394984122,), (1394984127,), (1394984130,), (1394984138,), (1394984139,), (1394984141,), (1394984145,), (1394984147,), (1394984151,), (1394984156,), (1394984175,), (1394984177,), (1394984180,), (1394984186,), (1394984201,), (1394984203,), (1394984235,), (1394984231,), (1394984232,), (1394984233,), (1394984258,), (1394984259,), (1394984260,), (1394984264,), (1394984269,), (1394984298,), (1394984300,), (1394984301,), (1394984303,), (1394984332,), (1394984333,), (1394984334,), (1394984337,), (1394984341,), (1394984354,), (1394984356,), (1394984358,), (1394984702,), (1394985930,), (1394985947,), (1394985949,), (1394985953,), (1394985958,), (1394985977,), (1394985980,), (1394985982,), (1394985985,), (1394986005,), (1394986006,), (1394986007,), (1394986010,), (1394986030,), (1394986032,), (1394986034,), (1394986038,), (1394986041,), (1394986054,), (1394986055,), (1394986056,), (1394986058,), (1394986063,), (1394986068,), (1394986111,), (1394986100,), (1394986102,), (1394986104,), (1394986107,), (1394986137,), (1394986138,), (1394986139,), (1394986162,), (1394986164,), (1394986166,), (1394986169,), (1394986174,), (1394986348,), (1394986377,), (1394986408,), (1394986440,), (1394986861,), (1394986893,), (1394986897,), (1394986900,), (1394987109,), (1394987112,), (1394987140,), (1394987190,), (1394987192,), (1394987194,), (1394987197,), (1394987254,), (1394987255,), (1394987256,), (1394987258,), (1394987280,), (1394987284,), (1394987288,), (1394987291,), (1394987294,), (1394987310,), (1394987312,), (1394987344,), (1394987345,), (1394987346,), (1394987370,), (1394987371,), (1394987372,), (1394987374,), (1394987379,), (1394987394,), (1394987396,), (1394987398,), (1394988093,), (1394988165,), (1394988997,), (1394988924,), (1394988958,), (1394988990,), (1394989244,), (1394989277,), (1394989286,), (1394989400,), (1394989402,), (1394989404,), (1394989407,), (1394989411,), (1394989414,), (1394989450,), (1394989453,), (1394989454,), (1394989479,), (1394989481,), (1394989483,), (1394989487,), (1394989491,), (1394989518,), (1394989519,), (1394989520,), (1394989523,), (1394989552,), (1394989591,), (1394989596,), (1394989600,), (1394989605,), (1394989608,), (1394989632,), (1394989633,), (1394989634,), (1394989662,), (1394989664,), (1394989667,), (1394989672,), (1394989678,), (1394989700,), (1394989701,), (1394989702,), (1394989704,), (1394989709,), (1394989712,), (1394989729,), (1394989731,), (1394993476,), (1394993339,), (1394993474,), (1394993475,), (1394993516,), (1394993518,), (1394993520,), (1394993539,), (1394993560,), (1394993586,), (1394993588,), (1394993591,), (1394993596,), (1394993609,), (1394993615,), (1394993618,), (1394993621,), (1394993638,), (1394993639,), (1394993640,), (1394993642,), (1394993646,), (1394993668,), (1394993669,), (1394993671,), (1394993675,), (1394993698,), (1394993700,), (1394993701,), (1394993704,), (1394993709,), (1394993754,), (1394993762,), (1394993763,), (1394993764,), (1394993767,), (1394993769,), (1394993735,), (1394993736,), (1394993743,), (1394993747,), (1394993751,), (1394993773,), (1394993776,), (1394993779,), (1394993782,), (1394993784,), (1394993795,), (1394993797,), (1394993798,), (1394993818,), (1394993820,), (1394993822,), (1394993826,), (1394993863,), (1394993898,), (1394994235,), (1394994269,), (1394994298,), (1394994327,), (1394994581,), (1394994583,), (1394994584,), (1394994587,), (1394994591,), (1394994838,), (1394994856,), (1394994881,), (1394994933,), (1394994936,), (1394994940,), (1394994945,), (1394995009,), (1394995011,), (1394995020,), (1394995029,), (1394995037,), (1394995062,), (1394995063,), (1394995064,), (1394995067,), (1394995071,), (1394995096,), (1394995098,), (1394995107,), (1394995111,), (1394995115,), (1394995117,), (1394995130,), (1394995135,), (1394995137,), (1394995141,), (1394995142,), (1394995144,), (1394995148,), (1394995151,), (1394995155,), (1394995180,), (1394995183,), (1394995186,), (1394995190,), (1394995194,), (1394995213,), (1394995233,), (1394995253,), (1394995257,), (1394995261,), (1394995336,), (1394995340,), (1394995346,), (1394995349,), (1394995311,), (1394995314,), (1394995318,), (1394995327,), (1394995355,), (1394995356,), (1394995359,), (1394995374,), (1394995376,), (1394995378,), (1394995412,), (1394995414,), (1394995415,), (1394995417,), (1394995436,), (1394995438,), (1394995440,), (1394995443,), (1394995470,), (1394995471,), (1394995472,), (1394995474,), (1394995478,), (1394995493,), (1394995495,), (1394995497,), (1394995500,), (1394995504,), (1394995507,), (1394995521,), (1394995522,), (1394995523,), (1394995524,), (1394995526,), (1394995545,), (1394995548,), (1394995552,), (1394995557,), (1394995586,), (1394995587,), (1394995588,), (1394995590,), (1394995594,), (1394995597,), (1394995608,), (1394995609,), (1394995611,), (1394995613,), (1394995642,), (1394995646,), (1394995647,), (1394995668,), (1394995670,), (1394995674,), (1394995678,), (1394995680,), (1394995684,), (1394995700,), (1394995702,), (1394995704,), (1394995708,), (1394995739,), (1394995741,), (1394995742,), (1394995778,), (1394995766,), (1394995768,), (1394995772,), (1394995799,), (1394995800,), (1394995801,), (1394995829,), (1394995831,), (1394995832,), (1394995836,), (1394995841,), (1394995844,), (1394995858,), (1394995859,), (1394995860,), (1394995862,), (1394995892,), (1394995894,), (1394995896,), (1394995920,), (1394995921,), (1394995922,), (1394995924,), (1394995926,), (1394995929,), (1394995966,), (1394995967,), (1394995969,), (1394995973,), (1394995978,), (1394995992,), (1394995993,), (1394995994,), (1394995997,), (1394996028,), (1394996037,), (1394996042,), (1394996045,), (1394996049,), (1394996054,), (1394996069,), (1394996070,), (1394996071,), (1394996105,), (1394996107,), (1394996110,), (1394996115,), (1394996120,), (1394996124,), (1394996139,), (1394996142,), (1394996147,), (1394996152,), (1394996157,), (1394996160,), (1394996167,), (1394996168,), (1394996174,), (1394996180,), (1394996182,), (1394996223,), (1394996258,), (1394996292,), (1394996325,), (1394996479,), (1394996483,), (1394996486,), (1394996490,), (1394996495,), (1394996500,), (1394996543,), (1394996538,), (1394996541,), (1394996749,), (1394996783,), (1394996813,), (1394996861,), (1394996896,), (1394997263,), (1394997295,), (1394997320,), (1394997323,), (1394998509,), (1394998564,), (1394998565,), (1394998566,), (1394998568,), (1394998601,), (1394998605,), (1394998607,), (1394998637,), (1394998638,), (1394998639,), (1394998658,), (1394998660,), (1394998662,), (1394998669,), (1394998703,), (1394998704,), (1394998705,), (1394998707,), (1394998711,), (1394998737,), (1394998739,), (1394998741,), (1394998773,), (1394998774,), (1394998776,), (1394998778,), (1394998782,), (1394998784,), (1394998809,), (1394998796,), (1394998798,), (1394998800,), (1394998803,), (1394998806,), (1394998831,), (1394998832,), (1394998833,), (1394998834,), (1394998862,), (1394998864,), (1394998866,), (1394998869,), (1394998878,), (1394998905,), (1394998908,), (1394998911,), (1394998915,), (1394998945,), (1394998947,), (1394998948,), (1394998950,), (1394998983,), (1394998986,), (1394998988,), (1394998991,), (1394998994,), (1394998999,), (1394999027,), (1394999029,), (1394999030,), (1394999033,), (1394999037,), (1394999042,), (1394999071,), (1394999072,), (1394999073,), (1394999107,), (1394999113,), (1394999115,), (1394999119,), (1394999124,), (1394999127,), (1394999145,), (1394999146,), (1394999147,), (1394999149,), (1394999151,), (1394999154,), (1394999186,), (1394999187,), (1394999188,), (1394999191,), (1394999212,), (1394999214,), (1394999215,), (1394999218,), (1394999221,), (1394999236,), (1394999239,), (1394999241,), (1394999278,), (1394999279,), (1394999280,), (1394999282,), (1394999286,), (1394999289,), (1394999316,), (1394999318,), (1394999320,), (1394999324,), (1394999359,), (1394999367,), (1394999369,), (1394999371,), (1394999373,), (1394999347,), (1394999348,), (1394999350,), (1394999353,), (1394999356,), (1394999376,), (1394999378,), (1394999414,), (1394999416,), (1394999491,), (1394999494,), (1394999497,), (1394999501,), (1394999505,), (1394999624,), (1394999625,), (1394999626,), (1394999628,), (1394999655,), (1394999657,), (1394999696,), (1394999698,), (1394999700,), (1394999703,), (1394999709,), (1394999742,), (1394999743,), (1394999744,), (1394999746,), (1394999747,), (1394999790,), (1394999792,), (1394999794,), (1394999798,), (1394999820,), (1394999821,), (1394999822,), (1394999824,), (1394999828,), (1394999832,), (1394999945,), (1394999946,), (1394999948,), (1394999950,), (1394999954,), (1394999978,), (1394999979,), (1394999980,), (1394999983,), (1395000004,), (1395000005,), (1395000009,), (1395000017,), (1395000022,), (1395000027,), (1395000052,), (1395000054,), (1395000056,), (1395000059,), (1395000092,), (1395000080,), (1395000082,), (1395000084,), (1395000087,), (1395000115,), (1395000116,), (1395000117,), (1395000120,), (1395000124,), (1395000129,), (1395000145,), (1395000147,), (1395000149,), (1395000175,), (1395000179,), (1395000187,), (1395000193,), (1395000215,), (1395000217,), (1395000218,), (1395000221,), (1395000225,), (1395000249,), (1395000250,), (1395000251,), (1395000252,), (1395000284,), (1395000286,), (1395000288,), (1395000292,), (1395000301,), (1395000325,), (1395000326,), (1395000327,), (1395000329,), (1395000333,), (1395000336,), (1395000374,), (1395000376,), (1395000379,), (1395000382,), (1395000422,), (1395000444,), (1395000451,), (1395000484,), (1395000486,), (1395000490,), (1395000496,), (1395000501,), (1395000534,), (1395000536,), (1395000538,), (1395000542,), (1395000547,), (1395000563,), (1395000569,), (1395000573,), (1395000621,), (1395000613,), (1395000614,), (1395000615,), (1395000617,), (1395000633,), (1395000635,), (1395000637,), (1395000640,), (1395000643,), (1395001140,), (1395001183,), (1395001218,), (1395001257,), (1395001290,), (1395001607,), (1395001609,), (1395001610,), (1395001613,), (1395001842,), (1395001863,), (1395001865,), (1395001874,), (1395002153,), (1395002182,), (1395002215,), (1395002430,), (1395002443,), (1395002456,), (1395002466,), (1395002472,), (1395002521,), (1395002522,), (1395002523,), (1395002528,), (1395002539,), (1395002569,), (1395002583,), (1395002625,), (1395002662,), (1395002696,), (1395002746,), (1395003118,), (1395003120,), (1395003130,), (1395003164,), (1395003305,), (1395003306,), (1395003307,), (1395003342,), (1395003344,), (1395003347,), (1395003350,), (1395003353,), (1395003435,), (1395003442,), (1395003446,), (1395003452,), (1395003529,), (1395003559,), (1395003591,), (1395003621,), (1395004088,), (1395004129,), (1395004167,), (1395004197,), (1395004430,), (1395004403,), (1395004405,), (1395004407,), (1395004421,), (1395004426,), (1395004674,), (1395004702,), (1395004732,), (1395004736,), (1395004877,), (1395004878,), (1395004884,), (1395004903,), (1395004952,), (1395004953,), (1395004955,), (1395004960,), (1395004964,), (1395005015,), (1395005018,), (1395005020,), (1395005024,), (1395005435,), (1395005444,), (1395005445,), (1395005467,), (1395005470,), (1395005472,), (1395005475,), (1395005492,), (1395005494,), (1395005496,), (1395005498,), (1395005501,), (1395005505,), (1395005529,), (1395005530,), (1395005531,), (1395005533,), (1395005536,), (1395005574,), (1395005585,), (1395005597,), (1395005602,), (1395005641,), (1395005663,), (1395005695,), (1395005731,), (1395005769,), (1395005805,), (1395005989,), (1395005997,), (1395006002,), (1395006106,), (1395006111,), (1395006112,), (1395006115,), (1395006126,), (1395006132,), (1395006192,), (1395006193,), (1395006248,), (1395006303,), (1395006337,), (1395006433,), (1395006439,), (1395006447,), (1395006449,), (1395006526,), (1395006544,), (1395006554,), (1395006558,), (1395006561,), (1395006511,), (1395006514,), (1395006517,), (1395006521,), (1395006524,), (1395006528,), (1395006532,), (1395006534,), (1395006537,), (1395006540,), (1395006575,), (1395006576,), (1395006577,), (1395006579,), (1395006583,), (1395006604,), (1395006856,), (1395006889,), (1395006918,), (1395007350,), (1395007383,), (1395007412,), (1395007447,), (1395007460,), (1395007559,), (1395007589,), (1395007621,), (1395007652,), (1395007774,), (1395007776,), (1395007799,), (1395007838,), (1395007916,), (1395007917,), (1395007918,), (1395008038,), (1395008040,), (1395008077,), (1395008082,), (1395008083,), (1395008086,), (1395008091,), (1395008109,), (1395008110,), (1395008112,), (1395008179,), (1395008180,), (1395008183,), (1395008195,), (1395008199,), (1395008204,), (1395008239,), (1395008241,), (1395008243,), (1395008247,), (1395008251,), (1395008282,), (1395008283,), (1395008285,), (1395008287,), (1395008292,), (1395008332,), (1395008316,), (1395008318,), (1395008320,), (1395008323,), (1395008328,), (1395008409,), (1395008436,), (1395008460,), (1395008479,), (1395008529,), (1395008530,), (1395008531,), (1395008534,), (1395008539,), (1395008543,), (1395008557,), (1395008558,), (1395008560,), (1395008564,), (1395008577,), (1395008607,), (1395008609,), (1395008611,), (1395008637,), (1395008638,), (1395008639,), (1395008640,), (1395008670,), (1395008735,), (1395008765,), (1395008932,), (1395008961,), (1395008994,), (1395009020,), (1395009032,), (1395009080,), (1395009081,), (1395009091,), (1395009092,), (1395009130,), (1395009132,), (1395009136,), (1395009140,), (1395009159,), (1395009172,), (1395009175,), (1395009180,), (1395009184,), (1395009197,), (1395009199,), (1395009201,), (1395009205,), (1395009210,), (1395009213,), (1395009312,), (1395009349,), (1395009385,), (1395009391,), (1395009393,), (1395009395,), (1395009924,), (1395009955,), (1395009987,), (1395010023,), (1395010113,), (1395010118,), (1395010120,), (1395009856,), (1395009894,), (1395010128,), (1395010131,), (1395010136,), (1395010158,), (1395010375,), (1395010379,), (1395010392,), (1395010422,), (1395010811,), (1395010842,), (1395010871,), (1395011051,), (1395011079,), (1395011114,), (1395011149,), (1395011183,), (1395011328,), (1395011342,), (1395011343,), (1395011352,), (1395011357,), (1395011393,), (1395011395,), (1395011402,), (1395011405,), (1395011410,), (1395011415,), (1395011458,), (1395011459,), (1395011460,), (1395011463,), (1395011485,), (1395011486,), (1395011488,), (1395011926,), (1395011955,), (1395011986,), (1395012018,), (1395012056,), (1395012462,), (1395012496,), (1395012526,), (1395012560,), (1395012598,), (1395012924,), (1395012951,), (1395013403,), (1395013423,), (1395013450,), (1395013461,), (1395013474,), (1395013479,), (1395013508,), (1395013510,), (1395013512,), (1395013516,), (1395013544,), (1395013545,), (1395013547,), (1395013551,), (1395013612,), (1395013601,), (1395013606,), (1395013608,), (1395013684,), (1395013691,), (1395013705,), (1395013855,), (1395013857,), (1395013859,), (1395013864,), (1395013870,), (1395014073,), (1395014102,), (1395014136,), (1395014173,), (1395014180,), (1395014183,), (1395014217,), (1395014219,), (1395014222,), (1395014252,), (1395014253,), (1395014254,), (1395014257,), (1395014287,), (1395014289,), (1395014291,), (1395014294,), (1395014298,), (1395014317,), (1395014318,), (1395014319,), (1395014321,), (1395014324,), (1395014346,), (1395014347,), (1395014348,), (1395014350,), (1395014372,), (1395014374,), (1395014406,), (1395014407,), (1395014408,), (1395014535,), (1395014537,), (1395014540,), (1395014544,), (1395014608,), (1395014609,), (1395014659,), (1395014679,), (1395014723,), (1395014725,), (1395014766,), (1395014760,), (1395014762,), (1395014811,), (1395014851,), (1395014883,), (1395014919,), (1395014920,), (1395014921,), (1395014948,), (1395014951,), (1395014953,), (1395014984,), (1395014985,), (1395015515,), (1395015518,), (1395015544,), (1395015545,), (1395015549,), (1395015556,), (1395015560,), (1395015593,), (1395015599,), (1395015601,), (1395015604,), (1395015607,), (1395015645,), (1395015664,), (1395015665,), (1395015667,), (1395015668,), (1395015735,), (1395015719,), (1395015721,), (1395015723,), (1395015727,), (1395015730,), (1395015762,), (1395015763,), (1395015767,), (1395015770,), (1395016164,), (1395016171,), (1395016185,), (1395016320,), (1395016321,), (1395016322,), (1395016399,), (1395016401,), (1395016404,), (1395016409,), (1395016414,), (1395016433,), (1395016434,), (1395016435,), (1395016459,), (1395016464,), (1395016467,), (1395016472,), (1395016476,), (1395016511,), (1395016513,), (1395016516,), (1395016595,), (1395016623,), (1395016624,), (1395016687,), (1395016715,), (1395016716,), (1395016719,), (1395016826,), (1395016828,), (1395016849,), (1395016869,), (1395016879,), (1395016888,), (1395017051,), (1395017083,), (1395017115,), (1395017153,), (1395017328,), (1395017390,), (1395017452,), (1395017521,), (1395018064,), (1395018077,), (1395018109,), (1395018119,), (1395020706,), (1395020702,), (1395020704,), (1395020737,), (1395020738,), (1395020739,), (1395020741,), (1395020762,), (1395020763,), (1395020764,), (1395020766,), (1395020797,), (1395020808,), (1395020816,), (1395020820,), (1395020825,), (1395020882,), (1395020883,), (1395020884,), (1395020912,), (1395020921,), (1395020923,), (1395020928,), (1395020938,), (1395020942,), (1395020959,), (1395020961,), (1395020964,), (1395020970,), (1395020976,), (1395020979,), (1395020998,), (1395021001,), (1395021004,), (1395021033,), (1395021034,), (1395021035,), (1395021037,), (1395021040,), (1395021044,), (1395021070,), (1395021072,), (1395021073,), (1395021077,), (1395021101,), (1395021110,), (1395021117,), (1395021169,), (1395021191,), (1395021222,), (1395021256,), (1395021421,), (1395021422,), (1395021538,), (1395021526,), (1395021528,), (1395021530,), (1395021534,), (1395021562,), (1395021564,), (1395021565,), (1395021569,), (1395021574,), (1395021575,), (1395021603,), (1395021624,), (1395021626,), (1395021630,), (1395021653,), (1395021661,), (1395021678,), (1395021680,), (1395021681,), (1395021683,), (1395021687,), (1395021690,), (1395021694,), (1395021698,), (1395021718,), (1395021720,), (1395021722,), (1395021908,), (1395021965,), (1395022014,), (1395022211,), (1395022268,), (1395022671,), (1395022667,), (1395022669,), (1395022900,), (1395022912,), (1395022913,), (1395022914,), (1395023077,), (1395023097,), (1395023121,), (1395023137,), (1395023139,), (1395023385,), (1395023389,), (1395023390,), (1395023392,), (1395023394,), (1395023412,), (1395023413,), (1395023415,), (1395023418,), (1395023421,), (1395023424,), (1395023436,), (1395023440,), (1395023443,), (1395023493,), (1395023495,), (1395023498,), (1395023570,), (1395023585,), (1395023586,), (1395023947,), (1395023977,), (1395024015,), (1395024079,), (1395024076,), (1395024077,), (1395024156,), (1395024159,), (1395024164,), (1395024197,), (1395024198,), (1395024200,), (1395024203,), (1395024434,), (1395024474,), (1395024524,), (1395024558,), (1395024592,), (1395024625,), (1395024817,), (1395024819,), (1395024821,), (1395025059,), (1395025072,), (1395025205,), (1395025206,), (1395025208,), (1395025212,), (1395025216,), (1395025234,), (1395025235,), (1395025236,), (1395025239,), (1395025243,), (1395025246,), (1395025269,), (1395025270,), (1395025272,), (1395025275,), (1395025311,), (1395025313,), (1395025320,), (1395025326,), (1395025331,), (1395025348,), (1395025352,), (1395025357,), (1395025359,), (1395025380,), (1395025381,), (1395025383,), (1395025386,), (1395025411,), (1395025412,), (1395025414,), (1395025418,), (1395025427,), (1395025448,), (1395025449,), (1395025450,), (1395025452,), (1395025456,), (1395025495,), (1395025503,), (1395025508,), (1395025511,), (1395025569,), (1395025573,), (1395025575,), (1395025592,), (1395025593,), (1395025538,), (1395025540,), (1395025552,), (1395025611,), (1395025613,), (1395025615,), (1395025618,), (1395025640,), (1395025642,), (1395025644,), (1395025648,), (1395025675,), (1395025676,), (1395025678,), (1395025681,), (1395025701,), (1395025702,), (1395025703,), (1395025706,), (1395025710,), (1395025757,), (1395025759,), (1395025761,), (1395025765,), (1395025770,), (1395025774,), (1395025789,), (1395025790,), (1395025795,), (1395025832,), (1395025835,), (1395025838,), (1395025842,), (1395025848,), (1395025851,), (1395025867,), (1395025868,), (1395025869,), (1395026007,), (1395026009,), (1395026011,), (1395026041,), (1395026042,), (1395026043,), (1395026046,), (1395026114,), (1395026115,), (1395026116,), (1395026119,), (1395026124,), (1395026128,), (1395026147,), (1395026149,), (1395026151,), (1395026155,), (1395026189,), (1395026285,), (1395026287,), (1395026288,), (1395026295,), (1395026299,), (1395026365,), (1395026370,), (1395026372,), (1395026582,), (1395026527,), (1395026557,), (1395026562,), (1395026567,), (1395026578,), (1395026597,), (1395026605,), (1395026610,), (1395026614,), (1395026619,), (1395026622,), (1395026644,), (1395026645,), (1395026646,), (1395026668,), (1395026670,), (1395026672,), (1395026677,), (1395026681,), (1395026809,), (1395026827,), (1395026920,), (1395027503,), (1395027549,), (1395027560,), (1395027592,), (1395027644,), (1395027821,), (1395027822,), (1395027838,), (1395027841,), (1395027862,), (1395027864,), (1395027865,), (1395028352,), (1395028359,), (1395028393,), (1395028467,), (1395028983,), (1395028907,), (1395028941,), (1395029623,), (1395029723,), (1395029815,), (1395029903,), (1395029972,), (1395030063,), (1395030566,), (1395030568,), (1395030570,), (1395030839,), (1395030844,), (1395030878,), (1395030882,), (1395030886,), (1395030890,), (1395030912,), (1395030913,), (1395030915,), (1395030918,), (1395030923,), (1395031109,), (1395031111,), (1395031112,), (1395031115,), (1395031165,), (1395031167,), (1395031172,), (1395031181,), (1395031200,), (1395031204,), (1395031252,), (1395031254,), (1395031257,), (1395031262,), (1395031307,), (1395031372,), (1395031376,), (1395031795,), (1395031811,), (1395031816,), (1395031848,), (1395031850,), (1395031851,), (1395031853,), (1395031960,), (1395032096,), (1395032099,), (1395032102,), (1395032105,), (1395032139,), (1395032126,), (1395032132,), (1395032246,), (1395032277,), (1395032658,), (1395032670,), (1395032698,), (1395032699,), (1395032786,), (1395032792,), (1395032798,), (1395032805,), (1395032808,), (1395032809,), (1395032819,), (1395032822,), (1395032826,), (1395032829,), (1395032835,), (1395032837,), (1395032854,), (1395032859,), (1395032881,), (1395032884,), (1395032886,), (1395032890,), (1395032894,), (1395032947,), (1395032949,), (1395032954,), (1395032961,), (1395032967,), (1395033009,), (1395033014,), (1395033018,), (1395033021,), (1395033044,), (1395033053,), (1395033058,), (1395033071,), (1395033087,), (1395033105,), (1395033130,), (1395033170,), (1395033214,), (1395033237,), (1395033238,), (1395033265,), (1395033298,), (1395033356,), (1395033360,), (1395033486,), (1395033489,), (1395033490,), (1395033501,), (1395033506,), (1395033525,), (1395033554,), (1395033556,), (1395033616,), (1395033615,), (1395033756,), (1395033758,), (1395033760,), (1395033762,), (1395033786,), (1395033790,), (1395033799,), (1395033803,), (1395033846,), (1395033854,), (1395033862,), (1395033871,), (1395033884,), (1395033934,), (1395033938,), (1395034036,), (1395034039,), (1395034062,), (1395034063,), (1395034064,), (1395034115,), (1395034191,), (1395034547,), (1395034542,), (1395034544,), (1395034590,), (1395034614,), (1395035064,), (1395035089,), (1395035092,), (1395035095,), (1395035099,), (1395035132,), (1395035135,), (1395037113,), (1395037058,), (1395037074,), (1395037250,), (1395037253,), (1395037256,), (1395037370,), (1395037393,), (1395037414,), (1395037416,), (1395037419,), (1395037429,), (1395037432,), (1395037435,), (1395037447,), (1395037451,), (1395037454,), (1395037457,), (1395037462,), (1395037467,), (1395037483,), (1395037499,), (1395037505,), (1395037510,), (1395037514,), (1395037581,), (1395037584,), (1395037585,), (1395037590,), (1395037659,), (1395037663,), (1395037665,), (1395037669,), (1395037866,), (1395037913,), (1395038215,), (1395038218,), (1395038242,), (1395038340,), (1395038448,), (1395047953,), (1395048309,), (1395048310,), (1395048350,), (1395048351,), (1395048352,), (1395048354,), (1395048357,), (1395048366,), (1395048437,), (1395048439,), (1395048441,), (1395048452,), (1395048477,), (1395048508,), (1395048509,), (1395048510,), (1395048556,), (1395048558,), (1395048561,), (1395048566,), (1395048589,), (1395048593,), (1395048595,), (1395048601,), (1395048610,), (1395048673,), (1395048676,), (1395048679,), (1395048728,), (1395048753,), (1395049603,), (1395050287,), (1395050809,), (1395050919,), (1395050920,), (1395050938,), (1395050940,), (1395050942,), (1395050945,), (1395050949,), (1395051038,), (1395051071,), (1395051103,), (1395051136,), (1395051454,), (1395051592,), (1395051594,), (1395051596,), (1395051599,), (1395051619,), (1395051620,), (1395051621,), (1395051624,), (1395051629,), (1395051647,), (1395051648,), (1395051650,), (1395051668,), (1395051671,), (1395051673,), (1395051710,), (1395051712,), (1395051799,), (1395051800,), (1395051801,), (1395051803,), (1395051927,), (1395051944,), (1395052030,), (1395052033,), (1395052035,), (1395052074,), (1395052069,), (1395052071,), (1395052154,), (1395052182,), (1395052184,), (1395052186,), (1395052191,), (1395052194,), (1395052331,), (1395052360,), (1395052419,), (1395052453,), (1395052644,), (1395052647,), (1395052651,), (1395052656,), (1395052661,), (1395052665,), (1395052676,), (1395052677,), (1395052679,), (1395052682,), (1395052684,), (1395052688,), (1395052705,), (1395052706,), (1395052707,), (1395052746,), (1395052748,), (1395052749,), (1395052753,), (1395052773,), (1395052774,), (1395052775,), (1395052777,), (1395052782,), (1395052787,), (1395052804,), (1395052805,), (1395052807,), (1395052811,), (1395052815,), (1395053125,), (1395053153,), (1395053154,), (1395053161,), (1395053175,), (1395053249,), (1395053250,), (1395053251,), (1395053253,), (1395053257,), (1395053439,), (1395053441,), (1395053459,), (1395053466,), (1395053605,), (1395053641,), (1395053650,), (1395053652,), (1395053671,), (1395053673,), (1395053674,), (1395053676,), (1395053678,), (1395053720,), (1395053721,), (1395053723,), (1395053725,), (1395053778,), (1395053782,), (1395053859,), (1395053871,), (1395053872,), (1395053752,), (1395053755,), (1395053759,), (1395053774,), (1395053878,), (1395053881,), (1395053884,), (1395053888,), (1395053900,), (1395053904,), (1395053916,), (1395053918,), (1395053919,), (1395053935,), (1395053936,), (1395053937,), (1395053939,), (1395053942,), (1395053945,), (1395054150,), (1395054186,), (1395054220,), (1395054259,), (1395054295,), (1395054665,), (1395054696,), (1395054740,), (1395054793,), (1395054832,), (1395054866,), (1395055016,), (1395055039,), (1395055042,), (1395055062,), (1395055093,), (1395055178,), (1395055181,), (1395055183,), (1395055188,), (1395055297,), (1395055299,), (1395055327,), (1395055335,), (1395055352,), (1395055354,), (1395055356,), (1395055360,), (1395055365,), (1395055397,), (1395055398,), (1395055399,), (1395055401,), (1395055422,), (1395055423,), (1395055424,), (1395055499,), (1395055868,), (1395055867,), (1395055889,), (1395055911,), (1395055980,), (1395055981,), (1395055982,), (1395055984,), (1395055986,), (1395056005,), (1395056007,), (1395056009,), (1395056012,), (1395056016,), (1395056142,), (1395056144,), (1395056145,), (1395056165,), (1395056167,), (1395056169,), (1395056171,), (1395056198,), (1395056201,), (1395056204,), (1395056208,), (1395056227,), (1395056264,), (1395056441,), (1395056446,), (1395056458,), (1395056586,), (1395056621,), (1395056666,), (1395056699,), (1395056732,), (1395057051,), (1395057090,), (1395057131,), (1395057164,), (1395057199,), (1395057485,), (1395057432,), (1395057440,), (1395057460,), (1395057477,), (1395057535,), (1395057570,), (1395057600,), (1395057634,), (1395057739,), (1395057741,), (1395057758,), (1395057764,), (1395057900,), (1395057901,), (1395057903,), (1395057967,), (1395057968,), (1395057969,), (1395058016,), (1395058023,), (1395058024,), (1395058027,), (1395058076,), (1395058078,), (1395058080,), (1395058088,), (1395058147,), (1395058148,), (1395058149,), (1395058176,), (1395058178,), (1395058180,), (1395058184,), (1395058207,), (1395058208,), (1395058209,), (1395058211,), (1395058239,), (1395058241,), (1395058245,), (1395058249,), (1395058272,), (1395058273,), (1395058278,), (1395058295,), (1395058300,), (1395058326,), (1395058327,), (1395058366,), (1395058401,), (1395058403,), (1395058404,), (1395058407,), (1395058412,), (1395058460,), (1395058434,), (1395058436,), (1395058438,), (1395058445,), (1395058456,), (1395058475,), (1395058476,), (1395058481,), (1395058541,), (1395058542,), (1395058544,), (1395058553,), (1395058559,), (1395058612,), (1395058615,), (1395058622,), (1395058628,), (1395058634,), (1395058638,), (1395058741,), (1395058758,), (1395058760,), (1395058764,), (1395058784,), (1395058785,), (1395058786,), (1395058788,), (1395058792,), (1395058826,), (1395058828,), (1395058830,), (1395058833,), (1395058839,), (1395058881,), (1395058882,), (1395058883,), (1395058885,), (1395058931,), (1395058935,), (1395058946,), (1395058951,), (1395059026,), (1395059027,), (1395059029,), (1395059060,), (1395059063,), (1395059089,), (1395059091,), (1395059093,), (1395059097,), (1395059102,), (1395059120,), (1395059121,), (1395059122,), (1395059123,), (1395059125,), (1395059148,), (1395059149,), (1395059150,), (1395059152,), (1395059246,), (1395059253,), (1395059263,), (1395059267,), (1395059272,), (1395059277,), (1395059415,), (1395059424,), (1395059425,), (1395059426,), (1395059432,), (1395059469,), (1395059481,), (1395059356,), (1395059385,), (1395059387,), (1395059407,), (1395059411,), (1395059536,), (1395059553,), (1395059557,), (1395059599,), (1395059600,), (1395059601,), (1395059603,), (1395059607,), (1395059609,), (1395059624,), (1395059626,), (1395059628,), (1395059631,), (1395059634,), (1395059657,), (1395059658,), (1395059671,), (1395059714,), (1395059717,), (1395059720,), (1395059766,), (1395059768,), (1395059770,), (1395059840,), (1395059843,), (1395059845,), (1395059868,), (1395059874,), (1395059927,), (1395059929,), (1395059933,), (1395060172,), (1395060194,), (1395060231,), (1395060235,), (1395060250,), (1395060270,), (1395060341,), (1395060343,), (1395060344,), (1395060347,), (1395060352,), (1395060369,), (1395060373,), (1395060375,), (1395060387,), (1395060457,), (1395060458,), (1395060459,), (1395060465,), (1395060474,), (1395060479,), (1395060633,), (1395060674,), (1395060704,), (1395060739,), (1395060769,), (1395060779,), (1395060832,), (1395060863,), (1395060898,), (1395060901,), (1395060903,), (1395060906,), (1395060909,), (1395060915,), (1395060919,), (1395060979,), (1395060963,), (1395060965,), (1395060967,), (1395060971,), (1395060976,), (1395061001,), (1395061002,), (1395061003,), (1395061012,), (1395061148,), (1395061150,), (1395061152,), (1395061155,), (1395061180,), (1395061200,), (1395061202,), (1395061203,), (1395061208,), (1395061353,), (1395061355,), (1395061357,), (1395061361,), (1395061366,), (1395061525,), (1395061526,), (1395061534,), (1395061565,), (1395061599,), (1395062036,), (1395062073,), (1395062109,), (1395062132,), (1395062159,), (1395062160,), (1395062161,), (1395062194,), (1395062196,), (1395062199,), (1395062204,), (1395062208,), (1395062210,), (1395062227,), (1395062233,), (1395062235,), (1395062237,), (1395062243,), (1395062288,), (1395062289,), (1395062291,), (1395062484,), (1395062489,), (1395062491,), (1395062494,), (1395062498,), (1395062503,), (1395062537,), (1395062538,), (1395062539,), (1395062541,), (1395062545,), (1395062550,), (1395062747,), (1395062750,), (1395062753,), (1395062808,), (1395062807,), (1395062867,), (1395062869,), (1395062871,), (1395062875,), (1395062880,), (1395063371,), (1395063404,), (1395063437,), (1395063471,), (1395063734,), (1395063735,), (1395063736,), (1395063767,), (1395063799,), (1395063843,), (1395063850,), (1395063852,), (1395063910,), (1395063911,), (1395063912,), (1395063914,), (1395063918,), (1395063935,), (1395063937,), (1395063939,), (1395063943,), (1395063947,), (1395063950,), (1395063960,), (1395063963,), (1395063967,), (1395064001,), (1395064102,), (1395064147,), (1395064148,), (1395064179,), (1395064195,), (1395064198,), (1395064213,), (1395064287,), (1395064285,), (1395064286,), (1395064495,), (1395064496,), (1395064511,), (1395064542,), (1395064551,), (1395064554,), (1395064557,), (1395064607,), (1395064641,), (1395064677,), (1395064712,), (1395064737,), (1395064743,), (1395064771,), (1395064775,), (1395064779,), (1395064783,), (1395064795,), (1395064831,), (1395064833,), (1395064835,), (1395064922,), (1395064923,), (1395064930,), (1395064941,), (1395064946,), (1395064949,), (1395064966,), (1395064967,), (1395064969,), (1395064973,), (1395064978,), (1395064981,), (1395065005,), (1395065006,), (1395065008,), (1395065013,), (1395065017,), (1395065022,), (1395065032,), (1395065033,), (1395065035,), (1395065044,), (1395065047,), (1395065051,), (1395065057,), (1395065062,), (1395065066,), (1395065091,), (1395065092,), (1395065093,), (1395065096,), (1395065101,), (1395065105,), (1395065121,), (1395065219,), (1395065221,), (1395065234,), (1395065239,), (1395065243,), (1395065249,), (1395065323,), (1395065326,), (1395065333,), (1395065334,), (1395065336,), (1395065338,), (1395065341,), (1395065310,), (1395065312,), (1395065316,), (1395065319,), (1395065347,), (1395065351,), (1395065354,), (1395065364,), (1395065380,), (1395065382,), (1395065384,), (1395065387,), (1395065392,), (1395065397,), (1395065441,), (1395065459,), (1395065463,), (1395065467,), (1395065472,), (1395065474,), (1395065480,), (1395065482,), (1395065484,), (1395065514,), (1395065523,), (1395065526,), (1395065531,), (1395065535,), (1395065703,), (1395065737,), (1395065982,), (1395065983,), (1395066010,), (1395066054,), (1395066084,), (1395066097,), (1395066171,), (1395066176,), (1395066178,), (1395066181,), (1395066185,), (1395066196,), (1395066197,), (1395066198,), (1395066200,), (1395066204,), (1395066240,), (1395066241,), (1395066242,), (1395066243,), (1395066249,), (1395066253,), (1395066268,), (1395066270,), (1395066272,), (1395066316,), (1395066318,), (1395066325,), (1395066329,), (1395066334,), (1395066376,), (1395066393,), (1395066394,), (1395066402,), (1395066412,), (1395066520,), (1395066523,), (1395066527,), (1395066532,), (1395066536,), (1395066539,), (1395066543,), (1395066545,), (1395066548,), (1395066552,), (1395066557,), (1395066575,), (1395066578,), (1395066580,), (1395066589,), (1395066613,), (1395066598,), (1395066602,), (1395066606,), (1395066609,), (1395066618,), (1395066620,), (1395066623,), (1395066628,), (1395066632,), (1395066637,), (1395066656,), (1395066658,), (1395066664,), (1395066670,), (1395066679,), (1395066684,), (1395066694,), (1395066697,), (1395066701,), (1395066712,), (1395066716,), (1395066718,), (1395066720,), (1395066722,), (1395066726,), (1395066727,), (1395066730,), (1395066732,), (1395066735,), (1395066737,), (1395066742,), (1395066744,), (1395066757,), (1395066761,), (1395066763,), (1395066766,), (1395066788,), (1395066790,), (1395066791,), (1395066971,), (1395066972,), (1395066974,), (1395066978,), (1395066983,), (1395066987,), (1395067018,), (1395067019,), (1395067020,), (1395067022,), (1395067070,), (1395067071,), (1395067074,), (1395067078,), (1395067082,), (1395067084,), (1395067094,), (1395067097,), (1395067100,), (1395067104,), (1395067113,), (1395067115,), (1395067118,), (1395067123,), (1395067127,), (1395067131,), (1395067149,), (1395067157,), (1395067185,), (1395067186,), (1395067188,), (1395067190,), (1395067230,), (1395067235,), (1395067237,), (1395067243,), (1395067251,), (1395067900,), (1395067903,), (1395067907,), (1395067910,), (1395067926,), (1395067928,), (1395067930,), (1395067932,), (1395067975,), (1395067978,), (1395068003,), (1395068007,), (1395068010,), (1395067963,), (1395067965,), (1395067969,), (1395067972,), (1395067993,), (1395067995,), (1395067998,), (1395068119,), (1395068152,), (1395068186,), (1395068224,), (1395068260,), (1395068298,), (1395068644,), (1395068704,), (1395068767,), (1395068813,), (1395068847,), (1395068877,), (1395068944,), (1395068945,), (1395068946,), (1395068947,), (1395068948,), (1395068953,), (1395068956,), (1395068961,), (1395068965,), (1395068968,), (1395068994,), (1395068995,), (1395068996,), (1395068999,), (1395069022,), (1395069023,), (1395069025,), (1395069029,), (1395069034,), (1395069038,), (1395069053,), (1395069060,), (1395069092,), (1395069125,), (1395069162,), (1395069205,), (1395069321,), (1395069354,), (1395069371,), (1395069374,), (1395069403,), (1395069404,), (1395069405,), (1395069408,), (1395069413,), (1395069465,), (1395069466,), (1395069467,), (1395069481,), (1395069486,), (1395069488,), (1395069588,), (1395069629,), (1395069668,), (1395070184,), (1395070218,), (1395070251,), (1395070282,), (1395070321,), (1395070626,), (1395070632,), (1395070640,), (1395070644,), (1395070648,), (1395070651,), (1395070659,), (1395070661,), (1395070662,), (1395070664,), (1395070669,), (1395070674,), (1395070677,), (1395070693,), (1395071161,), (1395071007,), (1395071042,), (1395071075,), (1395071111,), (1395071146,), (1395071272,), (1395071307,), (1395071338,), (1395071911,), (1395071958,), (1395071997,), (1395072023,), (1395072046,), (1395072071,), (1395072156,), (1395072157,), (1395072158,), (1395072161,), (1395072165,), (1395072170,), (1395072188,), (1395072190,), (1395072192,), (1395072195,), (1395072272,), (1395072273,), (1395072274,), (1395072276,), (1395072280,), (1395072283,), (1395072301,), (1395072302,), (1395072304,), (1395072307,), (1395072334,), (1395072336,), (1395072337,), (1395072359,), (1395072446,), (1395072448,), (1395072451,), (1395072455,), (1395072459,), (1395072462,), (1395072470,), (1395072475,), (1395072477,), (1395072482,), (1395072488,), (1395072497,), (1395072503,), (1395072511,), (1395072516,), (1395072529,), (1395072531,), (1395072533,), (1395072558,), (1395072559,), (1395072560,), (1395072563,), (1395072567,), (1395072600,), (1395072601,), (1395072605,), (1395072608,), (1395072612,), (1395072616,), (1395072659,), (1395072661,), (1395072663,), (1395072694,), (1395072696,), (1395072697,), (1395072699,), (1395072703,), (1395072706,), (1395072732,), (1395072734,), (1395072737,), (1395072741,), (1395072744,), (1395072747,), (1395074363,), (1395074529,), (1395074536,), (1395074563,), (1395074564,), (1395074565,), (1395074567,), (1395074633,), (1395074646,), (1395074669,), (1395074671,), (1395074675,), (1395074677,), (1395074693,), (1395074698,), (1395074700,), (1395074702,), (1395074705,), (1395074762,), (1395074763,), (1395074764,), (1395074799,), (1395074801,), (1395074803,), (1395074807,), (1395074811,), (1395074830,), (1395074831,), (1395074832,), (1395074834,), (1395074837,), (1395074860,), (1395074862,), (1395074864,), (1395074897,), (1395074898,), (1395074899,), (1395074941,), (1395074943,), (1395074984,), (1395074988,), (1395074989,), (1395074992,), (1395074995,), (1395074998,), (1395075046,), (1395075049,), (1395075051,), (1395075054,), (1395075058,), (1395075078,), (1395075080,), (1395075082,), (1395075086,), (1395075090,), (1395075096,), (1395075106,), (1395075109,), (1395075130,), (1395075113,), (1395075116,), (1395075118,), (1395075122,), (1395075126,), (1395075163,), (1395075165,), (1395075167,), (1395075317,), (1395075320,), (1395075342,), (1395075347,), (1395075348,), (1395075367,), (1395075369,), (1395075371,), (1395075375,), (1395075378,), (1395075381,), (1395075407,), (1395075411,), (1395075418,), (1395075422,), (1395075460,), (1395075463,), (1395075488,), (1395075489,), (1395075490,), (1395075517,), (1395075521,), (1395075523,), (1395075526,), (1395075530,), (1395075557,), (1395075561,), (1395075564,), (1395075579,), (1395075583,), (1395075588,), (1395075603,), (1395075604,), (1395075605,), (1395075606,), (1395075610,), (1395075647,), (1395075651,), (1395075657,), (1395075661,), (1395075664,), (1395075678,), (1395075679,), (1395075680,), (1395075683,), (1395075705,), (1395075707,), (1395075708,), (1395075712,), (1395075717,), (1395075721,), (1395075737,), (1395075738,), (1395075739,), (1395075741,), (1395075817,), (1395075825,), (1395075828,), (1395075833,), (1395075837,), (1395075840,), (1395075874,), (1395075885,), (1395075889,), (1395075893,), (1395075894,), (1395075896,), (1395075861,), (1395075865,), (1395075869,), (1395075902,), (1395075906,), (1395075909,), (1395075912,), (1395075935,), (1395075936,), (1395075937,), (1395075940,), (1395075945,), (1395075950,), (1395075978,), (1395075980,), (1395075982,), (1395075985,), (1395075989,), (1395075993,), (1395076014,), (1395076015,), (1395076017,), (1395076022,), (1395076027,), (1395076029,), (1395076041,), (1395076044,), (1395076073,), (1395076076,), (1395076078,), (1395076082,), (1395076087,), (1395076091,), (1395076107,), (1395076108,), (1395076110,), (1395076125,), (1395076130,), (1395076156,), (1395076157,), (1395076159,), (1395076163,), (1395076168,), (1395076186,), (1395076200,), (1395076203,), (1395076208,), (1395076212,), (1395076216,), (1395076241,), (1395076251,), (1395076253,), (1395076257,), (1395076260,), (1395076264,), (1395076276,), (1395076309,), (1395076311,), (1395076334,), (1395076338,), (1395076341,), (1395076348,), (1395076354,), (1395076356,), (1395076362,), (1395076369,), (1395076376,), (1395076537,), (1395076567,), (1395076578,), (1395076611,), (1395076773,), (1395076774,), (1395076800,), (1395076838,), (1395076873,), (1395076955,), (1395076974,), (1395077010,), (1395077046,), (1395077092,), (1395077249,), (1395077204,), (1395077227,), (1395077240,), (1395077244,), (1395077330,), (1395077332,), (1395077334,), (1395077336,), (1395077395,), (1395077511,), (1395077544,), (1395077759,), (1395077761,), (1395077763,), (1395077767,), (1395077897,), (1395077898,), (1395077899,), (1395077924,), (1395077925,), (1395077926,), (1395077929,), (1395077951,), (1395077953,), (1395077964,), (1395078041,), (1395078076,), (1395078108,), (1395078140,), (1395078277,), (1395078291,), (1395078293,), (1395078319,), (1395078323,), (1395078402,), (1395078403,), (1395078407,), (1395078412,), (1395078416,), (1395078419,), (1395078428,), (1395078431,), (1395078434,), (1395078436,), (1395078439,), (1395078443,), (1395078448,), (1395078452,), (1395078456,), (1395078475,), (1395078480,), (1395078509,), (1395078540,), (1395078551,), (1395078560,), (1395078621,), (1395078622,), (1395078623,), (1395078626,), (1395078646,), (1395078651,), (1395078655,), (1395078660,), (1395078663,), (1395078712,), (1395078690,), (1395078700,), (1395078705,), (1395078708,), (1395078729,), (1395078748,), (1395078756,), (1395078761,), (1395078764,), (1395078780,), (1395078782,), (1395078784,), (1395078788,), (1395078793,), (1395078838,), (1395078839,), (1395078840,), (1395078842,), (1395078845,), (1395078850,), (1395078870,), (1395078873,), (1395078876,), (1395078881,), (1395078885,), (1395078888,), (1395078895,), (1395078897,), (1395078902,), (1395078908,), (1395078916,), (1395078921,), (1395078926,), (1395078946,), (1395078947,), (1395078948,), (1395078977,), (1395079014,), (1395079022,), (1395079099,), (1395079100,), (1395079101,), (1395079103,), (1395079107,), (1395079140,), (1395079141,), (1395079142,), (1395079172,), (1395079175,), (1395079177,), (1395079180,), (1395079185,), (1395079188,), (1395079199,), (1395079201,), (1395079203,), (1395079206,), (1395079211,), (1395079284,), (1395079285,), (1395079286,), (1395079289,), (1395079388,), (1395079389,), (1395079391,), (1395079393,), (1395079398,), (1395079402,), (1395079431,), (1395079440,), (1395079442,), (1395079449,), (1395079454,), (1395079457,), (1395079509,), (1395079510,), (1395079514,), (1395079519,), (1395079523,), (1395079527,), (1395079539,), (1395079540,), (1395079541,), (1395079542,), (1395079544,), (1395079584,), (1395079565,), (1395079569,), (1395079575,), (1395079581,), (1395079598,), (1395079600,), (1395079603,), (1395079607,), (1395079611,), (1395079657,), (1395079965,), (1395079968,), (1395080002,), (1395080128,), (1395080129,), (1395080130,), (1395080151,), (1395080152,), (1395080153,), (1395080155,), (1395080158,), (1395080179,), (1395080180,), (1395080181,), (1395080183,), (1395080185,), (1395080243,), (1395080244,), (1395080245,), (1395080248,), (1395080250,), (1395080254,), (1395080270,), (1395080273,), (1395080277,), (1395080301,), (1395080302,), (1395080309,), (1395080326,), (1395080330,), (1395080333,), (1395080343,), (1395080344,), (1395080362,), (1395080363,), (1395080365,), (1395080369,), (1395080374,), (1395080378,), (1395080402,), (1395080403,), (1395080404,), (1395080407,), (1395080409,), (1395080428,), (1395080430,), (1395080432,), (1395080472,), (1395080473,), (1395080474,), (1395080476,), (1395080509,), (1395080541,), (1395080582,), (1395080585,), (1395080615,), (1395080609,), (1395080611,), (1395080657,), (1395080664,), (1395080666,), (1395080668,), (1395080690,), (1395080692,), (1395080694,), (1395080698,), (1395080703,), (1395080706,), (1395080750,), (1395080756,), (1395080757,), (1395080768,), (1395080784,), (1395080787,), (1395080864,), (1395080866,), (1395080870,), (1395080875,), (1395080879,), (1395080882,), (1395080890,), (1395080892,), (1395080897,), (1395080898,), (1395080899,), (1395080903,), (1395080962,), (1395080966,), (1395081203,), (1395081235,), (1395081270,), (1395081410,), (1395081411,), (1395081412,), (1395081439,), (1395081443,), (1395081456,), (1395081470,), (1395081475,), (1395081510,), (1395081511,), (1395081513,), (1395081538,), (1395081540,), (1395081544,), (1395081549,), (1395081554,), (1395081567,), (1395081581,), (1395081583,), (1395081585,), (1395081792,), (1395081627,), (1395081667,), (1395081713,), (1395081752,), (1395081924,), (1395081926,), (1395081928,), (1395081988,), (1395081989,), (1395081990,), (1395081995,), (1395082004,), (1395082009,), (1395082030,), (1395082032,), (1395082034,), (1395082038,), (1395082097,), (1395082098,), (1395082100,), (1395082103,), (1395082239,), (1395082241,), (1395082243,), (1395082288,), (1395082289,), (1395082294,), (1395082304,), (1395082311,), (1395082315,), (1395082326,), (1395082327,), (1395082331,), (1395082333,), (1395082334,), (1395082341,), (1395082354,), (1395082423,), (1395082424,), (1395082425,), (1395082427,), (1395082431,), (1395082667,), (1395082681,), (1395082692,), (1395082728,), (1395082737,), (1395082740,), (1395082808,), (1395082811,), (1395082828,), (1395082859,), (1395082891,), (1395082897,), (1395082924,), (1395083130,), (1395083139,), (1395083148,), (1395083163,), (1395083198,), (1395083255,), (1395083418,), (1395083419,), (1395083420,), (1395083423,), (1395083480,), (1395083488,), (1395083492,), (1395083495,), (1395083498,), (1395083501,), (1395083687,), (1395083759,), (1395083827,), (1395083896,), (1395083965,), (1395084691,), (1395084759,), (1395084803,), (1395084839,), (1395084878,), (1395085139,), (1395084624,), (1395084907,), (1395084911,), (1395084915,), (1395084929,), (1395084951,), (1395084991,), (1395085210,), (1395085222,), (1395085226,), (1395085262,), (1395085272,), (1395085275,), (1395085526,), (1395085561,), (1395085591,), (1395085625,), (1395085914,), (1395085944,), (1395085964,), (1395085969,), (1395085984,), (1395086017,), (1395086102,), (1395086145,), (1395086186,), (1395086352,), (1395086393,), (1395086402,), (1395086432,), (1395086446,), (1395086529,), (1395086530,), (1395086531,), (1395086534,), (1395086539,), (1395086556,), (1395086558,), (1395086774,), (1395086775,), (1395086776,), (1395086797,), (1395086799,), (1395086801,), (1395086844,), (1395086845,), (1395086846,), (1395086848,), (1395086869,), (1395086871,), (1395087115,), (1395087145,), (1395087193,), (1395087240,), (1395087613,), (1395087615,), (1395087618,), (1395087621,), (1395087625,), (1395087797,), (1395087798,), (1395087801,), (1395087808,), (1395087852,), (1395087955,), (1395088229,), (1395088289,), (1395088331,), (1395088366,), (1395088419,), (1395088612,), (1395088542,), (1395088575,), (1395088774,), (1395088776,), (1395088778,), (1395088791,), (1395088828,), (1395088862,), (1395089053,), (1395089077,), (1395089089,), (1395089091,), (1395089097,), (1395089354,), (1395089384,), (1395089425,), (1395089459,), (1395089492,), (1395089527,), (1395089691,), (1395089693,), (1395089714,), (1395089717,), (1395089758,), (1395089832,), (1395090189,), (1395090200,), (1395090219,), (1395090258,), (1395090259,), (1395090260,), (1395090262,), (1395090267,), (1395090316,), (1395090319,), (1395090322,), (1395090338,), (1395090347,), (1395090510,), (1395090543,), (1395090574,), (1395090829,), (1395090836,), (1395090839,), (1395090844,), (1395090849,), (1395090852,), (1395090860,), (1395090862,), (1395090879,), (1395090880,), (1395090881,), (1395091137,), (1395091157,), (1395091165,), (1395091214,), (1395091230,), (1395091320,), (1395091322,), (1395091323,), (1395091326,), (1395091346,), (1395091348,), (1395091350,), (1395091353,), (1395091376,), (1395091377,), (1395091379,), (1395091382,), (1395091387,), (1395091455,), (1395091462,), (1395091463,), (1395091465,), (1395091467,), (1395091469,), (1395091414,), (1395091437,), (1395091440,), (1395091444,), (1395091449,), (1395091483,), (1395091487,), (1395091491,), (1395091495,), (1395091499,), (1395091507,), (1395091508,), (1395091510,), (1395091513,), (1395091518,), (1395091522,), (1395091620,), (1395091623,), (1395091672,), (1395091673,), (1395091676,), (1395091708,), (1395091712,), (1395091734,), (1395091764,), (1395091779,), (1395091791,), (1395091792,), (1395091795,), (1395091818,), (1395092003,), (1395092010,), (1395092027,), (1395092036,), (1395092137,), (1395092162,), (1395092167,), (1395092171,), (1395092182,), (1395092200,), (1395092202,), (1395092204,), (1395092208,), (1395092213,), (1395092267,), (1395092268,), (1395092269,), (1395092271,), (1395092390,), (1395092425,), (1395097302,), (1395097347,), (1395097301,), (1395097325,), (1395097552,), (1395098317,), (1395098348,), (1395098350,), (1395098352,), (1395098355,), (1395098360,), (1395098381,), (1395098382,), (1395098385,), (1395098391,), (1395098395,), (1395098397,), (1395098411,), (1395098412,), (1395098413,), (1395098414,), (1395098416,), (1395098442,), (1395098419,), (1395098423,), (1395098777,), (1395098780,), (1395098782,), (1395098788,), (1395098798,), (1395098802,), (1395098866,), (1395098868,), (1395098870,), (1395098874,), (1395098879,), (1395098898,), (1395098900,), (1395098902,), (1395098927,), (1395098928,), (1395098929,), (1395098930,), (1395098933,), (1395098936,), (1395098981,), (1395098983,), (1395098985,), (1395099010,), (1395099011,), (1395099012,), (1395099014,), (1395099026,), (1395099103,), (1395099105,), (1395099107,), (1395099111,), (1395099116,), (1395099120,), (1395099143,), (1395099151,), (1395099177,), (1395099188,), (1395099193,), (1395099213,), (1395099214,), (1395099218,), (1395099223,), (1395099227,), (1395099231,), (1395099240,), (1395099241,), (1395099248,), (1395099249,), (1395099251,), (1395099258,), (1395099262,), (1395099266,), (1395099270,), (1395099272,), (1395099276,), (1395099282,), (1395099283,), (1395099289,), (1395099299,), (1395099358,), (1395099361,), (1395099364,), (1395099366,), (1395099370,), (1395099376,), (1395099395,), (1395099397,), (1395099399,), (1395099401,), (1395099405,), (1395099409,), (1395099434,), (1395099435,), (1395099436,), (1395099438,), (1395099473,), (1395099486,), (1395099488,), (1395099489,), (1395099490,), (1395099460,), (1395099461,), (1395099463,), (1395099466,), (1395099470,), (1395099491,), (1395099493,), (1395099497,), (1395099501,), (1395099505,), (1395099510,), (1395099523,), (1395099528,), (1395099530,), (1395099551,), (1395099646,), (1395099682,), (1395099714,), (1395099716,), (1395099720,), (1395099833,), (1395099868,), (1395099877,), (1395099881,), (1395099884,), (1395099887,), (1395099895,), (1395099896,), (1395099897,), (1395099898,), (1395099900,), (1395099905,), (1395099908,), (1395099921,), (1395099924,), (1395099933,), (1395099934,), (1395099939,), (1395099945,), (1395099949,), (1395099953,), (1395099965,), (1395099967,), (1395099969,), (1395099972,), (1395099976,), (1395099993,), (1395099994,), (1395099995,), (1395099997,), (1395100001,), (1395100004,), (1395100051,), (1395100067,), (1395100073,), (1395100076,), (1395100141,), (1395100181,), (1395100188,), (1395100197,), (1395100206,), (1395100228,), (1395100279,), (1395100280,), (1395100298,), (1395100333,), (1395100340,), (1395100344,), (1395100359,), (1395100360,), (1395100361,), (1395100365,), (1395100435,), (1395100437,), (1395100438,), (1395100441,), (1395100446,), (1395100450,), (1395100600,), (1395100604,), (1395100609,), (1395100619,), (1395100627,), (1395100632,), (1395100647,), (1395100649,), (1395100651,), (1395100653,), (1395100675,), (1395100656,), (1395100660,), (1395100665,), (1395100669,), (1395100672,), (1395100681,), (1395100684,), (1395100687,), (1395100690,), (1395100693,), (1395100696,), (1395100720,), (1395100722,), (1395100724,), (1395100801,), (1395100803,), (1395100805,), (1395100808,), (1395100812,), (1395100841,), (1395100849,), (1395100850,), (1395100863,), (1395100870,), (1395100925,), (1395100970,), (1395100972,), (1395100993,), (1395100994,), (1395101172,), (1395101203,), (1395101205,), (1395101207,), (1395101211,), (1395101216,), (1395101220,), (1395101289,), (1395101298,), (1395101303,), (1395101305,), (1395101309,), (1395101420,), (1395101427,), (1395101431,), (1395101469,), (1395101474,), (1395101477,), (1395101480,), (1395101484,), (1395101575,), (1395101554,), (1395101561,), (1395101566,), (1395101570,), (1395101803,), (1395101840,), (1395101874,), (1395101910,), (1395101949,), (1395102363,), (1395102438,), (1395103096,), (1395103107,), (1395103108,), (1395103137,), (1395103148,), (1395103431,), (1395103449,), (1395103460,), (1395103513,), (1395103566,), (1395103606,), (1395103770,), (1395103821,), (1395103844,), (1395103891,), (1395103917,), (1395103962,), (1395103978,), (1395104088,), (1395104090,), (1395104091,), (1395104093,), (1395104097,), (1395104102,), (1395104120,), (1395104121,), (1395104122,), (1395104124,), (1395104128,), (1395104132,), (1395104158,), (1395104159,), (1395104161,), (1395104193,), (1395104213,), (1395104217,), (1395104221,), (1395104225,), (1395104229,), (1395104237,), (1395104238,), (1395104239,), (1395104241,), (1395104249,), (1395104267,), (1395104269,), (1395104271,), (1395104274,), (1395104278,), (1395104307,), (1395104309,), (1395104310,), (1395104313,), (1395104317,), (1395104335,), (1395104336,), (1395104345,), (1395104347,), (1395104418,), (1395104419,), (1395104422,), (1395104426,), (1395104430,), (1395104433,), (1395104440,), (1395104441,), (1395104473,), (1395104462,), (1395104463,), (1395104465,), (1395104467,), (1395104470,), (1395104483,), (1395104485,), (1395104487,), (1395104490,), (1395104496,), (1395104503,), (1395104584,), (1395104590,), (1395104591,), (1395104611,), (1395104621,), (1395104623,), (1395104628,), (1395104633,), (1395104645,), (1395104646,), (1395104659,), (1395104672,), (1395104682,), (1395104929,), (1395104963,), (1395105095,), (1395105130,), (1395105147,), (1395105154,), (1395105159,), (1395105163,), (1395105251,), (1395105252,), (1395105253,), (1395105256,), (1395105261,), (1395105293,), (1395105295,), (1395105297,), (1395105301,), (1395105398,), (1395105399,), (1395105401,), (1395105406,), (1395105411,), (1395105414,), (1395105431,), (1395105432,), (1395105433,), (1395105434,), (1395105437,), (1395105443,), (1395105447,), (1395105451,), (1395105454,), (1395105458,), (1395105462,), (1395105464,), (1395105466,), (1395105472,), (1395105533,), (1395105534,), (1395105554,), (1395105556,), (1395105560,), (1395105564,), (1395105577,), (1395105578,), (1395105579,), (1395105580,), (1395105583,), (1395105586,), (1395105605,), (1395105609,), (1395105611,), (1395105614,), (1395105618,), (1395105621,), (1395105681,), (1395105684,), (1395105693,), (1395105694,), (1395105695,), (1395105696,), (1395105697,), (1395105698,), (1395105727,), (1395105843,), (1395105963,), (1395105654,), (1395105657,), (1395105662,), (1395105666,), (1395105708,), (1395105712,), (1395105716,), (1395105721,), (1395105725,), (1395105732,), (1395105734,), (1395105737,), (1395105769,), (1395105806,), (1395106196,), (1395106208,), (1395106209,), (1395106211,), (1395106215,), (1395106244,), (1395106395,), (1395106396,), (1395106399,), (1395106404,), (1395106409,), (1395106412,), (1395106421,), (1395106423,), (1395106424,), (1395106437,), (1395106438,), (1395106440,), (1395106445,), (1395106461,), (1395106463,), (1395106465,), (1395106469,), (1395106473,), (1395106495,), (1395106508,), (1395106509,), (1395106512,), (1395106569,), (1395106570,), (1395106571,), (1395106574,), (1395106605,), (1395106606,), (1395106607,), (1395106610,), (1395106624,), (1395106625,), (1395106628,), (1395106631,), (1395106677,), (1395106684,), (1395106699,), (1395106722,), (1395106726,), (1395106730,), (1395106734,), (1395106739,), (1395106743,), (1395106756,), (1395106757,), (1395106758,), (1395106784,), (1395106790,), (1395106824,), (1395106856,), (1395106892,), (1395106899,), (1395106938,), (1395106940,), (1395106963,), (1395106944,), (1395106946,), (1395106950,), (1395106959,), (1395106973,), (1395106974,), (1395106975,), (1395106978,), (1395107004,), (1395107006,), (1395107008,), (1395107012,), (1395107017,), (1395107021,), (1395107423,), (1395107484,), (1395107544,), (1395107586,), (1395107623,), (1395107691,), (1395107758,), (1395107761,), (1395107762,), (1395107763,), (1395107765,), (1395107890,), (1395107926,), (1395107934,), (1395107937,), (1395107953,), (1395108042,), (1395108044,), (1395108046,), (1395108049,), (1395108053,), (1395108080,), (1395108089,), (1395108093,), (1395108098,), (1395108143,), (1395108145,), (1395108147,), (1395108151,), (1395108174,), (1395108175,), (1395108176,), (1395108179,), (1395108202,), (1395108203,), (1395108207,), (1395108211,), (1395108241,), (1395108271,), (1395108399,), (1395108431,), (1395108562,), (1395108595,), (1395108628,), (1395108659,), (1395108717,), (1395109038,), (1395109040,), (1395109042,), (1395109045,), (1395109048,), (1395109051,), (1395109271,), (1395109304,), (1395109429,), (1395109434,), (1395109438,), (1395109441,), (1395109446,), (1395109818,), (1395109731,), (1395109781,), (1395110050,), (1395110063,), (1395110097,), (1395110131,), (1395110309,), (1395110310,), (1395110311,), (1395110314,), (1395110319,), (1395110346,), (1395110348,), (1395110350,), (1395110382,), (1395110383,), (1395110385,), (1395110389,), (1395110394,), (1395110401,), (1395110417,), (1395110418,), (1395110420,), (1395110422,), (1395110424,), (1395110427,), (1395110659,), (1395110660,), (1395110662,), (1395110664,), (1395110686,), (1395110688,), (1395110690,), (1395110693,), (1395110713,), (1395110714,), (1395110715,), (1395110717,), (1395110722,), (1395110727,), (1395110924,), (1395110961,), (1395110999,), (1395111035,), (1395111074,), (1395111354,), (1395111364,), (1395111366,), (1395111370,), (1395111626,), (1395111648,), (1395111650,), (1395111659,), (1395111664,), (1395111684,), (1395111706,), (1395111707,), (1395111719,), (1395111754,), (1395111789,), (1395111828,), (1395112362,), (1395112428,), (1395112498,), (1395112761,), (1395112795,), (1395112833,), (1395112869,), (1395112910,), (1395112945,), (1395112994,), (1395112995,), (1395113055,), (1395113036,), (1395113038,), (1395113040,), (1395113049,), (1395113069,), (1395113070,), (1395113072,), (1395113100,), (1395113105,), (1395113106,), (1395113109,), (1395113114,), (1395113131,), (1395113139,), (1395113142,), (1395113145,), (1395113173,), (1395113174,), (1395113175,), (1395113178,), (1395113199,), (1395113200,), (1395113202,), (1395113206,), (1395113211,), (1395113214,), (1395113227,), (1395113228,), (1395113229,), (1395113247,), (1395113256,), (1395113270,), (1395113279,), (1395113430,), (1395113455,), (1395113457,), (1395113460,), (1395113487,), (1395113488,), (1395113511,), (1395113544,), (1395113545,), (1395113546,), (1395113568,), (1395113569,), (1395113571,), (1395113573,), (1395113592,), (1395113594,), (1395113597,), (1395113601,), (1395113674,), (1395113679,), (1395113684,), (1395113686,), (1395113688,), (1395113657,), (1395113664,), (1395113667,), (1395113671,), (1395113693,), (1395113696,), (1395113726,), (1395113727,), (1395113728,), (1395113731,), (1395113735,), (1395113757,), (1395113759,), (1395113767,), (1395113771,), (1395113793,), (1395113796,), (1395113799,), (1395113804,), (1395113808,), (1395113817,), (1395113828,), (1395113839,), (1395113840,), (1395113843,), (1395113848,), (1395113852,), (1395113872,), (1395113874,), (1395113892,), (1395113897,), (1395113902,), (1395113905,), (1395113947,), (1395113948,), (1395113949,), (1395113952,), (1395113971,), (1395113973,), (1395113975,), (1395113979,), (1395113983,), (1395113987,), (1395114021,), (1395114022,), (1395114023,), (1395114025,), (1395114028,), (1395114032,), (1395114049,), (1395114050,), (1395114051,), (1395114096,), (1395114107,), (1395114108,), (1395114111,), (1395114120,), (1395114132,), (1395114159,), (1395114161,), (1395114163,), (1395114167,), (1395114171,), (1395114199,), (1395114200,), (1395114201,), (1395114203,), (1395114207,), (1395114231,), (1395114234,), (1395114238,), (1395114243,), (1395114248,), (1395114251,), (1395114258,), (1395114259,), (1395114260,), (1395114278,), (1395114263,), (1395114266,), (1395114269,), (1395114274,), (1395114300,), (1395114301,), (1395114302,), (1395114305,), (1395114334,), (1395114335,), (1395114337,), (1395114341,), (1395114377,), (1395114379,), (1395114381,), (1395114383,), (1395114412,), (1395114419,), (1395114421,), (1395114424,), (1395114427,), (1395114451,), (1395114453,), (1395114471,), (1395114481,), (1395114486,), (1395114608,), (1395114640,), (1395114646,), (1395114649,), (1395114666,), (1395114667,), (1395114668,), (1395114674,), (1395114682,), (1395114685,), (1395114707,), (1395114709,), (1395114711,), (1395114714,), (1395114718,), (1395114740,), (1395114744,), (1395114749,), (1395114754,), (1395114759,), (1395114767,), (1395114776,), (1395114777,), (1395114781,), (1395114784,), (1395114788,), (1395114792,), (1395114795,), (1395114798,), (1395114807,), (1395114808,), (1395114811,), (1395114819,), (1395114830,), (1395114833,), (1395114864,), (1395114867,), (1395114869,), (1395114906,), (1395114912,), (1395114914,), (1395114927,), (1395114988,), (1395115130,), (1395115167,), (1395115200,), (1395115469,), (1395115471,), (1395115473,), (1395115475,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18112025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28663984]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807] map_info['map_portfolio_photo'] : {28663984: [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807]} final : True mtd_id 4302 list_pids : [1395064287, 1395064213, 1395064198, 1395064195, 1395064179, 1395064148, 1395064147, 1395064102, 1395064001, 1395063967, 1395063963, 1395063960, 1395063950, 1395063947, 1395063943, 1395063939, 1395063937, 1395063935, 1395063918, 1395063914, 1395063912, 1395063911, 1395063910, 1395063852, 1395063850, 1395063843, 1395063799, 1395063767, 1395063736, 1395063735, 1395063734, 1395063471, 1395063437, 1395063404, 1395063371, 1395062880, 1395062875, 1395062871, 1395062869, 1395062867, 1395062807] Looping around the photos to save general results len do output : 1 /28663984Didn'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, '4073626') ('4302', '28663984', '1395064287', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064213', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064198', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064195', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064179', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064148', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064147', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064102', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395064001', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063967', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063963', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063960', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063950', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063947', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063943', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063939', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063937', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063935', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063918', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063914', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063912', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063911', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063910', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063852', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063850', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063843', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063799', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063767', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063736', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063735', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063734', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063471', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063437', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063404', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395063371', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062880', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062875', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062871', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062869', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062867', None, None, None, None, None, '4073626') ('4302', None, None, None, None, None, None, None, '4073626') ('4302', '28663984', '1395062807', None, None, None, None, None, '4073626') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '28663984', 'None', None, None, None, None, '4073626'), ('4302', '28663984', '1395064287', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064213', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064198', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064195', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064179', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064148', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064147', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064102', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395064001', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063967', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063963', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063960', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063950', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063947', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063943', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063939', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063937', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063935', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063918', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063914', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063912', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063911', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063910', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063852', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063850', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063843', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063799', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063767', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063736', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063735', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063734', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063471', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063437', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063404', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395063371', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062880', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062875', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062871', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062869', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062867', None, None, None, None, None, '4073626'), ('4302', '28663984', '1395062807', None, None, None, None, None, '4073626')] time used for this insertion : 0.020297765731811523 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.480074167251587 time spend to save output : 0.020721435546875 total time spend for step 5 : 6.500795602798462 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 (4073626) 3.35user 2.37system 0:23.13elapsed 24%CPU (0avgtext+0avgdata 162704maxresident)k 728inputs+29528outputs (33major+82224minor)pagefaults 0swaps