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 : 170122 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 (3817106) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3817106) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418801 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3817106'] with mtr_portfolio_ids : ['27418801'] and first list_photo_ids : [] new path : /proc/170122/ Name: python3 Umask: 0002 State: R (running) Tgid: 170122 Ngid: 0 Pid: 170122 PPid: 170121 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 170122 NSpid: 170122 NSpgid: 169181 NSsid: 169181 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98284 kB VmRSS: 98284 kB RssAnon: 59844 kB RssFile: 38440 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 580 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: 51 nonvoluntary_ctxt_switches: 91 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '170122', 'Ngid': '0', 'Pid': '170122', 'PPid': '170121', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '170122', 'NSpid': '170122', 'NSpgid': '169181', 'NSsid': '169181', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98284 kB', 'VmRSS': '98284 kB', 'RssAnon': '59844 kB', 'RssFile': '38440 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '580 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': '51', 'nonvoluntary_ctxt_switches': '91'} ('datou_batch_current', '170122', '1106856', '0', '1106856', '865608', '98284', b'', 'marlene', '3817106') 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 (27418801) 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 (3817106 ) ) 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 (27418801) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1387256587, 'portfolio_id': 27418801}, {'photo_id': 1387256353, 'portfolio_id': 27418801}, {'photo_id': 1387256336, 'portfolio_id': 27418801}, {'photo_id': 1387256334, 'portfolio_id': 27418801}, {'photo_id': 1387256176, 'portfolio_id': 27418801}, {'photo_id': 1387256153, 'portfolio_id': 27418801}, {'photo_id': 1387256149, 'portfolio_id': 27418801}, {'photo_id': 1387256138, 'portfolio_id': 27418801}, {'photo_id': 1387256086, 'portfolio_id': 27418801}, {'photo_id': 1387255999, 'portfolio_id': 27418801}, {'photo_id': 1387255996, 'portfolio_id': 27418801}, {'photo_id': 1387255992, 'portfolio_id': 27418801}, {'photo_id': 1387255990, 'portfolio_id': 27418801}, {'photo_id': 1387255986, 'portfolio_id': 27418801}, {'photo_id': 1387255930, 'portfolio_id': 27418801}, {'photo_id': 1387255924, 'portfolio_id': 27418801}, {'photo_id': 1387255844, 'portfolio_id': 27418801}, {'photo_id': 1387255840, 'portfolio_id': 27418801}, {'photo_id': 1387255837, 'portfolio_id': 27418801}, {'photo_id': 1387255833, 'portfolio_id': 27418801}, {'photo_id': 1387255799, 'portfolio_id': 27418801}, {'photo_id': 1387255795, 'portfolio_id': 27418801}, {'photo_id': 1387255792, 'portfolio_id': 27418801}, {'photo_id': 1387255775, 'portfolio_id': 27418801}, {'photo_id': 1387255771, 'portfolio_id': 27418801}, {'photo_id': 1387255767, 'portfolio_id': 27418801}, {'photo_id': 1387255764, 'portfolio_id': 27418801}, {'photo_id': 1387255763, 'portfolio_id': 27418801}, {'photo_id': 1387255760, 'portfolio_id': 27418801}, {'photo_id': 1387255746, 'portfolio_id': 27418801}, {'photo_id': 1387255742, 'portfolio_id': 27418801}, {'photo_id': 1387255739, 'portfolio_id': 27418801}, {'photo_id': 1387255675, 'portfolio_id': 27418801}, {'photo_id': 1387255672, 'portfolio_id': 27418801}, {'photo_id': 1387255670, 'portfolio_id': 27418801}, {'photo_id': 1387255667, 'portfolio_id': 27418801}, {'photo_id': 1387255659, 'portfolio_id': 27418801}, {'photo_id': 1387255657, 'portfolio_id': 27418801}, {'photo_id': 1387255654, 'portfolio_id': 27418801}, {'photo_id': 1387255652, 'portfolio_id': 27418801}, {'photo_id': 1387255650, 'portfolio_id': 27418801}, {'photo_id': 1387255636, 'portfolio_id': 27418801}, {'photo_id': 1387255633, 'portfolio_id': 27418801}, {'photo_id': 1387255630, 'portfolio_id': 27418801}] map_portfolio_id_photo_id: {27418801: [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630]} ##### 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.052390336990356445 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Oct 2 06:13:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27418801) 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 : 27418801 get user id for portfolio 27418801 get sub ptf for main ptf 27418801, type 3726 and hashtags ['Carton_gris', 'mal_croppe', 'environnement', 'flou', 'Carton_brun', 'cartonnette', 'autre_refus', 'kraft', 'papier', 'metal', 'Teint_Dans_La_Masse', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27418801 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','environnement','flou','Carton_brun','cartonnette','autre_refus','kraft','papier','metal','Teint_Dans_La_Masse','plastique')) 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`=27418801 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','environnement','flou','Carton_brun','cartonnette','autre_refus','kraft','papier','metal','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 27418801, 'sub_port_id': 27418815, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527567, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'Carton_gris': {'main_port_id': 27418801, 'sub_port_id': 27418816, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527568, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'kraft': {'main_port_id': 27418801, 'sub_port_id': 27418817, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527569, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'metal': {'main_port_id': 27418801, 'sub_port_id': 27418830, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527570, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'papier': {'main_port_id': 27418801, 'sub_port_id': 27418831, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527571, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 27418801, 'sub_port_id': 27418832, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527572, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'flou': {'main_port_id': 27418801, 'sub_port_id': 27418833, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527573, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'plastique': {'main_port_id': 27418801, 'sub_port_id': 27418834, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527574, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'mal_croppe': {'main_port_id': 27418801, 'sub_port_id': 27418835, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527575, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'cartonnette': {'main_port_id': 27418801, 'sub_port_id': 27418836, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527576, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'environnement': {'main_port_id': 27418801, 'sub_port_id': 27418837, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527577, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}, 'Carton_brun': {'main_port_id': 27418801, 'sub_port_id': 27418838, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527578, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 30)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27418815 , 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=27418801 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 (27418815) result : ((1387256372,), (1387256373,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418816 , 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=27418801 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 (27418816) result : ((1387256374,), (1387256375,), (1387256376,), (1387256377,), (1387256378,), (1387256379,), (1387256552,), (1387256593,), (1387256649,), (1387257093,), (1387259404,), (1387259405,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418817 , 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=27418801 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 (27418817) result : ((1387256389,), (1387256715,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418830 , 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=27418801 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 (27418830) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418831 , 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=27418801 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 (27418831) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418832 , 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=27418801 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 (27418832) result : ((1387256369,), (1387256370,), (1387256648,), (1387257085,), (1387257086,), (1387257087,), (1387259336,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418833 , 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=27418801 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 (27418833) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418834 , 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=27418801 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 (27418834) result : ((1387256386,), (1387256387,), (1387256388,), (1387256651,), (1387256652,), (1387256653,), (1387256654,), (1387257102,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418835 , 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=27418801 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 (27418835) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418836 , 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=27418801 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 (27418836) result : ((1387256380,), (1387256381,), (1387256382,), (1387256650,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418837 , 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=27418801 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 (27418837) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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 27418838 , 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=27418801 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 (27418838) result : ((1387256383,), (1387256384,), (1387256554,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27418801) result : ((1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,)) 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`=27418801 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','environnement','flou','Carton_brun','cartonnette','autre_refus','kraft','papier','metal','Teint_Dans_La_Masse','plastique')) 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`=27418801 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','environnement','flou','Carton_brun','cartonnette','autre_refus','kraft','papier','metal','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 27418801, 'sub_port_id': 27418840, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527579, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'Carton_gris': {'main_port_id': 27418801, 'sub_port_id': 27418841, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527580, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'kraft': {'main_port_id': 27418801, 'sub_port_id': 27418843, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527581, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'metal': {'main_port_id': 27418801, 'sub_port_id': 27418844, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527582, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'papier': {'main_port_id': 27418801, 'sub_port_id': 27418845, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527583, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'Teint_Dans_La_Masse': {'main_port_id': 27418801, 'sub_port_id': 27418846, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527584, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'flou': {'main_port_id': 27418801, 'sub_port_id': 27418847, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527585, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'plastique': {'main_port_id': 27418801, 'sub_port_id': 27418848, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527586, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'mal_croppe': {'main_port_id': 27418801, 'sub_port_id': 27418849, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527587, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'cartonnette': {'main_port_id': 27418801, 'sub_port_id': 27418850, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527588, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'environnement': {'main_port_id': 27418801, 'sub_port_id': 27418851, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527589, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 33, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}, 'Carton_brun': {'main_port_id': 27418801, 'sub_port_id': 27418852, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18527590, 'last_updated_at': datetime.datetime(2025, 10, 1, 21, 49, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 1, 21, 49, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 1, 21, 33, 36)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418840,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418815 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418841,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418816 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418843,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418817 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418844,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418830 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418845,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418831 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418846,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418832 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418847,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418833 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418848,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418834 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418849,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418835 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418850,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418836 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418851,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418837 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27418852,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27418838 lien utilise dans velours : https://marlene.fotonower.com/velours/27418840,27418841,27418843,27418844,27418845,27418846,27418847,27418848,27418849,27418850,27418851,27418852?tags=autre_refus,Carton_gris,kraft,metal,papier,Teint_Dans_La_Masse,flou,plastique,mal_croppe,cartonnette,environnement,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27418801]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630] map_info['map_portfolio_photo'] : {27418801: [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630]} final : False mtd_id 4302 list_pids : [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630] Looping around the photos to save general results len do output : 1 /27418801. 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, '3817106') ('4302', '27418801', '1387256587', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256353', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256336', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256334', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256176', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256153', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256149', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256138', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256086', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255999', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255996', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255992', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255990', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255986', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255930', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255924', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255844', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255840', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255837', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255833', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255799', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255795', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255792', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255775', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255771', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255767', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255764', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255763', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255760', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255746', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255742', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255739', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255675', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255672', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255670', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255667', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255659', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255657', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255654', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255652', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255650', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255636', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255633', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255630', None, None, None, None, None, '3817106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27418801', "{'autre_refus': 27418815, 'Carton_gris': 27418816, 'kraft': 27418817, 'metal': 27418830, 'papier': 27418831, 'Teint_Dans_La_Masse': 27418832, 'flou': 27418833, 'plastique': 27418834, 'mal_croppe': 27418835, 'cartonnette': 27418836, 'environnement': 27418837, 'Carton_brun': 27418838}", None, None, None, None, '3817106'), ('4302', '27418801', '1387256587', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256353', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256336', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256334', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256176', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256153', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256149', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256138', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256086', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255999', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255996', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255992', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255990', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255986', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255930', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255924', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255844', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255840', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255837', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255833', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255799', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255795', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255792', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255775', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255771', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255767', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255764', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255763', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255760', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255746', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255742', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255739', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255675', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255672', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255670', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255667', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255659', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255657', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255654', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255652', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255650', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255636', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255633', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255630', None, None, None, None, None, '3817106')] time used for this insertion : 0.040593624114990234 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.0254199504852295 time spend to save output : 0.04108238220214844 total time spend for step 1 : 5.066502332687378 step2:final Thu Oct 2 06:14:04 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 (27418801) 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 27418801 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1387255636,1387255633,1387255630,1387255659,1387255657,1387255654,1387255652,1387255650,1387255675,1387255672,1387255670,1387255667,1387255746,1387255742,1387255739,1387255775,1387255771,1387255767,1387255764,1387255763,1387255760,1387255799,1387255795,1387255792,1387255930,1387255924,1387255844,1387255840,1387255837,1387255833,1387255999,1387255996,1387255992,1387255990,1387255986,1387256176,1387256153,1387256149,1387256138,1387256086,1387256336,1387256334,1387256353,1387256587); 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([27418801]) Inside saveOutput : final : False verbose : True original output for save of step final : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} new output for save of step final : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630] map_info['map_portfolio_photo'] : {27418801: [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630]} final : False mtd_id 4302 list_pids : [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630] Looping around the photos to save general results len do output : 44 /1387256587.Didn't retrieve data . /1387256353.Didn't retrieve data . /1387256336.Didn't retrieve data . /1387256334.Didn't retrieve data . /1387256176.Didn't retrieve data . /1387256153.Didn't retrieve data . /1387256149.Didn't retrieve data . /1387256138.Didn't retrieve data . /1387256086.Didn't retrieve data . /1387255999.Didn't retrieve data . /1387255996.Didn't retrieve data . /1387255992.Didn't retrieve data . /1387255990.Didn't retrieve data . /1387255986.Didn't retrieve data . /1387255930.Didn't retrieve data . /1387255924.Didn't retrieve data . /1387255844.Didn't retrieve data . /1387255840.Didn't retrieve data . /1387255837.Didn't retrieve data . /1387255833.Didn't retrieve data . /1387255799.Didn't retrieve data . /1387255795.Didn't retrieve data . /1387255792.Didn't retrieve data . /1387255775.Didn't retrieve data . /1387255771.Didn't retrieve data . /1387255767.Didn't retrieve data . /1387255764.Didn't retrieve data . /1387255763.Didn't retrieve data . /1387255760.Didn't retrieve data . /1387255746.Didn't retrieve data . /1387255742.Didn't retrieve data . /1387255739.Didn't retrieve data . /1387255675.Didn't retrieve data . /1387255672.Didn't retrieve data . /1387255670.Didn't retrieve data . /1387255667.Didn't retrieve data . /1387255659.Didn't retrieve data . /1387255657.Didn't retrieve data . /1387255654.Didn't retrieve data . /1387255652.Didn't retrieve data . /1387255650.Didn't retrieve data . /1387255636.Didn't retrieve data . /1387255633.Didn't retrieve data . /1387255630.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, '3817106') ('4302', '27418801', '1387256587', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256353', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256336', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256334', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256176', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256153', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256149', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256138', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256086', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255999', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255996', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255992', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255990', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255986', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255930', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255924', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255844', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255840', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255837', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255833', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255799', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255795', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255792', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255775', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255771', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255767', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255764', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255763', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255760', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255746', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255742', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255739', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255675', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255672', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255670', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255667', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255659', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255657', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255654', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255652', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255650', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255636', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255633', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255630', None, None, None, None, None, '3817106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 132 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27418801', '1387256587', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387256353', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387256336', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387256334', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387256176', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387256153', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387256149', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387256138', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387256086', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255999', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255996', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255992', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255990', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255986', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255930', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255924', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255844', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255840', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255837', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255833', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255799', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255795', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255792', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255775', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255771', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255767', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255764', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255763', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255760', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255746', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255742', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255739', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255675', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255672', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255670', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255667', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255659', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255657', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255654', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255652', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255650', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255636', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255633', '0.04991548765416968', None, None, None, None, '3817106'), ('4302', '27418801', '1387255630', '0.04991548765416968', None, None, None, None, '3817106')] time used for this insertion : 0.03969144821166992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24209141731262207 time spend to save output : 0.041584014892578125 total time spend for step 2 : 0.2836754322052002 step3:velours_tree Thu Oct 2 06:14:04 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 : {27418801: [{'autre_refus': 27418815, 'Carton_gris': 27418816, 'kraft': 27418817, 'metal': 27418830, 'papier': 27418831, 'Teint_Dans_La_Masse': 27418832, 'flou': 27418833, 'plastique': 27418834, 'mal_croppe': 27418835, 'cartonnette': 27418836, 'environnement': 27418837, 'Carton_brun': 27418838}]} input_args_next_step : {27418801: ()} output_args : {27418801: [{'autre_refus': 27418815, 'Carton_gris': 27418816, 'kraft': 27418817, 'metal': 27418830, 'papier': 27418831, 'Teint_Dans_La_Masse': 27418832, 'flou': 27418833, 'plastique': 27418834, 'mal_croppe': 27418835, 'cartonnette': 27418836, 'environnement': 27418837, 'Carton_brun': 27418838}]} args : 27418801 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 : ({'autre_refus': 27418815, 'Carton_gris': 27418816, 'kraft': 27418817, 'metal': 27418830, 'papier': 27418831, 'Teint_Dans_La_Masse': 27418832, 'flou': 27418833, 'plastique': 27418834, 'mal_croppe': 27418835, 'cartonnette': 27418836, 'environnement': 27418837, 'Carton_brun': 27418838},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27418801) 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([27418801]) 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.2950904369354248 time spend to save output : 3.600120544433594e-05 total time spend for step 3 : 0.29512643814086914 step4:send_mail_cod Thu Oct 2 06:14:04 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 : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} input_args_next_step : {1387256587: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256587 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256353 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256336 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256334 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256176 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256153 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256149 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256138 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387256086 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255999 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255996 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255992 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255990 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255986 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255930 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255924 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255844 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255840 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255837 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255833 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255799 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255795 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255792 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255775 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255771 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255767 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255764 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255763 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255760 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255746 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255742 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255739 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255675 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255672 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255670 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255667 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255659 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255657 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255654 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255652 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255650 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255636 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255633 depend.output_id : 0 input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ()} output_args : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',)} args : 1387255630 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 : {27418801: [{'autre_refus': 27418815, 'Carton_gris': 27418816, 'kraft': 27418817, 'metal': 27418830, 'papier': 27418831, 'Teint_Dans_La_Masse': 27418832, 'flou': 27418833, 'plastique': 27418834, 'mal_croppe': 27418835, 'cartonnette': 27418836, 'environnement': 27418837, 'Carton_brun': 27418838}]} input_args_next_step : {1387256587: ('0.04991548765416968',), 1387256353: ('0.04991548765416968',), 1387256336: ('0.04991548765416968',), 1387256334: ('0.04991548765416968',), 1387256176: ('0.04991548765416968',), 1387256153: ('0.04991548765416968',), 1387256149: ('0.04991548765416968',), 1387256138: ('0.04991548765416968',), 1387256086: ('0.04991548765416968',), 1387255999: ('0.04991548765416968',), 1387255996: ('0.04991548765416968',), 1387255992: ('0.04991548765416968',), 1387255990: ('0.04991548765416968',), 1387255986: ('0.04991548765416968',), 1387255930: ('0.04991548765416968',), 1387255924: ('0.04991548765416968',), 1387255844: ('0.04991548765416968',), 1387255840: ('0.04991548765416968',), 1387255837: ('0.04991548765416968',), 1387255833: ('0.04991548765416968',), 1387255799: ('0.04991548765416968',), 1387255795: ('0.04991548765416968',), 1387255792: ('0.04991548765416968',), 1387255775: ('0.04991548765416968',), 1387255771: ('0.04991548765416968',), 1387255767: ('0.04991548765416968',), 1387255764: ('0.04991548765416968',), 1387255763: ('0.04991548765416968',), 1387255760: ('0.04991548765416968',), 1387255746: ('0.04991548765416968',), 1387255742: ('0.04991548765416968',), 1387255739: ('0.04991548765416968',), 1387255675: ('0.04991548765416968',), 1387255672: ('0.04991548765416968',), 1387255670: ('0.04991548765416968',), 1387255667: ('0.04991548765416968',), 1387255659: ('0.04991548765416968',), 1387255657: ('0.04991548765416968',), 1387255654: ('0.04991548765416968',), 1387255652: ('0.04991548765416968',), 1387255650: ('0.04991548765416968',), 1387255636: ('0.04991548765416968',), 1387255633: ('0.04991548765416968',), 1387255630: ('0.04991548765416968',), 27418801: ()} output_args : {27418801: [{'autre_refus': 27418815, 'Carton_gris': 27418816, 'kraft': 27418817, 'metal': 27418830, 'papier': 27418831, 'Teint_Dans_La_Masse': 27418832, 'flou': 27418833, 'plastique': 27418834, 'mal_croppe': 27418835, 'cartonnette': 27418836, 'environnement': 27418837, 'Carton_brun': 27418838}]} args : 27418801 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :45, first value : ('0.04991548765416968',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27418801) 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 (1387256587,1387256353,1387256336,1387256334,1387256176,1387256153,1387256149,1387256138,1387256086,1387255999,1387255996,1387255992,1387255990,1387255986,1387255930,1387255924,1387255844,1387255840,1387255837,1387255833,1387255799,1387255795,1387255792,1387255775,1387255771,1387255767,1387255764,1387255763,1387255760,1387255746,1387255742,1387255739,1387255675,1387255672,1387255670,1387255667,1387255659,1387255657,1387255654,1387255652,1387255650,1387255636,1387255633,1387255630) Found this number of photos: 44 ##### Call download_photos : nb_thread : 5 begin to download photo : 1387255630 begin to download photo : 1387255670 begin to download photo : 1387255767 begin to download photo : 1387255844 begin to download photo : 1387256138 download finish for photo 1387255844 begin to download photo : 1387255924 download finish for photo 1387255630 begin to download photo : 1387255633 download finish for photo 1387255670 begin to download photo : 1387255672 download finish for photo 1387255767 begin to download photo : 1387255771 download finish for photo 1387256138 begin to download photo : 1387256149 download finish for photo 1387255924 begin to download photo : 1387255930 download finish for photo 1387255633 begin to download photo : 1387255636 download finish for photo 1387256149 begin to download photo : 1387256153 download finish for photo 1387255672 begin to download photo : 1387255675 download finish for photo 1387255930 begin to download photo : 1387255986 download finish for photo 1387255771 begin to download photo : 1387255775 download finish for photo 1387255675 begin to download photo : 1387255739 download finish for photo 1387256153 begin to download photo : 1387256176 download finish for photo 1387255636 begin to download photo : 1387255650 download finish for photo 1387255775 begin to download photo : 1387255792 download finish for photo 1387255986 begin to download photo : 1387255990 download finish for photo 1387255739 begin to download photo : 1387255742 download finish for photo 1387255650 begin to download photo : 1387255652 download finish for photo 1387255792 begin to download photo : 1387255795 download finish for photo 1387255990 begin to download photo : 1387255992 download finish for photo 1387256176 begin to download photo : 1387256334 download finish for photo 1387255652 begin to download photo : 1387255654 download finish for photo 1387255742 begin to download photo : 1387255746 download finish for photo 1387255795 begin to download photo : 1387255799 download finish for photo 1387256334 begin to download photo : 1387256336 download finish for photo 1387255992 begin to download photo : 1387255996 download finish for photo 1387255654 begin to download photo : 1387255657 download finish for photo 1387255746 begin to download photo : 1387255760 download finish for photo 1387255799 begin to download photo : 1387255833 download finish for photo 1387255996 begin to download photo : 1387255999 download finish for photo 1387255657 begin to download photo : 1387255659 download finish for photo 1387255760 begin to download photo : 1387255763 download finish for photo 1387255833 begin to download photo : 1387255837 download finish for photo 1387256336 begin to download photo : 1387256353 download finish for photo 1387255999 begin to download photo : 1387256086 download finish for photo 1387255659 begin to download photo : 1387255667 download finish for photo 1387255763 begin to download photo : 1387255764 download finish for photo 1387256353 begin to download photo : 1387256587 download finish for photo 1387256086 download finish for photo 1387255837 begin to download photo : 1387255840 download finish for photo 1387255667 download finish for photo 1387255764 download finish for photo 1387256587 download finish for photo 1387255840 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 : 44 ; length of list_pids : 44 ; length of list_args : 44 results_Auto_P27418801_02-10-2025_06_14_06.pdf 27418815 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=27418815 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387256372: '1759347786_3085850_1387255764_8632251826332a7133172739a64f256c_rle_crop_3982937205_0.png', 1387256373: '1759347786_3085850_1387255764_8632251826332a7133172739a64f256c_rle_crop_3982937207_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/714a5b5592a76bbc721d4c1f1cf7e54b_14324112.png change filename to text .imagette274188151759378446/ imagette274188151759378446/1759347786_3085850_1387255764_8632251826332a7133172739a64f256c_rle_crop_3982937207_0.png.png imagette274188151759378446/1759347786_3085850_1387255764_8632251826332a7133172739a64f256c_rle_crop_3982937205_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/b8cdd3d4bcabd7e18914225bfe8db632_34740606.png imagette274188151759378446 27418817 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=27418817 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387256389: '1759347786_3085850_1387255799_bbe2bb6122fd31315896ca202de0359c_rle_crop_3982937158_0.png', 1387256715: '1759348144_3095281_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31_rle_crop_3982938849_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/c453ea2d8cba973399cace0eaa86390f_71492727.png change filename to text .imagette274188171759378446/ imagette274188171759378446/1759347786_3085850_1387255799_bbe2bb6122fd31315896ca202de0359c_rle_crop_3982937158_0.png.png imagette274188171759378446/1759348144_3095281_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31_rle_crop_3982938849_0.png.png imagette274188301759378446/ imagette274188331759378446/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/45e20ed8b3f103ef7934da8a41083d6d_74730298.png imagette274188171759378446 27418830 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=27418830 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274188301759378446 27418833 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=27418833 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274188331759378446 27418834 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=27418834 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387256386: '1759347786_3085850_1387255799_bbe2bb6122fd31315896ca202de0359c_rle_crop_3982937170_0.png', 1387256387: '1759347786_3085850_1387255771_f98fb9d2e6c73e3bad8fa4fd63cb7de2_rle_crop_3982937185_0.png', 1387256388: '1759347786_3085850_1387255767_b66b6311682af6ba6fff7468ead37af5_rle_crop_3982937201_0.png', 1387256651: '1759348144_3095281_1387255924_9823d77ad06cfc2a18bf4aa0e1d8ee4c_rle_crop_3982938843_0.png', 1387256652: '1759348144_3095281_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31_rle_crop_3982938851_0.png', 1387256653: '1759348144_3095281_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31_rle_crop_3982938850_0.png', 1387256654: '1759348144_3095281_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31_rle_crop_3982938852_0.png', 1387257102: '1759348265_3098310_1387256176_71d55431d01bf2446909e8adc5cb0344_rle_crop_3982939300_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/9e9ddad248278b31c8b750e9eabe65dd_69440936.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/ea1548c99c4d06b69c1a92faa6e28a8a_95219188.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/3230b64d99ca29fb90cd35159a734ed6_49912619.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/f1bfc8303fb02097b40b587262707a13_45903872.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/6857462e1f93670a8379e0624d10ac0f_61485738.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/a926d526de6b8d03e7a27f757688d783_1484257.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/b5b2506e26870dd30c84a7e9fec29345_48810798.png change filename to text .imagette274188341759378446/ imagette274188341759378446/1759348265_3098310_1387256176_71d55431d01bf2446909e8adc5cb0344_rle_crop_3982939300_0.png.png imagette274188341759378446/1759348144_3095281_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31_rle_crop_3982938851_0.png.png imagette274188341759378446/1759347786_3085850_1387255799_bbe2bb6122fd31315896ca202de0359c_rle_crop_3982937170_0.png.png imagette274188341759378446/1759348144_3095281_1387255924_9823d77ad06cfc2a18bf4aa0e1d8ee4c_rle_crop_3982938843_0.png.png imagette274188341759378446/1759348144_3095281_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31_rle_crop_3982938850_0.png.png imagette274188341759378446/1759348144_3095281_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31_rle_crop_3982938852_0.png.png imagette274188341759378446/1759347786_3085850_1387255771_f98fb9d2e6c73e3bad8fa4fd63cb7de2_rle_crop_3982937185_0.png.png imagette274188341759378446/1759347786_3085850_1387255767_b66b6311682af6ba6fff7468ead37af5_rle_crop_3982937201_0.png.png imagette274188351759378447/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/91fa2651765b66e1d18528c9289ec0c7_46768809.png imagette274188341759378446 27418835 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=27418835 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274188351759378447 27418836 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=27418836 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387256380: '1759347786_3085850_1387255799_bbe2bb6122fd31315896ca202de0359c_rle_crop_3982937162_0.png', 1387256381: '1759347786_3085850_1387255767_b66b6311682af6ba6fff7468ead37af5_rle_crop_3982937190_0.png', 1387256382: '1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937267_0.png', 1387256650: '1759348144_3095281_1387255840_53a369bd89f62b2dd0d88e14281a0723_rle_crop_3982938859_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/29ceaad41fddf98a4709fede10b56090_50042760.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/4712468a99d6800ad152ab4352bd0cb7_64614329.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/01c91b5085d98d4bd8516f435551565b_60747822.png change filename to text .imagette274188361759378447/ imagette274188361759378447/1759347786_3085850_1387255799_bbe2bb6122fd31315896ca202de0359c_rle_crop_3982937162_0.png.png imagette274188361759378447/1759348144_3095281_1387255840_53a369bd89f62b2dd0d88e14281a0723_rle_crop_3982938859_0.png.png imagette274188361759378447/1759347786_3085850_1387255767_b66b6311682af6ba6fff7468ead37af5_rle_crop_3982937190_0.png.png imagette274188361759378447/1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937267_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/8cc354e621f1c7e8d5a673b7d89b7804_45837209.png imagette274188361759378447 27418816 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=27418816 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387256374: '1759347786_3085850_1387255799_bbe2bb6122fd31315896ca202de0359c_rle_crop_3982937161_0.png', 1387256375: '1759347786_3085850_1387255767_b66b6311682af6ba6fff7468ead37af5_rle_crop_3982937198_0.png', 1387256376: '1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937272_0.png', 1387256377: '1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937263_0.png', 1387256378: '1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937266_0.png', 1387256379: '1759347786_3085850_1387255760_5f7ea19ed2438fd794e1229a6f2cd1e1_rle_crop_3982937281_0.png', 1387256552: '1759347906_3088819_1387256138_8cfe619ecb6e23127dd4a72fb2d667a4_rle_crop_3982938034_0.png', 1387256593: '1759348026_3092255_1387256353_bc2c038397e8b69d68baf4ce0cd8e0f7_rle_crop_3982938376_0.png', 1387256649: '1759348144_3095281_1387255833_e831c202c49244a3f01f2b3d265d5212_rle_crop_3982938877_0.png', 1387257093: '1759348265_3098310_1387255986_dd3072a82f88965012603af3f5df70cf_rle_crop_3982939512_0.png', 1387259404: '1759348985_3177747_1387255742_5a6a7c9cbaf5fa96960bcb337372c11e_rle_crop_3982953761_0.png', 1387259405: '1759348985_3177747_1387255739_4bc0c606b4e800e911eb2ce83d26f218_rle_crop_3982953773_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/91f92d53ab97f7de07d26ba7fbd2e460_15618608.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/d61c5db2dc06214fc8b976a33373f0bb_12575775.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/6c6200ec4aa68ebe29d684c5f5683d71_92751642.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/334d29f7c873071f2acb871cae95e319_50079566.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/9ccf1dde668827a9dde8572ce1037e86_52469216.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/f3cbf2981211b54a0953ca5f796c0eec_38710721.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/94f18d83aaac8e9bab200a69b93b406f_39003285.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/99f992274b0a0713e51ad6d6cd9cd9ad_94160027.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/adb729bb60e1240f319fa91f3052c783_11635008.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/8cdd6beabe9f5b16489183041083c882_97420811.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/9d89f70c5860684394823fd60e180d61_41505177.png change filename to text .imagette274188161759378448/ imagette274188161759378448/1759348985_3177747_1387255742_5a6a7c9cbaf5fa96960bcb337372c11e_rle_crop_3982953761_0.png.png imagette274188161759378448/1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937266_0.png.png imagette274188161759378448/1759348144_3095281_1387255833_e831c202c49244a3f01f2b3d265d5212_rle_crop_3982938877_0.png.png imagette274188161759378448/1759348265_3098310_1387255986_dd3072a82f88965012603af3f5df70cf_rle_crop_3982939512_0.png.png imagette274188161759378448/1759348985_3177747_1387255739_4bc0c606b4e800e911eb2ce83d26f218_rle_crop_3982953773_0.png.png imagette274188161759378448/1759348026_3092255_1387256353_bc2c038397e8b69d68baf4ce0cd8e0f7_rle_crop_3982938376_0.png.png imagette274188161759378448/1759347786_3085850_1387255767_b66b6311682af6ba6fff7468ead37af5_rle_crop_3982937198_0.png.png imagette274188161759378448/1759347786_3085850_1387255799_bbe2bb6122fd31315896ca202de0359c_rle_crop_3982937161_0.png.png imagette274188161759378448/1759347906_3088819_1387256138_8cfe619ecb6e23127dd4a72fb2d667a4_rle_crop_3982938034_0.png.png imagette274188161759378448/1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937272_0.png.png imagette274188161759378448/1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937263_0.png.png imagette274188161759378448/1759347786_3085850_1387255760_5f7ea19ed2438fd794e1229a6f2cd1e1_rle_crop_3982937281_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/df8ea834b4cbfa1a549478b797a997ee_3190862.png imagette274188161759378448 27418832 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=27418832 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387256369: '1759347786_3085850_1387255771_f98fb9d2e6c73e3bad8fa4fd63cb7de2_rle_crop_3982937183_0.png', 1387256370: '1759347786_3085850_1387255764_8632251826332a7133172739a64f256c_rle_crop_3982937209_0.png', 1387256648: '1759348144_3095281_1387255837_7b6b154fe07fe735ce409cdf5007446b_rle_crop_3982938868_0.png', 1387257085: '1759348265_3098310_1387256176_71d55431d01bf2446909e8adc5cb0344_rle_crop_3982939299_0.png', 1387257086: '1759348265_3098310_1387255992_4488bf60a6027bf89504b58cb35cb521_rle_crop_3982939322_0.png', 1387257087: '1759348265_3098310_1387255990_348c865ca484b625e4c5b0b60d36dd2e_rle_crop_3982939337_0.png', 1387259336: '1759348985_3177747_1387255775_ef6030570f2e7e2d92c0237fb00b906f_rle_crop_3982953747_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/fae0fb181ccea802afddcabd1e6de650_92589687.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/6ada5dcd30f2605909d249887ea7810f_36281194.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/6421f5dc3f25694284bf16d65b37cfdd_5942914.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/17e3d31cf506fbbe228f7f839d2f57c6_58211904.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/23724e46f3dac2ec4f8641c9fd16feae_96599082.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/c4cf3886513ee287869013d932f985b0_18120215.png change filename to text .imagette274188321759378449/ imagette274188321759378449/1759348265_3098310_1387256176_71d55431d01bf2446909e8adc5cb0344_rle_crop_3982939299_0.png.png imagette274188321759378449/1759347786_3085850_1387255764_8632251826332a7133172739a64f256c_rle_crop_3982937209_0.png.png imagette274188321759378449/1759348265_3098310_1387255992_4488bf60a6027bf89504b58cb35cb521_rle_crop_3982939322_0.png.png imagette274188321759378449/1759348265_3098310_1387255990_348c865ca484b625e4c5b0b60d36dd2e_rle_crop_3982939337_0.png.png imagette274188321759378449/1759348985_3177747_1387255775_ef6030570f2e7e2d92c0237fb00b906f_rle_crop_3982953747_0.png.png imagette274188321759378449/1759347786_3085850_1387255771_f98fb9d2e6c73e3bad8fa4fd63cb7de2_rle_crop_3982937183_0.png.png imagette274188321759378449/1759348144_3095281_1387255837_7b6b154fe07fe735ce409cdf5007446b_rle_crop_3982938868_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/5a625310d80c64fa02df76595db87956_98185493.png imagette274188321759378449 27418838 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=27418838 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387256383: '1759347786_3085850_1387255764_8632251826332a7133172739a64f256c_rle_crop_3982937211_0.png', 1387256384: '1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937270_0.png', 1387256554: '1759347906_3088819_1387256086_19739fd53e83dc5f86fa969e2c530c94_rle_crop_3982938046_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/5bce3235649b7a30fd12a9b6a03ec1d3_34137389.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/3719272143311d33bcb7650e5e8c0b4e_26844906.png change filename to text .imagette274188381759378450/ imagette274188381759378450/1759347786_3085850_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c_rle_crop_3982937270_0.png.png imagette274188381759378450/1759347906_3088819_1387256086_19739fd53e83dc5f86fa969e2c530c94_rle_crop_3982938046_0.png.png imagette274188381759378450/1759347786_3085850_1387255764_8632251826332a7133172739a64f256c_rle_crop_3982937211_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/bbfac07c30d0037f55485457fbb5c251_98968759.png imagette274188381759378450 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27418801 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27418840,27418841,27418843,27418844,27418845,27418846,27418847,27418848,27418849,27418850,27418851,27418852?tags=autre_refus,Carton_gris,kraft,metal,papier,Teint_Dans_La_Masse,flou,plastique,mal_croppe,cartonnette,environnement,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1387256587] : ('0.04991548765416968',) no score found for photo 1387256587 We are sending mail with results at report@fotonower.com args[1387256353] : ('0.04991548765416968',) no score found for photo 1387256353 We are sending mail with results at report@fotonower.com args[1387256336] : ('0.04991548765416968',) no score found for photo 1387256336 We are sending mail with results at report@fotonower.com args[1387256334] : ('0.04991548765416968',) no score found for photo 1387256334 We are sending mail with results at report@fotonower.com args[1387256176] : ('0.04991548765416968',) no score found for photo 1387256176 We are sending mail with results at report@fotonower.com args[1387256153] : ('0.04991548765416968',) no score found for photo 1387256153 We are sending mail with results at report@fotonower.com args[1387256149] : ('0.04991548765416968',) no score found for photo 1387256149 We are sending mail with results at report@fotonower.com args[1387256138] : ('0.04991548765416968',) no score found for photo 1387256138 We are sending mail with results at report@fotonower.com args[1387256086] : ('0.04991548765416968',) no score found for photo 1387256086 We are sending mail with results at report@fotonower.com args[1387255999] : ('0.04991548765416968',) no score found for photo 1387255999 We are sending mail with results at report@fotonower.com args[1387255996] : ('0.04991548765416968',) no score found for photo 1387255996 We are sending mail with results at report@fotonower.com args[1387255992] : ('0.04991548765416968',) no score found for photo 1387255992 We are sending mail with results at report@fotonower.com args[1387255990] : ('0.04991548765416968',) no score found for photo 1387255990 We are sending mail with results at report@fotonower.com args[1387255986] : ('0.04991548765416968',) no score found for photo 1387255986 We are sending mail with results at report@fotonower.com args[1387255930] : ('0.04991548765416968',) no score found for photo 1387255930 We are sending mail with results at report@fotonower.com args[1387255924] : ('0.04991548765416968',) no score found for photo 1387255924 We are sending mail with results at report@fotonower.com args[1387255844] : ('0.04991548765416968',) no score found for photo 1387255844 We are sending mail with results at report@fotonower.com args[1387255840] : ('0.04991548765416968',) no score found for photo 1387255840 We are sending mail with results at report@fotonower.com args[1387255837] : ('0.04991548765416968',) no score found for photo 1387255837 We are sending mail with results at report@fotonower.com args[1387255833] : ('0.04991548765416968',) no score found for photo 1387255833 We are sending mail with results at report@fotonower.com args[1387255799] : ('0.04991548765416968',) no score found for photo 1387255799 We are sending mail with results at report@fotonower.com args[1387255795] : ('0.04991548765416968',) no score found for photo 1387255795 We are sending mail with results at report@fotonower.com args[1387255792] : ('0.04991548765416968',) no score found for photo 1387255792 We are sending mail with results at report@fotonower.com args[1387255775] : ('0.04991548765416968',) no score found for photo 1387255775 We are sending mail with results at report@fotonower.com args[1387255771] : ('0.04991548765416968',) no score found for photo 1387255771 We are sending mail with results at report@fotonower.com args[1387255767] : ('0.04991548765416968',) no score found for photo 1387255767 We are sending mail with results at report@fotonower.com args[1387255764] : ('0.04991548765416968',) no score found for photo 1387255764 We are sending mail with results at report@fotonower.com args[1387255763] : ('0.04991548765416968',) no score found for photo 1387255763 We are sending mail with results at report@fotonower.com args[1387255760] : ('0.04991548765416968',) no score found for photo 1387255760 We are sending mail with results at report@fotonower.com args[1387255746] : ('0.04991548765416968',) no score found for photo 1387255746 We are sending mail with results at report@fotonower.com args[1387255742] : ('0.04991548765416968',) no score found for photo 1387255742 We are sending mail with results at report@fotonower.com args[1387255739] : ('0.04991548765416968',) no score found for photo 1387255739 We are sending mail with results at report@fotonower.com args[1387255675] : ('0.04991548765416968',) no score found for photo 1387255675 We are sending mail with results at report@fotonower.com args[1387255672] : ('0.04991548765416968',) no score found for photo 1387255672 We are sending mail with results at report@fotonower.com args[1387255670] : ('0.04991548765416968',) no score found for photo 1387255670 We are sending mail with results at report@fotonower.com args[1387255667] : ('0.04991548765416968',) no score found for photo 1387255667 We are sending mail with results at report@fotonower.com args[1387255659] : ('0.04991548765416968',) no score found for photo 1387255659 We are sending mail with results at report@fotonower.com args[1387255657] : ('0.04991548765416968',) no score found for photo 1387255657 We are sending mail with results at report@fotonower.com args[1387255654] : ('0.04991548765416968',) no score found for photo 1387255654 We are sending mail with results at report@fotonower.com args[1387255652] : ('0.04991548765416968',) no score found for photo 1387255652 We are sending mail with results at report@fotonower.com args[1387255650] : ('0.04991548765416968',) no score found for photo 1387255650 We are sending mail with results at report@fotonower.com args[1387255636] : ('0.04991548765416968',) no score found for photo 1387255636 We are sending mail with results at report@fotonower.com args[1387255633] : ('0.04991548765416968',) no score found for photo 1387255633 We are sending mail with results at report@fotonower.com args[1387255630] : ('0.04991548765416968',) no score found for photo 1387255630 We are sending mail with results at report@fotonower.com refus_total : 0.04991548765416968 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=27418801 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_P27418801_02-10-2025_06_14_06.pdf results_Auto_P27418801_02-10-2025_06_14_06.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418801_02-10-2025_06_14_06.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','27418801','results_Auto_P27418801_02-10-2025_06_14_06.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418801_02-10-2025_06_14_06.pdf','pdf','','0.41','0.04991548765416968') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27418801]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630] map_info['map_portfolio_photo'] : {27418801: [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630]} final : False mtd_id 4302 list_pids : [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630] 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, '3817106') ('4302', '27418801', '1387256587', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256353', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256336', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256334', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256176', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256153', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256149', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256138', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256086', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255999', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255996', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255992', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255990', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255986', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255930', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255924', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255844', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255840', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255837', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255833', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255799', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255795', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255792', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255775', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255771', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255767', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255764', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255763', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255760', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255746', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255742', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255739', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255675', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255672', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255670', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255667', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255659', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255657', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255654', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255652', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255650', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255636', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255633', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255630', None, None, None, None, None, '3817106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27418801', '1387256587', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256353', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256336', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256334', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256176', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256153', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256149', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256138', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256086', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255999', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255996', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255992', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255990', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255986', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255930', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255924', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255844', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255840', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255837', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255833', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255799', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255795', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255792', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255775', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255771', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255767', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255764', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255763', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255760', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255746', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255742', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255739', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255675', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255672', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255670', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255667', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255659', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255657', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255654', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255652', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255650', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255636', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255633', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255630', None, None, None, None, None, '3817106')] time used for this insertion : 0.040255069732666016 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.47008728981018 time spend to save output : 0.0407710075378418 total time spend for step 4 : 9.510858297348022 step5:split_time_score Thu Oct 2 06:14:14 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 : ['27418801'] 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 : [('27418801',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27418801) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1387255844: {'path': 'temp/1759378444_170122_1387255844_7c5ac89e7886af5a6aa3b67a5a2fea31.jpg', 'extension': 'jpg'}, 1387255924: {'path': 'temp/1759378444_170122_1387255924_9823d77ad06cfc2a18bf4aa0e1d8ee4c.jpg', 'extension': 'jpg'}, 1387255930: {'path': 'temp/1759378444_170122_1387255930_269262ab8d7c7df701f404747a2244d7.jpg', 'extension': 'jpg'}, 1387255986: {'path': 'temp/1759378444_170122_1387255986_dd3072a82f88965012603af3f5df70cf.jpg', 'extension': 'jpg'}, 1387255990: {'path': 'temp/1759378444_170122_1387255990_348c865ca484b625e4c5b0b60d36dd2e.jpg', 'extension': 'jpg'}, 1387255992: {'path': 'temp/1759378444_170122_1387255992_4488bf60a6027bf89504b58cb35cb521.jpg', 'extension': 'jpg'}, 1387255996: {'path': 'temp/1759378444_170122_1387255996_ab9ea713148c2b6bd1f13daf74f88de8.jpg', 'extension': 'jpg'}, 1387255999: {'path': 'temp/1759378444_170122_1387255999_87df86567343e7af777af908e5a35114.jpg', 'extension': 'jpg'}, 1387256086: {'path': 'temp/1759378444_170122_1387256086_19739fd53e83dc5f86fa969e2c530c94.jpg', 'extension': 'jpg'}, 1387255630: {'path': 'temp/1759378444_170122_1387255630_81bc1f6a27d1646c74d4c0598eaab893.jpg', 'extension': 'jpg'}, 1387255633: {'path': 'temp/1759378444_170122_1387255633_78abdec17bd6768ccfddea652ff19ac8.jpg', 'extension': 'jpg'}, 1387255636: {'path': 'temp/1759378444_170122_1387255636_a12e44a70f52e9e79e39c20206691d10.jpg', 'extension': 'jpg'}, 1387255650: {'path': 'temp/1759378444_170122_1387255650_8d1f2efcce74227c69f4fe850b7d9b5d.jpg', 'extension': 'jpg'}, 1387255652: {'path': 'temp/1759378444_170122_1387255652_189271bf8f489fbb3276a36dd99881c5.jpg', 'extension': 'jpg'}, 1387255654: {'path': 'temp/1759378444_170122_1387255654_c0d35d3b370a0cac9f7ccae434156bb4.jpg', 'extension': 'jpg'}, 1387255657: {'path': 'temp/1759378444_170122_1387255657_b8df0599bb8354574a59fb47b3139cfc.jpg', 'extension': 'jpg'}, 1387255659: {'path': 'temp/1759378444_170122_1387255659_49e52660a26d93ae442f6c6e134fb40f.jpg', 'extension': 'jpg'}, 1387255667: {'path': 'temp/1759378444_170122_1387255667_f4809bda1a8fc353de8b4cfd2dcfd460.jpg', 'extension': 'jpg'}, 1387255670: {'path': 'temp/1759378444_170122_1387255670_ea5f620063b458b56b47bea48b912f8d.jpg', 'extension': 'jpg'}, 1387255672: {'path': 'temp/1759378444_170122_1387255672_99bf2f027ce9692a1a912c609b99b733.jpg', 'extension': 'jpg'}, 1387255675: {'path': 'temp/1759378444_170122_1387255675_08814542d85a09be210d88be288c2ec2.jpg', 'extension': 'jpg'}, 1387255739: {'path': 'temp/1759378444_170122_1387255739_4bc0c606b4e800e911eb2ce83d26f218.jpg', 'extension': 'jpg'}, 1387255742: {'path': 'temp/1759378444_170122_1387255742_5a6a7c9cbaf5fa96960bcb337372c11e.jpg', 'extension': 'jpg'}, 1387255746: {'path': 'temp/1759378444_170122_1387255746_c58a41aadbbb1e2c898ffea17a506435.jpg', 'extension': 'jpg'}, 1387255760: {'path': 'temp/1759378444_170122_1387255760_5f7ea19ed2438fd794e1229a6f2cd1e1.jpg', 'extension': 'jpg'}, 1387255763: {'path': 'temp/1759378444_170122_1387255763_9038b1406b64f38b97b91c2b5e6e7f3c.jpg', 'extension': 'jpg'}, 1387255764: {'path': 'temp/1759378444_170122_1387255764_8632251826332a7133172739a64f256c.jpg', 'extension': 'jpg'}, 1387256138: {'path': 'temp/1759378444_170122_1387256138_8cfe619ecb6e23127dd4a72fb2d667a4.jpg', 'extension': 'jpg'}, 1387256149: {'path': 'temp/1759378444_170122_1387256149_e27c750f89e79a5c803798040217f97f.jpg', 'extension': 'jpg'}, 1387256153: {'path': 'temp/1759378444_170122_1387256153_1f4c1865481ae21337a424b11c8f0e3f.jpg', 'extension': 'jpg'}, 1387256176: {'path': 'temp/1759378444_170122_1387256176_71d55431d01bf2446909e8adc5cb0344.jpg', 'extension': 'jpg'}, 1387256334: {'path': 'temp/1759378444_170122_1387256334_b367c01312fa5ec8badd273115bed513.jpg', 'extension': 'jpg'}, 1387256336: {'path': 'temp/1759378444_170122_1387256336_8f6b41a5d228ab22929292bf4f9ab073.jpg', 'extension': 'jpg'}, 1387256353: {'path': 'temp/1759378444_170122_1387256353_bc2c038397e8b69d68baf4ce0cd8e0f7.jpg', 'extension': 'jpg'}, 1387256587: {'path': 'temp/1759378444_170122_1387256587_cc1d45e7af2a4df6930125eefed02c39.jpg', 'extension': 'jpg'}, 1387255767: {'path': 'temp/1759378444_170122_1387255767_b66b6311682af6ba6fff7468ead37af5.jpg', 'extension': 'jpg'}, 1387255771: {'path': 'temp/1759378444_170122_1387255771_f98fb9d2e6c73e3bad8fa4fd63cb7de2.jpg', 'extension': 'jpg'}, 1387255775: {'path': 'temp/1759378444_170122_1387255775_ef6030570f2e7e2d92c0237fb00b906f.jpg', 'extension': 'jpg'}, 1387255792: {'path': 'temp/1759378444_170122_1387255792_4e4ed93acc2162256616e8aeebf7f93e.jpg', 'extension': 'jpg'}, 1387255795: {'path': 'temp/1759378444_170122_1387255795_e1bd4e5b38765064b34b8d20764beea2.jpg', 'extension': 'jpg'}, 1387255799: {'path': 'temp/1759378444_170122_1387255799_bbe2bb6122fd31315896ca202de0359c.jpg', 'extension': 'jpg'}, 1387255833: {'path': 'temp/1759378444_170122_1387255833_e831c202c49244a3f01f2b3d265d5212.jpg', 'extension': 'jpg'}, 1387255837: {'path': 'temp/1759378444_170122_1387255837_7b6b154fe07fe735ce409cdf5007446b.jpg', 'extension': 'jpg'}, 1387255840: {'path': 'temp/1759378444_170122_1387255840_53a369bd89f62b2dd0d88e14281a0723.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 = 27418801; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 = 27418801 group by h (('21', 44),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27418801 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 (27418801) 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 (27418801) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01102025 27418801 Nombre de photos uploadées : 44 / 23040 (0%) 01102025 27418801 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 01102025 27418801 Nombre de photos taguées (volume) : 0 / 44 (0%) [{'photo_id': 1387255636, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/a12e44a70f52e9e79e39c20206691d10.jpg', 'username': None, 'uploaded_at': 1759347107, 'text': 'image_01102025_21_30_04_10178.jpg'}, {'photo_id': 1387255633, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/78abdec17bd6768ccfddea652ff19ac8.jpg', 'username': None, 'uploaded_at': 1759347107, 'text': 'image_01102025_21_30_24_10134.jpg'}, {'photo_id': 1387255630, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/81bc1f6a27d1646c74d4c0598eaab893.jpg', 'username': None, 'uploaded_at': 1759347107, 'text': 'image_01102025_21_30_44_10136.jpg'}, {'photo_id': 1387255659, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/1/49e52660a26d93ae442f6c6e134fb40f.jpg', 'username': None, 'uploaded_at': 1759347138, 'text': 'image_01102025_21_30_55_10138.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020618438720703125 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27418801, '2025-10-01' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2369419,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6442451477050781 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= 2369419 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27375839, 'dashboard_result_id': 15912974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27375839_02-10-2025_05_34_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27375884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27375885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27375886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27375887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27375888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27375889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27375890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27375891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27375892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27375893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27375894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27375895, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27376525, 'dashboard_result_id': 15912975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27376525_02-10-2025_05_35_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27376527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27376528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27376529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27376530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27376531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27376532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27376533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27376534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27376535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27376536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27376537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27376538, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27376906, 'dashboard_result_id': 15912977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27376906_02-10-2025_05_35_39.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27376928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27376929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27376930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27376931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27376932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27376933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27376934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27376935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27376936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27376937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27376938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27376939, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27377191, 'dashboard_result_id': 15912978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27377191_02-10-2025_05_36_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27377197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27377198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27377199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27377200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27377201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27377202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27377203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27377204, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27377205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27377206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27377207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27377208, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27378456, 'dashboard_result_id': 15912979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378456_02-10-2025_05_36_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27378462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27378463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27378464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27378465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27378466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27378467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27378468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27378469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27378470, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27378471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27378472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27378473, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27378717, 'dashboard_result_id': 15912981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378717_02-10-2025_05_36_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27378729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27378730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27378731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27378732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27378733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27378734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27378735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27378736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27378737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27378738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27378739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27378740, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27378994, 'dashboard_result_id': 15912982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378994_02-10-2025_05_37_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379011, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379018, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27379410, 'dashboard_result_id': 15912983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27379410_02-10-2025_05_37_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379446, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27379907, 'dashboard_result_id': 15912985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27379907_02-10-2025_05_38_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379923, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27380372, 'dashboard_result_id': 15912986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27380372_02-10-2025_05_38_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27380391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27380393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27380394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27380395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27380396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27380397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27380398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27380399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27380400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27380401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27380402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27380403, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27380848, 'dashboard_result_id': 15912987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27380848_02-10-2025_05_39_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27380892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27380893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27380894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27380895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27380896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27380897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27380899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27380900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27380901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27380902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27380903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27380904, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27381440, 'dashboard_result_id': 15912989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27381440_02-10-2025_05_39_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27381451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27381452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27381453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27381454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27381455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27381456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27381458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27381459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27381460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27381461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27381462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27381463, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27381997, 'dashboard_result_id': 15912990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27381997_02-10-2025_05_40_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382014, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27382455, 'dashboard_result_id': 15912991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27382455_02-10-2025_05_40_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382473, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27382890, 'dashboard_result_id': 15912992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27382890_02-10-2025_05_41_09.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382952, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27384322, 'dashboard_result_id': 15912993, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384322_02-10-2025_05_41_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27384330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384339, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27384680, 'dashboard_result_id': 15912994, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384680_02-10-2025_05_42_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27384689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384693, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384697, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27384953, 'dashboard_result_id': 15912995, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384953_02-10-2025_05_42_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27384965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384976, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27385199, 'dashboard_result_id': 15912996, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385199_02-10-2025_05_43_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385223, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27385566, 'dashboard_result_id': 15912997, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385566_02-10-2025_05_44_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385627, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27385977, 'dashboard_result_id': 15912998, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385977_02-10-2025_05_44_39.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385994, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27386362, 'dashboard_result_id': 15912999, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27386362_02-10-2025_05_45_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27386401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27386402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27386403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27386404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27386405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27386406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27386407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27386408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27386409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27386410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27386411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27386412, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27386738, 'dashboard_result_id': 15913000, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27386738_02-10-2025_05_46_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27386750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27386751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27386752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27386753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27386754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27386755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27386756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27386757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27386758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27386760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27386761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27386762, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27387203, 'dashboard_result_id': 15913001, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27387203_02-10-2025_05_46_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27387269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27387270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27387271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27387272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27387273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27387274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27387276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27387277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27387278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27387279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27387280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27387281, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27387984, 'dashboard_result_id': 15913002, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27387984_02-10-2025_05_46_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27388002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27388003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27388004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27388005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27388006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27388019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27388020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27388021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27388022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27388023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27388024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27388025, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27388759, 'dashboard_result_id': 15913003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27388759_02-10-2025_05_47_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27388801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27388802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27388803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27388804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27388805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27388806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27388807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27388808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27388809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27388810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27388811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27388812, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27389340, 'dashboard_result_id': 15913004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27389340_02-10-2025_05_48_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27389377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27389378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27389379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27389380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27389381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27389382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27389383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27389384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27389385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27389386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27389387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27389388, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27390105, 'dashboard_result_id': 15913005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27390105_02-10-2025_05_48_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27390121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27390122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27390123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27390124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27390125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27390126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27390127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27390128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27390129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27390130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27390131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27390132, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27390791, 'dashboard_result_id': 15913006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27390791_02-10-2025_05_50_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27390832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27390833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27390834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27390835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27390836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27390837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27390838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27390839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27390840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27390841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27390842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27390843, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27391355, 'dashboard_result_id': 15913007, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27391355_02-10-2025_05_50_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27391363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27391364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27391365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27391366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27391367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27391368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27391369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27391370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27391371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27391372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27391373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27391374, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27392176, 'dashboard_result_id': 15913008, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27392176_02-10-2025_05_51_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27392204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27392205, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27392206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27392207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27392208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27392209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27392210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27392211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27392212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27392213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27392214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27392215, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27394659, 'dashboard_result_id': 15913009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27394659_02-10-2025_05_51_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27394666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27394667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27394668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27394669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27394671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27394672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27394673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27394674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27394675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27394676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27394677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27394678, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27395242, 'dashboard_result_id': 15913010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27395242_02-10-2025_05_52_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27395261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27395262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27395263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27395264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27395265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27395266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27395267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27395268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27395269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27395270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27395271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27395272, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27395913, 'dashboard_result_id': 15913011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27395913_02-10-2025_05_52_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27395922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27395923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27395925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27395926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27395927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27395928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27395929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27395931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27395932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27395933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27395934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27395935, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27396429, 'dashboard_result_id': 15913012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27396429_02-10-2025_05_53_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27396465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27396466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27396467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27396468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27396469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27396470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27396471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27396472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27396473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27396474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27396475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27396476, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27397076, 'dashboard_result_id': 15913013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27397076_02-10-2025_05_54_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27397091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27397092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27397093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27397094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27397095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27397096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27397097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27397098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27397099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27397100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27397101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27397102, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27397673, 'dashboard_result_id': 15913014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27397673_02-10-2025_05_54_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27397682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27397683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27397684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27397685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27397686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27397687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27397688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27397689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27397690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27397691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27397692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27397693, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27398369, 'dashboard_result_id': 15913015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27398369_02-10-2025_05_55_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27398446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27398447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27398448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27398449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27398450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27398451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27398452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27398453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27398454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27398455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27398456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27398457, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27399474, 'dashboard_result_id': 15913016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27399474_02-10-2025_05_56_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27399525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27399528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27399530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27399532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27399533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27399534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27399535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27399536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27399537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27399538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27399539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27399541, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27399974, 'dashboard_result_id': 15913017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27399974_02-10-2025_05_56_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27399989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27399990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27399991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27399992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27399993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27399994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27399995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27399996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27399997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27399998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27399999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27400000, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27400780, 'dashboard_result_id': 15913018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27400780_02-10-2025_05_56_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27400837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27400838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27400839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27400840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27400841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27400842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27400843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27400844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27400845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27400847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27400848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27400849, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27401557, 'dashboard_result_id': 15913019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27401557_02-10-2025_05_57_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27401581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27401582, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27401584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27401585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27401586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27401587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27401588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27401589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27401590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27401591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27401592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27401593, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27403901, 'dashboard_result_id': 15913020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27403901_02-10-2025_05_58_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27403919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27403920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27403921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27403922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27403923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27403924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27403925, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27403926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27403927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27403928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27403929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27403930, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27404296, 'dashboard_result_id': 15913021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27404296_02-10-2025_05_58_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27404323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27404324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27404325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27404326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27404327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27404328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27404329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27404330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27404331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27404332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27404333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27404334, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27404682, 'dashboard_result_id': 15913022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27404682_02-10-2025_05_59_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27404694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27404695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27404696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27404697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27404698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27404699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27404700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27404701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27404702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27404703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27404704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27404705, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27405147, 'dashboard_result_id': 15913023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405147_02-10-2025_06_00_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27405156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405158, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405163, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27405398, 'dashboard_result_id': 15913024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405398_02-10-2025_06_00_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27405427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405430, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405436, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27405885, 'dashboard_result_id': 15913025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405885_02-10-2025_06_01_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27405892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405899, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405903, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27406408, 'dashboard_result_id': 15913026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27406408_02-10-2025_06_01_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27406441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27406442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27406443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27406444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27406445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27406447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27406448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27406449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27406450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27406451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27406452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27406453, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27407294, 'dashboard_result_id': 15913027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27407294_02-10-2025_06_02_12.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27407330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27407331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27407332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27407333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27407334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27407335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27407336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27407337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27407338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27407339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27407340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27407341, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27407854, 'dashboard_result_id': 15913028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27407854_02-10-2025_06_02_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27407904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27407905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27407906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27407907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27407908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27407909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27407910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27407911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27407912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27407914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27407915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27407916, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27408403, 'dashboard_result_id': 15913029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27408403_02-10-2025_06_03_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27408443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27408444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27408445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27408446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27408447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27408448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27408449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27408450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27408451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27408452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27408453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27408454, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27408924, 'dashboard_result_id': 15913030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27408924_02-10-2025_06_04_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27408959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27408960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27408961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27408963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27408964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27408965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27408966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27408967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27408968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27408969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27408970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27408971, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27409726, 'dashboard_result_id': 15913031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27409726_02-10-2025_06_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27409732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27409733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27409734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27409735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27409736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27409737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27409738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27409739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27409740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27409741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27409742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27409743, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27410197, 'dashboard_result_id': 15913032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27410197_02-10-2025_06_05_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27410222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27410223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27410224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27410225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27410226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27410227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27410228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27410229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27410230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27410231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27410232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27410233, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27410821, 'dashboard_result_id': 15913033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27410821_02-10-2025_06_06_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27410835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27410836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27410837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27410838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27410839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27410840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27410841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27410842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27410843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27410844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27410845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27410846, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27411483, 'dashboard_result_id': 15913034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27411483_02-10-2025_06_06_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27411507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27411508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27411509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27411510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27411511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27411512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27411513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27411514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27411515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27411517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27411518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27411519, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27412214, 'dashboard_result_id': 15913035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27412214_02-10-2025_06_06_39.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27412219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27412220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27412221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27412223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27412224, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27412225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27412226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27412227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27412228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27412229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27412230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27412231, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27413207, 'dashboard_result_id': 15913036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27413207_02-10-2025_06_07_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27413212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27413213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27413214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27413215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27413216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27413217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27413218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27413219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27413220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27413221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27413222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27413223, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27413745, 'dashboard_result_id': 15913037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27413745_02-10-2025_06_08_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27413773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27413774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27413775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27413776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27413777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27413778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27413779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27413780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27413781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27413782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27413783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27413784, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27414258, 'dashboard_result_id': 15913038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27414258_02-10-2025_06_08_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27414301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27414303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27414304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27414305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27414316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27414319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27414320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27414321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27414322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27414323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27414324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27414325, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27415295, 'dashboard_result_id': 15913039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415295_02-10-2025_06_09_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27415332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415333, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27415415, 'dashboard_result_id': 15913040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415415_02-10-2025_06_10_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27415458, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27415818, 'dashboard_result_id': 15913041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415818_02-10-2025_06_10_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27415853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415864, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27416157, 'dashboard_result_id': 15913042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27416157_02-10-2025_06_11_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27416158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27416159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27416160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27416161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27416162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27416163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27416164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27416165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27416166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27416167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27416168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27416169, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27416890, 'dashboard_result_id': 15913043, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27416890_02-10-2025_06_11_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27416916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27416917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27416918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27416919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27416920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27416921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27416922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27416923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27416924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27416925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27416926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27416927, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27417155, 'dashboard_result_id': 15913044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27417155_02-10-2025_06_12_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27417168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27417169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27417170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27417172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27417173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27417174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27417175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27417176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27417177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27417178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27417179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27417180, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27417946, 'dashboard_result_id': 15913045, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27417946_02-10-2025_06_12_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27417986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27417987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27417988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27417989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27417990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27417991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27417992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27417993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27417994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27417995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27417996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27417997, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27418346, 'dashboard_result_id': 15913046, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418346_02-10-2025_06_13_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27418370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27418371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27418372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27418373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27418374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27418375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27418376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27418377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27418378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27418379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27418380, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27418381, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27418801, 'dashboard_result_id': 15913047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418801_01-10-2025_21_49_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27418815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27418816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27418817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27418830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27418831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27418832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27418833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27418834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27418835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27418836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27418837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27418838, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27419316, 'dashboard_result_id': 15913048, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27419316_01-10-2025_22_03_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27419322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27419323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27419324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27419325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27419326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27419327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27419328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27419329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27419330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27419331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27419332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27419333, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27419706, 'dashboard_result_id': 15913049, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27419706_01-10-2025_22_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27419730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27419731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27419732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27419733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27419734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27419735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27419736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27419737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27419750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27419751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27419752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27419753, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27420225, 'dashboard_result_id': 15913050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27420225_01-10-2025_22_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27420237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27420238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27420239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27420240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27420241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27420242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27420243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27420244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27420245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27420246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27420247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27420248, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27420770, 'dashboard_result_id': 15913051, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27420770_01-10-2025_22_47_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27420795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27420796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27420797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27420798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27420799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27420800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27420801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27420802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27420803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27420804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27420805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27420806, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27421265, 'dashboard_result_id': 15913052, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27421265_01-10-2025_23_05_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27421277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27421278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27421279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27421280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27421281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27421282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27421283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27421284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27421285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27421286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27421287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27421288, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27421942, 'dashboard_result_id': 15913053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27421942_01-10-2025_23_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27421963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27421964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27421965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27421966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27421967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27421968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27421969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27421970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27421971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27421972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27421973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27421974, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27422618, 'dashboard_result_id': 15913054, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27422618_01-10-2025_23_36_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27422639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27422647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27422649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27422651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27422654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27422656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27422658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27422661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27422676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27422678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27422680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27422682, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27423604, 'dashboard_result_id': 15913055, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27423604_01-10-2025_23_47_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27423612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27423613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27423614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27423616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27423617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27423618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27423619, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27423620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27423621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27423622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27423623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27423624, 'pht': 3726}}"}, {'dashboat_entry_day': 2369419, 'dashboard_run_id': 2386575, 'mtr_portfolio_id': 27424087, 'dashboard_result_id': 15913056, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27424087_02-10-2025_04_41_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424104, '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 = 27375839 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817035, 'mtr_portfolio_id': 27375839, 'created_at': datetime.datetime(2025, 10, 2, 5, 34, 29), 'result': '0.06789394242096429', 'result_long': None, 'result_double': None}] Qualite : 0.06789394242096429 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27375839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27375839_02-10-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27375839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27375839_02-10-2025_05_34_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27375884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27375885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27375886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27375887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27375888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27375889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27375890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27375891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27375892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27375893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27375894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27375895, 'pht': 3726}}" where mtr_portfolio_id = 27375839 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27375839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912974, 0.06789394242096429, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27375839_02-10-2025_05_34_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27375884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27375885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27375886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27375887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27375888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27375889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27375890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27375891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27375892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27375893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27375894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27375895, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27376525 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817036, 'mtr_portfolio_id': 27376525, 'created_at': datetime.datetime(2025, 10, 2, 5, 35, 3), 'result': '0.07886199448450112', 'result_long': None, 'result_double': None}] Qualite : 0.07886199448450112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27376525 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27376525_02-10-2025_05_35_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27376525 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27376525_02-10-2025_05_35_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27376527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27376528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27376529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27376530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27376531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27376532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27376533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27376534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27376535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27376536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27376537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27376538, 'pht': 3726}}" where mtr_portfolio_id = 27376525 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27376525 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912975, 0.07886199448450112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27376525_02-10-2025_05_35_07.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27376527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27376528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27376529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27376530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27376531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27376532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27376533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27376534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27376535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27376536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27376537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27376538, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27376906 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817037, 'mtr_portfolio_id': 27376906, 'created_at': datetime.datetime(2025, 10, 2, 5, 35, 35), 'result': '0.03770473165226238', 'result_long': None, 'result_double': None}] Qualite : 0.03770473165226238 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27376906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27376906_02-10-2025_05_35_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27376906 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27376906_02-10-2025_05_35_39.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27376928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27376929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27376930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27376931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27376932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27376933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27376934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27376935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27376936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27376937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27376938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27376939, 'pht': 3726}}" where mtr_portfolio_id = 27376906 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27376906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912977, 0.03770473165226238, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27376906_02-10-2025_05_35_39.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27376928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27376929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27376930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27376931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27376932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27376933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27376934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27376935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27376936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27376937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27376938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27376939, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27377191 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817038, 'mtr_portfolio_id': 27377191, 'created_at': datetime.datetime(2025, 10, 2, 5, 36), 'result': '0.0717714398830473', 'result_long': None, 'result_double': None}] Qualite : 0.0717714398830473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27377191 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27377191_02-10-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27377191 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27377191_02-10-2025_05_36_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27377197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27377198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27377199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27377200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27377201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27377202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27377203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27377204, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27377205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27377206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27377207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27377208, 'pht': 3726}}" where mtr_portfolio_id = 27377191 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27377191 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912978, 0.0717714398830473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27377191_02-10-2025_05_36_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27377197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27377198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27377199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27377200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27377201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27377202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27377203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27377204, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27377205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27377206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27377207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27377208, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27378456 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817039, 'mtr_portfolio_id': 27378456, 'created_at': datetime.datetime(2025, 10, 2, 5, 36, 5), 'result': '0.08043277079167623', 'result_long': None, 'result_double': None}] Qualite : 0.08043277079167623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27378456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378456_02-10-2025_05_36_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27378456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378456_02-10-2025_05_36_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27378462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27378463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27378464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27378465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27378466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27378467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27378468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27378469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27378470, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27378471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27378472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27378473, 'pht': 3726}}" where mtr_portfolio_id = 27378456 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27378456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912979, 0.08043277079167623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378456_02-10-2025_05_36_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27378462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27378463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27378464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27378465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27378466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27378467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27378468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27378469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27378470, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27378471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27378472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27378473, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27378717 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817040, 'mtr_portfolio_id': 27378717, 'created_at': datetime.datetime(2025, 10, 2, 5, 36, 33), 'result': '0.09620342357616525', 'result_long': None, 'result_double': None}] Qualite : 0.09620342357616525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27378717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378717_02-10-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27378717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378717_02-10-2025_05_36_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27378729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27378730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27378731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27378732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27378733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27378734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27378735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27378736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27378737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27378738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27378739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27378740, 'pht': 3726}}" where mtr_portfolio_id = 27378717 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27378717 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912981, 0.09620342357616525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378717_02-10-2025_05_36_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27378729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27378730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27378731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27378732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27378733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27378734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27378735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27378736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27378737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27378738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27378739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27378740, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27378994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817041, 'mtr_portfolio_id': 27378994, 'created_at': datetime.datetime(2025, 10, 2, 5, 37, 1), 'result': '0.05679053781888002', 'result_long': None, 'result_double': None}] Qualite : 0.05679053781888002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27378994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378994_02-10-2025_05_37_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27378994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378994_02-10-2025_05_37_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379011, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379018, 'pht': 3726}}" where mtr_portfolio_id = 27378994 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27378994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912982, 0.05679053781888002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27378994_02-10-2025_05_37_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379011, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379016, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379018, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27379410 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817042, 'mtr_portfolio_id': 27379410, 'created_at': datetime.datetime(2025, 10, 2, 5, 37, 34), 'result': '0.04770836897525871', 'result_long': None, 'result_double': None}] Qualite : 0.04770836897525871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27379410 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27379410_02-10-2025_05_37_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27379410 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27379410_02-10-2025_05_37_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379446, 'pht': 3726}}" where mtr_portfolio_id = 27379410 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27379410 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912983, 0.04770836897525871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27379410_02-10-2025_05_37_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27379907 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817043, 'mtr_portfolio_id': 27379907, 'created_at': datetime.datetime(2025, 10, 2, 5, 37, 59), 'result': '0.06099107227027687', 'result_long': None, 'result_double': None}] Qualite : 0.06099107227027687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27379907 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27379907_02-10-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27379907 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27379907_02-10-2025_05_38_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379923, 'pht': 3726}}" where mtr_portfolio_id = 27379907 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27379907 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912985, 0.06099107227027687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27379907_02-10-2025_05_38_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27379912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27379913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27379914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27379915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27379916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27379917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27379918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27379919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27379920, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27379921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27379922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27379923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27380372 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817044, 'mtr_portfolio_id': 27380372, 'created_at': datetime.datetime(2025, 10, 2, 5, 38, 32), 'result': '0.047009914209299924', 'result_long': None, 'result_double': None}] Qualite : 0.047009914209299924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27380372 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27380372_02-10-2025_05_38_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27380372 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27380372_02-10-2025_05_38_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27380391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27380393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27380394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27380395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27380396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27380397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27380398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27380399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27380400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27380401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27380402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27380403, 'pht': 3726}}" where mtr_portfolio_id = 27380372 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27380372 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912986, 0.047009914209299924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27380372_02-10-2025_05_38_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27380391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27380393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27380394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27380395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27380396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27380397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27380398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27380399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27380400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27380401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27380402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27380403, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27380848 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817045, 'mtr_portfolio_id': 27380848, 'created_at': datetime.datetime(2025, 10, 2, 5, 39, 1), 'result': '0.040862898360302366', 'result_long': None, 'result_double': None}] Qualite : 0.040862898360302366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27380848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27380848_02-10-2025_05_39_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27380848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27380848_02-10-2025_05_39_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27380892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27380893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27380894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27380895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27380896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27380897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27380899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27380900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27380901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27380902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27380903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27380904, 'pht': 3726}}" where mtr_portfolio_id = 27380848 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27380848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912987, 0.040862898360302366, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27380848_02-10-2025_05_39_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27380892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27380893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27380894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27380895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27380896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27380897, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27380899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27380900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27380901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27380902, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27380903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27380904, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27381440 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817046, 'mtr_portfolio_id': 27381440, 'created_at': datetime.datetime(2025, 10, 2, 5, 39, 33), 'result': '0.05168652002226309', 'result_long': None, 'result_double': None}] Qualite : 0.05168652002226309 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27381440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27381440_02-10-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27381440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27381440_02-10-2025_05_39_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27381451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27381452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27381453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27381454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27381455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27381456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27381458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27381459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27381460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27381461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27381462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27381463, 'pht': 3726}}" where mtr_portfolio_id = 27381440 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27381440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912989, 0.05168652002226309, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27381440_02-10-2025_05_39_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27381451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27381452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27381453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27381454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27381455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27381456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27381458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27381459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27381460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27381461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27381462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27381463, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27381997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817047, 'mtr_portfolio_id': 27381997, 'created_at': datetime.datetime(2025, 10, 2, 5, 40, 5), 'result': '0.04641152411594666', 'result_long': None, 'result_double': None}] Qualite : 0.04641152411594666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27381997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27381997_02-10-2025_05_40_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27381997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27381997_02-10-2025_05_40_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382014, 'pht': 3726}}" where mtr_portfolio_id = 27381997 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27381997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912990, 0.04641152411594666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27381997_02-10-2025_05_40_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382006, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382011, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382014, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27382455 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817048, 'mtr_portfolio_id': 27382455, 'created_at': datetime.datetime(2025, 10, 2, 5, 40, 35), 'result': '0.055765434016933804', 'result_long': None, 'result_double': None}] Qualite : 0.055765434016933804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27382455 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27382455_02-10-2025_05_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27382455 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27382455_02-10-2025_05_40_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382473, 'pht': 3726}}" where mtr_portfolio_id = 27382455 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27382455 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912991, 0.055765434016933804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27382455_02-10-2025_05_40_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382462, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382473, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27382890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817049, 'mtr_portfolio_id': 27382890, 'created_at': datetime.datetime(2025, 10, 2, 5, 41, 6), 'result': '0.05617742493750273', 'result_long': None, 'result_double': None}] Qualite : 0.05617742493750273 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27382890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27382890_02-10-2025_05_41_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27382890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27382890_02-10-2025_05_41_09.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382952, 'pht': 3726}}" where mtr_portfolio_id = 27382890 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27382890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912992, 0.05617742493750273, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27382890_02-10-2025_05_41_09.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27382941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27382942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27382943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27382944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27382945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27382946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27382947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27382948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27382949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27382950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27382951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27382952, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27384322 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817050, 'mtr_portfolio_id': 27384322, 'created_at': datetime.datetime(2025, 10, 2, 5, 41, 33), 'result': '0.056190374737689314', 'result_long': None, 'result_double': None}] Qualite : 0.056190374737689314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27384322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384322_02-10-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27384322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384322_02-10-2025_05_41_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27384330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384339, 'pht': 3726}}" where mtr_portfolio_id = 27384322 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27384322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912993, 0.056190374737689314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384322_02-10-2025_05_41_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27384330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384339, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27384680 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817051, 'mtr_portfolio_id': 27384680, 'created_at': datetime.datetime(2025, 10, 2, 5, 42, 4), 'result': '0.027792684796642698', 'result_long': None, 'result_double': None}] Qualite : 0.027792684796642698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27384680 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384680_02-10-2025_05_42_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27384680 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384680_02-10-2025_05_42_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27384689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384693, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384697, 'pht': 3726}}" where mtr_portfolio_id = 27384680 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27384680 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912994, 0.027792684796642698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384680_02-10-2025_05_42_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384687, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27384689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384693, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27384953 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817052, 'mtr_portfolio_id': 27384953, 'created_at': datetime.datetime(2025, 10, 2, 5, 42, 31), 'result': '0.04024770483613472', 'result_long': None, 'result_double': None}] Qualite : 0.04024770483613472 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27384953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384953_02-10-2025_05_42_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27384953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384953_02-10-2025_05_42_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27384965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384976, 'pht': 3726}}" where mtr_portfolio_id = 27384953 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27384953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912995, 0.04024770483613472, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27384953_02-10-2025_05_42_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27384965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27384966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27384967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27384968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27384969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27384970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27384971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27384972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27384973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27384974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27384975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27384976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27385199 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817053, 'mtr_portfolio_id': 27385199, 'created_at': datetime.datetime(2025, 10, 2, 5, 43, 31), 'result': '0.0676096867909531', 'result_long': None, 'result_double': None}] Qualite : 0.0676096867909531 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27385199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385199_02-10-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27385199 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385199_02-10-2025_05_43_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385223, 'pht': 3726}}" where mtr_portfolio_id = 27385199 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27385199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912996, 0.0676096867909531, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385199_02-10-2025_05_43_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385212, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385216, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27385566 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817054, 'mtr_portfolio_id': 27385566, 'created_at': datetime.datetime(2025, 10, 2, 5, 44, 3), 'result': '0.08794878679382613', 'result_long': None, 'result_double': None}] Qualite : 0.08794878679382613 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27385566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385566_02-10-2025_05_44_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27385566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385566_02-10-2025_05_44_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385627, 'pht': 3726}}" where mtr_portfolio_id = 27385566 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27385566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912997, 0.08794878679382613, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385566_02-10-2025_05_44_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385627, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27385977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817055, 'mtr_portfolio_id': 27385977, 'created_at': datetime.datetime(2025, 10, 2, 5, 44, 34), 'result': '0.04832743590668763', 'result_long': None, 'result_double': None}] Qualite : 0.04832743590668763 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27385977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385977_02-10-2025_05_44_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27385977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385977_02-10-2025_05_44_39.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385994, 'pht': 3726}}" where mtr_portfolio_id = 27385977 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27385977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912998, 0.04832743590668763, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27385977_02-10-2025_05_44_39.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27385983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27385984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27385985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27385986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27385987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27385988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27385989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27385990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27385991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27385992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27385993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27385994, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27386362 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817056, 'mtr_portfolio_id': 27386362, 'created_at': datetime.datetime(2025, 10, 2, 5, 45, 28), 'result': '0.06747393942254916', 'result_long': None, 'result_double': None}] Qualite : 0.06747393942254916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27386362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27386362_02-10-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27386362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27386362_02-10-2025_05_45_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27386401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27386402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27386403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27386404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27386405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27386406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27386407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27386408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27386409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27386410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27386411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27386412, 'pht': 3726}}" where mtr_portfolio_id = 27386362 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27386362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15912999, 0.06747393942254916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27386362_02-10-2025_05_45_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27386401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27386402, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27386403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27386404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27386405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27386406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27386407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27386408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27386409, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27386410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27386411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27386412, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27386738 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817057, 'mtr_portfolio_id': 27386738, 'created_at': datetime.datetime(2025, 10, 2, 5, 46, 1), 'result': '0.055333124720535906', 'result_long': None, 'result_double': None}] Qualite : 0.055333124720535906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27386738 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27386738_02-10-2025_05_46_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27386738 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27386738_02-10-2025_05_46_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27386750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27386751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27386752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27386753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27386754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27386755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27386756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27386757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27386758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27386760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27386761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27386762, 'pht': 3726}}" where mtr_portfolio_id = 27386738 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27386738 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913000, 0.055333124720535906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27386738_02-10-2025_05_46_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27386750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27386751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27386752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27386753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27386754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27386755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27386756, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27386757, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27386758, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27386760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27386761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27386762, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27387203 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817058, 'mtr_portfolio_id': 27387203, 'created_at': datetime.datetime(2025, 10, 2, 5, 46, 4), 'result': '0.08042608452192078', 'result_long': None, 'result_double': None}] Qualite : 0.08042608452192078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27387203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27387203_02-10-2025_05_46_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27387203 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27387203_02-10-2025_05_46_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27387269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27387270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27387271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27387272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27387273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27387274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27387276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27387277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27387278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27387279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27387280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27387281, 'pht': 3726}}" where mtr_portfolio_id = 27387203 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27387203 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913001, 0.08042608452192078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27387203_02-10-2025_05_46_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27387269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27387270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27387271, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27387272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27387273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27387274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27387276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27387277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27387278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27387279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27387280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27387281, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27387984 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817059, 'mtr_portfolio_id': 27387984, 'created_at': datetime.datetime(2025, 10, 2, 5, 46, 35), 'result': '0.053115255048682086', 'result_long': None, 'result_double': None}] Qualite : 0.053115255048682086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27387984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27387984_02-10-2025_05_46_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27387984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27387984_02-10-2025_05_46_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27388002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27388003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27388004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27388005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27388006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27388019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27388020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27388021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27388022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27388023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27388024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27388025, 'pht': 3726}}" where mtr_portfolio_id = 27387984 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27387984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913002, 0.053115255048682086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27387984_02-10-2025_05_46_38.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27388002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27388003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27388004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27388005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27388006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27388019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27388020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27388021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27388022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27388023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27388024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27388025, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27388759 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817060, 'mtr_portfolio_id': 27388759, 'created_at': datetime.datetime(2025, 10, 2, 5, 47, 35), 'result': '0.029221342880138702', 'result_long': None, 'result_double': None}] Qualite : 0.029221342880138702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27388759 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27388759_02-10-2025_05_47_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27388759 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27388759_02-10-2025_05_47_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27388801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27388802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27388803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27388804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27388805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27388806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27388807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27388808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27388809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27388810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27388811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27388812, 'pht': 3726}}" where mtr_portfolio_id = 27388759 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27388759 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913003, 0.029221342880138702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27388759_02-10-2025_05_47_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27388801, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27388802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27388803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27388804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27388805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27388806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27388807, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27388808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27388809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27388810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27388811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27388812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27389340 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817061, 'mtr_portfolio_id': 27389340, 'created_at': datetime.datetime(2025, 10, 2, 5, 48, 1), 'result': '0.06466623987557402', 'result_long': None, 'result_double': None}] Qualite : 0.06466623987557402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27389340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27389340_02-10-2025_05_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27389340 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27389340_02-10-2025_05_48_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27389377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27389378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27389379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27389380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27389381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27389382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27389383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27389384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27389385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27389386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27389387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27389388, 'pht': 3726}}" where mtr_portfolio_id = 27389340 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27389340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913004, 0.06466623987557402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27389340_02-10-2025_05_48_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27389377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27389378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27389379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27389380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27389381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27389382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27389383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27389384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27389385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27389386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27389387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27389388, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27390105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817062, 'mtr_portfolio_id': 27390105, 'created_at': datetime.datetime(2025, 10, 2, 5, 48, 31), 'result': '0.045229990440435554', 'result_long': None, 'result_double': None}] Qualite : 0.045229990440435554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27390105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27390105_02-10-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27390105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27390105_02-10-2025_05_48_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27390121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27390122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27390123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27390124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27390125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27390126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27390127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27390128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27390129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27390130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27390131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27390132, 'pht': 3726}}" where mtr_portfolio_id = 27390105 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27390105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913005, 0.045229990440435554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27390105_02-10-2025_05_48_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27390121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27390122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27390123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27390124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27390125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27390126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27390127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27390128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27390129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27390130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27390131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27390132, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27390791 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817063, 'mtr_portfolio_id': 27390791, 'created_at': datetime.datetime(2025, 10, 2, 5, 49, 59), 'result': '0.06118962349525102', 'result_long': None, 'result_double': None}] Qualite : 0.06118962349525102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27390791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27390791_02-10-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27390791 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27390791_02-10-2025_05_50_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27390832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27390833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27390834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27390835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27390836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27390837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27390838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27390839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27390840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27390841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27390842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27390843, 'pht': 3726}}" where mtr_portfolio_id = 27390791 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27390791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913006, 0.06118962349525102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27390791_02-10-2025_05_50_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27390832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27390833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27390834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27390835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27390836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27390837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27390838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27390839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27390840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27390841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27390842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27390843, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27391355 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817064, 'mtr_portfolio_id': 27391355, 'created_at': datetime.datetime(2025, 10, 2, 5, 50, 34), 'result': '0.047111764182868034', 'result_long': None, 'result_double': None}] Qualite : 0.047111764182868034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27391355 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27391355_02-10-2025_05_50_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27391355 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27391355_02-10-2025_05_50_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27391363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27391364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27391365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27391366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27391367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27391368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27391369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27391370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27391371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27391372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27391373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27391374, 'pht': 3726}}" where mtr_portfolio_id = 27391355 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27391355 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913007, 0.047111764182868034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27391355_02-10-2025_05_50_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27391363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27391364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27391365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27391366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27391367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27391368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27391369, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27391370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27391371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27391372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27391373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27391374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27392176 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817065, 'mtr_portfolio_id': 27392176, 'created_at': datetime.datetime(2025, 10, 2, 5, 51, 5), 'result': '0.2881537021674304', 'result_long': None, 'result_double': None}] Qualite : 0.2881537021674304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27392176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27392176_02-10-2025_05_51_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27392176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27392176_02-10-2025_05_51_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27392204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27392205, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27392206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27392207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27392208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27392209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27392210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27392211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27392212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27392213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27392214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27392215, 'pht': 3726}}" where mtr_portfolio_id = 27392176 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27392176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913008, 0.2881537021674304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27392176_02-10-2025_05_51_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27392204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27392205, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27392206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27392207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27392208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27392209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27392210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27392211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27392212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27392213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27392214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27392215, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27394659 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817067, 'mtr_portfolio_id': 27394659, 'created_at': datetime.datetime(2025, 10, 2, 5, 51, 31), 'result': '0.053429043929547525', 'result_long': None, 'result_double': None}] Qualite : 0.053429043929547525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27394659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27394659_02-10-2025_05_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27394659 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27394659_02-10-2025_05_51_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27394666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27394667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27394668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27394669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27394671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27394672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27394673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27394674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27394675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27394676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27394677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27394678, 'pht': 3726}}" where mtr_portfolio_id = 27394659 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27394659 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913009, 0.053429043929547525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27394659_02-10-2025_05_51_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27394666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27394667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27394668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27394669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27394671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27394672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27394673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27394674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27394675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27394676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27394677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27394678, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27395242 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817068, 'mtr_portfolio_id': 27395242, 'created_at': datetime.datetime(2025, 10, 2, 5, 52, 5), 'result': '0.042913388907675626', 'result_long': None, 'result_double': None}] Qualite : 0.042913388907675626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27395242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27395242_02-10-2025_05_52_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27395242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27395242_02-10-2025_05_52_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27395261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27395262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27395263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27395264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27395265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27395266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27395267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27395268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27395269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27395270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27395271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27395272, 'pht': 3726}}" where mtr_portfolio_id = 27395242 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27395242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913010, 0.042913388907675626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27395242_02-10-2025_05_52_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27395261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27395262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27395263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27395264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27395265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27395266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27395267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27395268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27395269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27395270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27395271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27395272, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27395913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817069, 'mtr_portfolio_id': 27395913, 'created_at': datetime.datetime(2025, 10, 2, 5, 52, 31), 'result': '0.0432961144935905', 'result_long': None, 'result_double': None}] Qualite : 0.0432961144935905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27395913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27395913_02-10-2025_05_52_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27395913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27395913_02-10-2025_05_52_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27395922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27395923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27395925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27395926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27395927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27395928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27395929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27395931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27395932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27395933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27395934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27395935, 'pht': 3726}}" where mtr_portfolio_id = 27395913 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27395913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913011, 0.0432961144935905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27395913_02-10-2025_05_52_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27395922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27395923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27395925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27395926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27395927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27395928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27395929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27395931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27395932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27395933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27395934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27395935, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27396429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817070, 'mtr_portfolio_id': 27396429, 'created_at': datetime.datetime(2025, 10, 2, 5, 53, 33), 'result': '0.04877408749918697', 'result_long': None, 'result_double': None}] Qualite : 0.04877408749918697 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27396429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27396429_02-10-2025_05_53_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27396429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27396429_02-10-2025_05_53_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27396465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27396466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27396467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27396468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27396469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27396470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27396471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27396472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27396473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27396474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27396475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27396476, 'pht': 3726}}" where mtr_portfolio_id = 27396429 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27396429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913012, 0.04877408749918697, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27396429_02-10-2025_05_53_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27396465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27396466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27396467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27396468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27396469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27396470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27396471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27396472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27396473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27396474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27396475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27396476, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27397076 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817071, 'mtr_portfolio_id': 27397076, 'created_at': datetime.datetime(2025, 10, 2, 5, 54, 4), 'result': '0.028321593442896153', 'result_long': None, 'result_double': None}] Qualite : 0.028321593442896153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27397076 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27397076_02-10-2025_05_54_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27397076 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27397076_02-10-2025_05_54_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27397091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27397092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27397093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27397094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27397095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27397096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27397097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27397098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27397099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27397100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27397101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27397102, 'pht': 3726}}" where mtr_portfolio_id = 27397076 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27397076 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913013, 0.028321593442896153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27397076_02-10-2025_05_54_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27397091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27397092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27397093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27397094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27397095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27397096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27397097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27397098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27397099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27397100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27397101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27397102, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27397673 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817072, 'mtr_portfolio_id': 27397673, 'created_at': datetime.datetime(2025, 10, 2, 5, 54, 31), 'result': '0.05730718201891267', 'result_long': None, 'result_double': None}] Qualite : 0.05730718201891267 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27397673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27397673_02-10-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27397673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27397673_02-10-2025_05_54_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27397682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27397683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27397684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27397685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27397686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27397687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27397688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27397689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27397690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27397691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27397692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27397693, 'pht': 3726}}" where mtr_portfolio_id = 27397673 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27397673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913014, 0.05730718201891267, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27397673_02-10-2025_05_54_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27397682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27397683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27397684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27397685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27397686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27397687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27397688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27397689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27397690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27397691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27397692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27397693, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27398369 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817073, 'mtr_portfolio_id': 27398369, 'created_at': datetime.datetime(2025, 10, 2, 5, 55, 31), 'result': '0.2928440863995237', 'result_long': None, 'result_double': None}] Qualite : 0.2928440863995237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27398369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27398369_02-10-2025_05_55_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27398369 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27398369_02-10-2025_05_55_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27398446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27398447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27398448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27398449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27398450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27398451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27398452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27398453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27398454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27398455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27398456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27398457, 'pht': 3726}}" where mtr_portfolio_id = 27398369 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27398369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913015, 0.2928440863995237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27398369_02-10-2025_05_55_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27398446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27398447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27398448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27398449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27398450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27398451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27398452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27398453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27398454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27398455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27398456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27398457, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27399474 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817075, 'mtr_portfolio_id': 27399474, 'created_at': datetime.datetime(2025, 10, 2, 5, 55, 59), 'result': '0.010339588293553898', 'result_long': None, 'result_double': None}] Qualite : 0.010339588293553898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27399474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27399474_02-10-2025_05_56_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27399474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27399474_02-10-2025_05_56_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27399525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27399528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27399530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27399532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27399533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27399534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27399535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27399536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27399537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27399538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27399539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27399541, 'pht': 3726}}" where mtr_portfolio_id = 27399474 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27399474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913016, 0.010339588293553898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27399474_02-10-2025_05_56_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27399525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27399528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27399530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27399532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27399533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27399534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27399535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27399536, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27399537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27399538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27399539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27399541, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27399974 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817076, 'mtr_portfolio_id': 27399974, 'created_at': datetime.datetime(2025, 10, 2, 5, 56, 4), 'result': '0.01779701073626237', 'result_long': None, 'result_double': None}] Qualite : 0.01779701073626237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27399974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27399974_02-10-2025_05_56_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27399974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27399974_02-10-2025_05_56_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27399989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27399990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27399991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27399992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27399993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27399994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27399995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27399996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27399997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27399998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27399999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27400000, 'pht': 3726}}" where mtr_portfolio_id = 27399974 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27399974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913017, 0.01779701073626237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27399974_02-10-2025_05_56_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27399989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27399990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27399991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27399992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27399993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27399994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27399995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27399996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27399997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27399998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27399999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27400000, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27400780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817077, 'mtr_portfolio_id': 27400780, 'created_at': datetime.datetime(2025, 10, 2, 5, 56, 31), 'result': '0.035026107285278114', 'result_long': None, 'result_double': None}] Qualite : 0.035026107285278114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27400780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27400780_02-10-2025_05_56_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27400780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27400780_02-10-2025_05_56_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27400837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27400838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27400839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27400840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27400841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27400842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27400843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27400844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27400845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27400847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27400848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27400849, 'pht': 3726}}" where mtr_portfolio_id = 27400780 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27400780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913018, 0.035026107285278114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27400780_02-10-2025_05_56_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27400837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27400838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27400839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27400840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27400841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27400842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27400843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27400844, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27400845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27400847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27400848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27400849, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27401557 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817078, 'mtr_portfolio_id': 27401557, 'created_at': datetime.datetime(2025, 10, 2, 5, 57, 33), 'result': '0.06869781155440395', 'result_long': None, 'result_double': None}] Qualite : 0.06869781155440395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27401557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27401557_02-10-2025_05_57_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27401557 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27401557_02-10-2025_05_57_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27401581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27401582, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27401584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27401585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27401586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27401587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27401588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27401589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27401590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27401591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27401592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27401593, 'pht': 3726}}" where mtr_portfolio_id = 27401557 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27401557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913019, 0.06869781155440395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27401557_02-10-2025_05_57_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27401581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27401582, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27401584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27401585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27401586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27401587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27401588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27401589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27401590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27401591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27401592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27401593, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27403901 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817079, 'mtr_portfolio_id': 27403901, 'created_at': datetime.datetime(2025, 10, 2, 5, 58, 3), 'result': '0.08029198381977773', 'result_long': None, 'result_double': None}] Qualite : 0.08029198381977773 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27403901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27403901_02-10-2025_05_58_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27403901 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27403901_02-10-2025_05_58_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27403919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27403920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27403921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27403922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27403923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27403924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27403925, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27403926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27403927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27403928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27403929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27403930, 'pht': 3726}}" where mtr_portfolio_id = 27403901 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27403901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913020, 0.08029198381977773, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27403901_02-10-2025_05_58_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27403919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27403920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27403921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27403922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27403923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27403924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27403925, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27403926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27403927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27403928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27403929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27403930, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27404296 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817080, 'mtr_portfolio_id': 27404296, 'created_at': datetime.datetime(2025, 10, 2, 5, 58, 33), 'result': '0.03809807771953182', 'result_long': None, 'result_double': None}] Qualite : 0.03809807771953182 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27404296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27404296_02-10-2025_05_58_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27404296 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27404296_02-10-2025_05_58_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27404323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27404324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27404325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27404326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27404327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27404328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27404329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27404330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27404331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27404332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27404333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27404334, 'pht': 3726}}" where mtr_portfolio_id = 27404296 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27404296 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913021, 0.03809807771953182, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27404296_02-10-2025_05_58_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27404323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27404324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27404325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27404326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27404327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27404328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27404329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27404330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27404331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27404332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27404333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27404334, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27404682 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817081, 'mtr_portfolio_id': 27404682, 'created_at': datetime.datetime(2025, 10, 2, 5, 59, 31), 'result': '0.06928751971143751', 'result_long': None, 'result_double': None}] Qualite : 0.06928751971143751 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27404682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27404682_02-10-2025_05_59_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27404682 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27404682_02-10-2025_05_59_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27404694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27404695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27404696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27404697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27404698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27404699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27404700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27404701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27404702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27404703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27404704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27404705, 'pht': 3726}}" where mtr_portfolio_id = 27404682 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27404682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913022, 0.06928751971143751, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27404682_02-10-2025_05_59_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27404694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27404695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27404696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27404697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27404698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27404699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27404700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27404701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27404702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27404703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27404704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27404705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27405147 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817082, 'mtr_portfolio_id': 27405147, 'created_at': datetime.datetime(2025, 10, 2, 6, 0, 3), 'result': '0.04933526113984927', 'result_long': None, 'result_double': None}] Qualite : 0.04933526113984927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27405147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405147_02-10-2025_06_00_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27405147 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405147_02-10-2025_06_00_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27405156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405158, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405163, 'pht': 3726}}" where mtr_portfolio_id = 27405147 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27405147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913023, 0.04933526113984927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405147_02-10-2025_06_00_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27405156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405158, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405163, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27405398 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817083, 'mtr_portfolio_id': 27405398, 'created_at': datetime.datetime(2025, 10, 2, 6, 0, 39), 'result': '0.03165839118454378', 'result_long': None, 'result_double': None}] Qualite : 0.03165839118454378 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27405398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405398_02-10-2025_06_00_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27405398 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405398_02-10-2025_06_00_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27405427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405430, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405436, 'pht': 3726}}" where mtr_portfolio_id = 27405398 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27405398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913024, 0.03165839118454378, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405398_02-10-2025_06_00_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27405427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405430, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405436, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27405885 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817084, 'mtr_portfolio_id': 27405885, 'created_at': datetime.datetime(2025, 10, 2, 6, 1, 8), 'result': '0.07251076797354825', 'result_long': None, 'result_double': None}] Qualite : 0.07251076797354825 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27405885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405885_02-10-2025_06_01_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27405885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405885_02-10-2025_06_01_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27405892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405899, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405903, 'pht': 3726}}" where mtr_portfolio_id = 27405885 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27405885 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913025, 0.07251076797354825, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27405885_02-10-2025_06_01_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27405892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27405893, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27405894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27405895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27405896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27405897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27405898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27405899, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27405900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27405901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27405902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27405903, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27406408 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817085, 'mtr_portfolio_id': 27406408, 'created_at': datetime.datetime(2025, 10, 2, 6, 1, 34), 'result': '0.024313089376990445', 'result_long': None, 'result_double': None}] Qualite : 0.024313089376990445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27406408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27406408_02-10-2025_06_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27406408 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27406408_02-10-2025_06_01_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27406441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27406442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27406443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27406444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27406445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27406447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27406448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27406449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27406450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27406451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27406452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27406453, 'pht': 3726}}" where mtr_portfolio_id = 27406408 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27406408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913026, 0.024313089376990445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27406408_02-10-2025_06_01_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27406441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27406442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27406443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27406444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27406445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27406447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27406448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27406449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27406450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27406451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27406452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27406453, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27407294 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817086, 'mtr_portfolio_id': 27407294, 'created_at': datetime.datetime(2025, 10, 2, 6, 2, 8), 'result': '0.03703603953591163', 'result_long': None, 'result_double': None}] Qualite : 0.03703603953591163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27407294 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27407294_02-10-2025_06_02_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27407294 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27407294_02-10-2025_06_02_12.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27407330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27407331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27407332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27407333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27407334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27407335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27407336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27407337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27407338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27407339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27407340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27407341, 'pht': 3726}}" where mtr_portfolio_id = 27407294 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27407294 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913027, 0.03703603953591163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27407294_02-10-2025_06_02_12.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27407330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27407331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27407332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27407333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27407334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27407335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27407336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27407337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27407338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27407339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27407340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27407341, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27407854 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817087, 'mtr_portfolio_id': 27407854, 'created_at': datetime.datetime(2025, 10, 2, 6, 2, 34), 'result': '0.0653052222696463', 'result_long': None, 'result_double': None}] Qualite : 0.0653052222696463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27407854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27407854_02-10-2025_06_02_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27407854 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27407854_02-10-2025_06_02_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27407904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27407905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27407906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27407907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27407908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27407909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27407910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27407911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27407912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27407914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27407915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27407916, 'pht': 3726}}" where mtr_portfolio_id = 27407854 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27407854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913028, 0.0653052222696463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27407854_02-10-2025_06_02_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27407904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27407905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27407906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27407907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27407908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27407909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27407910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27407911, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27407912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27407914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27407915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27407916, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27408403 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817088, 'mtr_portfolio_id': 27408403, 'created_at': datetime.datetime(2025, 10, 2, 6, 3, 34), 'result': '0.09970677044242456', 'result_long': None, 'result_double': None}] Qualite : 0.09970677044242456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27408403 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27408403_02-10-2025_06_03_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27408403 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27408403_02-10-2025_06_03_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27408443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27408444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27408445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27408446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27408447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27408448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27408449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27408450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27408451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27408452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27408453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27408454, 'pht': 3726}}" where mtr_portfolio_id = 27408403 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27408403 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913029, 0.09970677044242456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27408403_02-10-2025_06_03_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27408443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27408444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27408445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27408446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27408447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27408448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27408449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27408450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27408451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27408452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27408453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27408454, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27408924 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817089, 'mtr_portfolio_id': 27408924, 'created_at': datetime.datetime(2025, 10, 2, 6, 4, 3), 'result': '0.0497765083947425', 'result_long': None, 'result_double': None}] Qualite : 0.0497765083947425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27408924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27408924_02-10-2025_06_04_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27408924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27408924_02-10-2025_06_04_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27408959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27408960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27408961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27408963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27408964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27408965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27408966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27408967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27408968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27408969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27408970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27408971, 'pht': 3726}}" where mtr_portfolio_id = 27408924 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27408924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913030, 0.0497765083947425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27408924_02-10-2025_06_04_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27408959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27408960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27408961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27408963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27408964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27408965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27408966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27408967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27408968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27408969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27408970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27408971, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27409726 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817090, 'mtr_portfolio_id': 27409726, 'created_at': datetime.datetime(2025, 10, 2, 6, 4, 31), 'result': '0.03265141249225925', 'result_long': None, 'result_double': None}] Qualite : 0.03265141249225925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27409726 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27409726_02-10-2025_06_04_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27409726 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27409726_02-10-2025_06_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27409732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27409733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27409734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27409735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27409736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27409737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27409738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27409739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27409740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27409741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27409742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27409743, 'pht': 3726}}" where mtr_portfolio_id = 27409726 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27409726 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913031, 0.03265141249225925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27409726_02-10-2025_06_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27409732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27409733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27409734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27409735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27409736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27409737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27409738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27409739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27409740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27409741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27409742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27409743, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27410197 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817091, 'mtr_portfolio_id': 27410197, 'created_at': datetime.datetime(2025, 10, 2, 6, 5, 30), 'result': '0.052626419988787754', 'result_long': None, 'result_double': None}] Qualite : 0.052626419988787754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27410197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27410197_02-10-2025_06_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27410197 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27410197_02-10-2025_06_05_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27410222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27410223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27410224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27410225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27410226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27410227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27410228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27410229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27410230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27410231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27410232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27410233, 'pht': 3726}}" where mtr_portfolio_id = 27410197 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27410197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913032, 0.052626419988787754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27410197_02-10-2025_06_05_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27410222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27410223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27410224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27410225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27410226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27410227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27410228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27410229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27410230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27410231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27410232, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27410233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27410821 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817092, 'mtr_portfolio_id': 27410821, 'created_at': datetime.datetime(2025, 10, 2, 6, 5, 58), 'result': '0.06384453310397323', 'result_long': None, 'result_double': None}] Qualite : 0.06384453310397323 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27410821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27410821_02-10-2025_06_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27410821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27410821_02-10-2025_06_06_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27410835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27410836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27410837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27410838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27410839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27410840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27410841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27410842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27410843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27410844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27410845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27410846, 'pht': 3726}}" where mtr_portfolio_id = 27410821 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27410821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913033, 0.06384453310397323, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27410821_02-10-2025_06_06_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27410835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27410836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27410837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27410838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27410839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27410840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27410841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27410842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27410843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27410844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27410845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27410846, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27411483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817093, 'mtr_portfolio_id': 27411483, 'created_at': datetime.datetime(2025, 10, 2, 6, 6, 6), 'result': '0.05863869418763466', 'result_long': None, 'result_double': None}] Qualite : 0.05863869418763466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27411483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27411483_02-10-2025_06_06_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27411483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27411483_02-10-2025_06_06_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27411507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27411508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27411509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27411510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27411511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27411512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27411513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27411514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27411515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27411517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27411518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27411519, 'pht': 3726}}" where mtr_portfolio_id = 27411483 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27411483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913034, 0.05863869418763466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27411483_02-10-2025_06_06_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27411507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27411508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27411509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27411510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27411511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27411512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27411513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27411514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27411515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27411517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27411518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27411519, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27412214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817094, 'mtr_portfolio_id': 27412214, 'created_at': datetime.datetime(2025, 10, 2, 6, 6, 36), 'result': '0.049530308365495296', 'result_long': None, 'result_double': None}] Qualite : 0.049530308365495296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27412214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27412214_02-10-2025_06_06_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27412214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27412214_02-10-2025_06_06_39.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27412219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27412220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27412221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27412223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27412224, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27412225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27412226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27412227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27412228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27412229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27412230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27412231, 'pht': 3726}}" where mtr_portfolio_id = 27412214 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27412214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913035, 0.049530308365495296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27412214_02-10-2025_06_06_39.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27412219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27412220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27412221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27412223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27412224, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27412225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27412226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27412227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27412228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27412229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27412230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27412231, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27413207 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817095, 'mtr_portfolio_id': 27413207, 'created_at': datetime.datetime(2025, 10, 2, 6, 7, 34), 'result': '0.04247926316081329', 'result_long': None, 'result_double': None}] Qualite : 0.04247926316081329 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27413207 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27413207_02-10-2025_06_07_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27413207 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27413207_02-10-2025_06_07_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27413212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27413213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27413214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27413215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27413216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27413217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27413218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27413219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27413220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27413221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27413222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27413223, 'pht': 3726}}" where mtr_portfolio_id = 27413207 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27413207 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913036, 0.04247926316081329, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27413207_02-10-2025_06_07_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27413212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27413213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27413214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27413215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27413216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27413217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27413218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27413219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27413220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27413221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27413222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27413223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27413745 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817096, 'mtr_portfolio_id': 27413745, 'created_at': datetime.datetime(2025, 10, 2, 6, 8, 5), 'result': '0.05981313206174758', 'result_long': None, 'result_double': None}] Qualite : 0.05981313206174758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27413745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27413745_02-10-2025_06_08_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27413745 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27413745_02-10-2025_06_08_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27413773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27413774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27413775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27413776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27413777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27413778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27413779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27413780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27413781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27413782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27413783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27413784, 'pht': 3726}}" where mtr_portfolio_id = 27413745 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27413745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913037, 0.05981313206174758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27413745_02-10-2025_06_08_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27413773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27413774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27413775, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27413776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27413777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27413778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27413779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27413780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27413781, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27413782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27413783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27413784, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27414258 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817097, 'mtr_portfolio_id': 27414258, 'created_at': datetime.datetime(2025, 10, 2, 6, 8, 34), 'result': '0.0398757564487015', 'result_long': None, 'result_double': None}] Qualite : 0.0398757564487015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27414258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27414258_02-10-2025_06_08_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27414258 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27414258_02-10-2025_06_08_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27414301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27414303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27414304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27414305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27414316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27414319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27414320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27414321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27414322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27414323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27414324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27414325, 'pht': 3726}}" where mtr_portfolio_id = 27414258 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27414258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913038, 0.0398757564487015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27414258_02-10-2025_06_08_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27414301, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27414303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27414304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27414305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27414316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27414319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27414320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27414321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27414322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27414323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27414324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27414325, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27415295 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817098, 'mtr_portfolio_id': 27415295, 'created_at': datetime.datetime(2025, 10, 2, 6, 9, 34), 'result': '0.031208226985924938', 'result_long': None, 'result_double': None}] Qualite : 0.031208226985924938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27415295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415295_02-10-2025_06_09_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27415295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415295_02-10-2025_06_09_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27415332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415333, 'pht': 3726}}" where mtr_portfolio_id = 27415295 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27415295 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913039, 0.031208226985924938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415295_02-10-2025_06_09_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27415332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415333, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27415415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817099, 'mtr_portfolio_id': 27415415, 'created_at': datetime.datetime(2025, 10, 2, 6, 10, 3), 'result': '0.036406399592369666', 'result_long': None, 'result_double': None}] Qualite : 0.036406399592369666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27415415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415415_02-10-2025_06_10_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27415415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415415_02-10-2025_06_10_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27415458, 'pht': 3726}}" where mtr_portfolio_id = 27415415 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27415415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913040, 0.036406399592369666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415415_02-10-2025_06_10_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27415458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27415818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817100, 'mtr_portfolio_id': 27415818, 'created_at': datetime.datetime(2025, 10, 2, 6, 10, 31), 'result': '0.06688901366135828', 'result_long': None, 'result_double': None}] Qualite : 0.06688901366135828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27415818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415818_02-10-2025_06_10_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27415818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415818_02-10-2025_06_10_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27415853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415864, 'pht': 3726}}" where mtr_portfolio_id = 27415818 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27415818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913041, 0.06688901366135828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27415818_02-10-2025_06_10_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27415853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27415854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27415855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27415856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27415857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27415858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27415859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27415860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27415861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27415862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27415863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27415864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27416157 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817101, 'mtr_portfolio_id': 27416157, 'created_at': datetime.datetime(2025, 10, 2, 6, 11, 6), 'result': '0.046951037520742055', 'result_long': None, 'result_double': None}] Qualite : 0.046951037520742055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27416157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27416157_02-10-2025_06_11_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27416157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27416157_02-10-2025_06_11_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27416158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27416159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27416160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27416161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27416162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27416163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27416164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27416165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27416166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27416167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27416168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27416169, 'pht': 3726}}" where mtr_portfolio_id = 27416157 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27416157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913042, 0.046951037520742055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27416157_02-10-2025_06_11_09.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27416158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27416159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27416160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27416161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27416162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27416163, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27416164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27416165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27416166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27416167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27416168, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27416169, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27416890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817102, 'mtr_portfolio_id': 27416890, 'created_at': datetime.datetime(2025, 10, 2, 6, 11, 33), 'result': '0.07318191560408313', 'result_long': None, 'result_double': None}] Qualite : 0.07318191560408313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27416890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27416890_02-10-2025_06_11_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27416890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27416890_02-10-2025_06_11_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27416916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27416917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27416918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27416919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27416920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27416921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27416922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27416923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27416924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27416925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27416926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27416927, 'pht': 3726}}" where mtr_portfolio_id = 27416890 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27416890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913043, 0.07318191560408313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27416890_02-10-2025_06_11_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27416916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27416917, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27416918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27416919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27416920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27416921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27416922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27416923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27416924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27416925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27416926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27416927, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27417155 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817103, 'mtr_portfolio_id': 27417155, 'created_at': datetime.datetime(2025, 10, 2, 6, 12, 3), 'result': '0.06640186164839208', 'result_long': None, 'result_double': None}] Qualite : 0.06640186164839208 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27417155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27417155_02-10-2025_06_12_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27417155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27417155_02-10-2025_06_12_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27417168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27417169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27417170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27417172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27417173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27417174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27417175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27417176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27417177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27417178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27417179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27417180, 'pht': 3726}}" where mtr_portfolio_id = 27417155 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27417155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913044, 0.06640186164839208, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27417155_02-10-2025_06_12_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27417168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27417169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27417170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27417172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27417173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27417174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27417175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27417176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27417177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27417178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27417179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27417180, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27417946 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817104, 'mtr_portfolio_id': 27417946, 'created_at': datetime.datetime(2025, 10, 2, 6, 12, 34), 'result': '0.1173660163343741', 'result_long': None, 'result_double': None}] Qualite : 0.1173660163343741 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27417946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27417946_02-10-2025_06_12_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27417946 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27417946_02-10-2025_06_12_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27417986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27417987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27417988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27417989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27417990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27417991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27417992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27417993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27417994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27417995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27417996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27417997, 'pht': 3726}}" where mtr_portfolio_id = 27417946 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27417946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913045, 0.1173660163343741, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27417946_02-10-2025_06_12_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27417986, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27417987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27417988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27417989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27417990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27417991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27417992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27417993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27417994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27417995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27417996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27417997, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27418346 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817105, 'mtr_portfolio_id': 27418346, 'created_at': datetime.datetime(2025, 10, 2, 6, 13, 32), 'result': '0.043606325072614256', 'result_long': None, 'result_double': None}] Qualite : 0.043606325072614256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27418346 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418346_02-10-2025_06_13_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27418346 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418346_02-10-2025_06_13_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27418370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27418371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27418372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27418373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27418374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27418375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27418376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27418377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27418378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27418379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27418380, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27418381, 'pht': 3726}}" where mtr_portfolio_id = 27418346 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27418346 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913046, 0.043606325072614256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418346_02-10-2025_06_13_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27418370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27418371, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27418372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27418373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27418374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27418375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27418376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27418377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27418378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27418379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27418380, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27418381, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27418801 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3817106, 'mtr_portfolio_id': 27418801, 'created_at': datetime.datetime(2025, 10, 2, 6, 14, 4), 'result': '0.04991548765416968', 'result_long': None, 'result_double': None}] Qualite : 0.04991548765416968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27418801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418801_02-10-2025_06_14_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27418801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418801_02-10-2025_06_14_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27418815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27418816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27418817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27418830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27418831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27418832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27418833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27418834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27418835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27418836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27418837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27418838, 'pht': 3726}}" where mtr_portfolio_id = 27418801 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27418801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913047, 0.04991548765416968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27418801_02-10-2025_06_14_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27418815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27418816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27418817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27418830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27418831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27418832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27418833, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27418834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27418835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27418836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27418837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27418838, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27419316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3812314, 'mtr_portfolio_id': 27419316, 'created_at': datetime.datetime(2025, 10, 1, 22, 3, 5), 'result': '0.0643058152402522', 'result_long': None, 'result_double': None}] Qualite : 0.0643058152402522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27419316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27419316_01-10-2025_22_03_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27419316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27419316_01-10-2025_22_03_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27419322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27419323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27419324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27419325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27419326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27419327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27419328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27419329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27419330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27419331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27419332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27419333, 'pht': 3726}}" where mtr_portfolio_id = 27419316 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27419316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913048, 0.0643058152402522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27419316_01-10-2025_22_03_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27419322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27419323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27419324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27419325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27419326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27419327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27419328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27419329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27419330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27419331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27419332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27419333, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27419706 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3812464, 'mtr_portfolio_id': 27419706, 'created_at': datetime.datetime(2025, 10, 1, 22, 18, 59), 'result': '0.04385587233258899', 'result_long': None, 'result_double': None}] Qualite : 0.04385587233258899 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27419706 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27419706_01-10-2025_22_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27419706 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27419706_01-10-2025_22_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27419730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27419731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27419732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27419733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27419734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27419735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27419736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27419737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27419750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27419751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27419752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27419753, 'pht': 3726}}" where mtr_portfolio_id = 27419706 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27419706 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913049, 0.04385587233258899, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27419706_01-10-2025_22_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27419730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27419731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27419732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27419733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27419734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27419735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27419736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27419737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27419750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27419751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27419752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27419753, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27420225 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3812550, 'mtr_portfolio_id': 27420225, 'created_at': datetime.datetime(2025, 10, 1, 22, 32, 59), 'result': '0.038563394933404264', 'result_long': None, 'result_double': None}] Qualite : 0.038563394933404264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27420225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27420225_01-10-2025_22_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27420225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27420225_01-10-2025_22_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27420237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27420238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27420239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27420240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27420241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27420242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27420243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27420244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27420245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27420246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27420247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27420248, 'pht': 3726}}" where mtr_portfolio_id = 27420225 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27420225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913050, 0.038563394933404264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27420225_01-10-2025_22_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27420237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27420238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27420239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27420240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27420241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27420242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27420243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27420244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27420245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27420246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27420247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27420248, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27420770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3812643, 'mtr_portfolio_id': 27420770, 'created_at': datetime.datetime(2025, 10, 1, 22, 47, 4), 'result': '0.05484499382677128', 'result_long': None, 'result_double': None}] Qualite : 0.05484499382677128 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27420770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27420770_01-10-2025_22_47_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27420770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27420770_01-10-2025_22_47_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27420795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27420796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27420797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27420798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27420799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27420800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27420801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27420802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27420803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27420804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27420805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27420806, 'pht': 3726}}" where mtr_portfolio_id = 27420770 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27420770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913051, 0.05484499382677128, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27420770_01-10-2025_22_47_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27420795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27420796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27420797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27420798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27420799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27420800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27420801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27420802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27420803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27420804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27420805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27420806, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27421265 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3812756, 'mtr_portfolio_id': 27421265, 'created_at': datetime.datetime(2025, 10, 1, 23, 5, 6), 'result': '0.04307039134013241', 'result_long': None, 'result_double': None}] Qualite : 0.04307039134013241 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27421265 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27421265_01-10-2025_23_05_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27421265 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27421265_01-10-2025_23_05_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27421277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27421278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27421279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27421280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27421281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27421282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27421283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27421284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27421285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27421286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27421287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27421288, 'pht': 3726}}" where mtr_portfolio_id = 27421265 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27421265 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913052, 0.04307039134013241, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27421265_01-10-2025_23_05_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27421277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27421278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27421279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27421280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27421281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27421282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27421283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27421284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27421285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27421286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27421287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27421288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27421942 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3812996, 'mtr_portfolio_id': 27421942, 'created_at': datetime.datetime(2025, 10, 1, 23, 17, 1), 'result': '0.06039756481241275', 'result_long': None, 'result_double': None}] Qualite : 0.06039756481241275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27421942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27421942_01-10-2025_23_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27421942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27421942_01-10-2025_23_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27421963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27421964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27421965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27421966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27421967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27421968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27421969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27421970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27421971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27421972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27421973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27421974, 'pht': 3726}}" where mtr_portfolio_id = 27421942 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27421942 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913053, 0.06039756481241275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27421942_01-10-2025_23_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27421963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27421964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27421965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27421966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27421967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27421968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27421969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27421970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27421971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27421972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27421973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27421974, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27422618 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3813244, 'mtr_portfolio_id': 27422618, 'created_at': datetime.datetime(2025, 10, 1, 23, 36, 58), 'result': '0.07397453151566415', 'result_long': None, 'result_double': None}] Qualite : 0.07397453151566415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27422618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27422618_01-10-2025_23_36_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27422618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27422618_01-10-2025_23_36_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27422639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27422647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27422649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27422651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27422654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27422656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27422658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27422661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27422676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27422678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27422680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27422682, 'pht': 3726}}" where mtr_portfolio_id = 27422618 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27422618 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913054, 0.07397453151566415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27422618_01-10-2025_23_36_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27422639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27422647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27422649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27422651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27422654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27422656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27422658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27422661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27422676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27422678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27422680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27422682, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27423604 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3813623, 'mtr_portfolio_id': 27423604, 'created_at': datetime.datetime(2025, 10, 1, 23, 47, 4), 'result': '0.021662285023876245', 'result_long': None, 'result_double': None}] Qualite : 0.021662285023876245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27423604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27423604_01-10-2025_23_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27423604 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27423604_01-10-2025_23_47_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27423612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27423613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27423614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27423616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27423617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27423618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27423619, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27423620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27423621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27423622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27423623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27423624, 'pht': 3726}}" where mtr_portfolio_id = 27423604 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27423604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913055, 0.021662285023876245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27423604_01-10-2025_23_47_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27423612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27423613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27423614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27423616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27423617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27423618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27423619, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27423620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27423621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27423622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27423623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27423624, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27424087 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3813777, 'mtr_portfolio_id': 27424087, 'created_at': datetime.datetime(2025, 10, 2, 4, 41, 5), 'result': '0.08744666458337165', 'result_long': None, 'result_double': None}] Qualite : 0.08744666458337165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27424087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27424087_02-10-2025_04_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27424087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27424087_02-10-2025_04_41_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424104, 'pht': 3726}}" where mtr_portfolio_id = 27424087 and dashboard_run_id = 2386575 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27424087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15913056, 0.08744666458337165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27424087_02-10-2025_04_41_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424104, '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 (27375839,27376525,27376906,27377191,27378456,27378717,27378994,27379410,27379907,27380372,27380848,27381440,27381997,27382455,27382890,27384322,27384680,27384953,27385199,27385566,27385977,27386362,27386738,27387203,27387984,27388759,27389340,27390105,27390791,27391355,27392176,27394659,27395242,27395913,27396429,27397076,27397673,27398369,27399474,27399974,27400780,27401557,27403901,27404296,27404682,27405147,27405398,27405885,27406408,27407294,27407854,27408403,27408924,27409726,27410197,27410821,27411483,27412214,27413207,27413745,27414258,27415295,27415415,27415818,27416157,27416890,27417155,27417946,27418346,27418801,27419316,27419706,27420225,27420770,27421265,27421942,27422618,27423604,27424087) result : ((1387049350,), (1387051024,), (1387051025,), (1387051027,), (1387051041,), (1387051044,), (1387051049,), (1387051073,), (1387051318,), (1387051321,), (1387051333,), (1387051551,), (1387051617,), (1387051623,), (1387052038,), (1387052041,), (1387052204,), (1387052206,), (1387052208,), (1387052211,), (1387052272,), (1387052289,), (1387052294,), (1387052297,), (1387052453,), (1387052457,), (1387052478,), (1387052500,), (1387052502,), (1387052504,), (1387052768,), (1387052851,), (1387052908,), (1387052905,), (1387052965,), (1387052985,), (1387052989,), (1387053194,), (1387053439,), (1387053472,), (1387053474,), (1387053485,), (1387053491,), (1387053509,), (1387053515,), (1387053518,), (1387053530,), (1387053533,), (1387053536,), (1387053540,), (1387053543,), (1387053588,), (1387053595,), (1387053599,), (1387053601,), (1387053604,), (1387053618,), (1387053619,), (1387053620,), (1387053622,), (1387053626,), (1387053640,), (1387053653,), (1387053656,), (1387053660,), (1387053664,), (1387053666,), (1387053670,), (1387053673,), (1387053674,), (1387053684,), (1387053688,), (1387053691,), (1387053694,), (1387053726,), (1387053727,), (1387053738,), (1387053753,), (1387053756,), (1387053761,), (1387053767,), (1387053771,), (1387053815,), (1387053836,), (1387053839,), (1387053842,), (1387053856,), (1387053864,), (1387053868,), (1387053901,), (1387053903,), (1387053905,), (1387053908,), (1387053911,), (1387053914,), (1387053926,), (1387053928,), (1387053929,), (1387053932,), (1387053935,), (1387053938,), (1387053962,), (1387053965,), (1387053968,), (1387053971,), (1387054013,), (1387054047,), (1387054049,), (1387054069,), (1387054083,), (1387053999,), (1387054002,), (1387054003,), (1387054006,), (1387054009,), (1387054089,), (1387054091,), (1387054095,), (1387054137,), (1387054180,), (1387054182,), (1387054183,), (1387054201,), (1387054206,), (1387054210,), (1387054220,), (1387054223,), (1387054225,), (1387054229,), (1387054231,), (1387054234,), (1387054262,), (1387054270,), (1387054274,), (1387054277,), (1387054281,), (1387054289,), (1387054379,), (1387054382,), (1387054385,), (1387054420,), (1387054426,), (1387054427,), (1387054429,), (1387054454,), (1387054457,), (1387054459,), (1387054463,), (1387054467,), (1387054478,), (1387054481,), (1387054484,), (1387054487,), (1387054499,), (1387054502,), (1387054504,), (1387054506,), (1387054519,), (1387054521,), (1387054522,), (1387054525,), (1387054528,), (1387054565,), (1387054567,), (1387054569,), (1387054573,), (1387054577,), (1387054595,), (1387054598,), (1387054603,), (1387054609,), (1387054610,), (1387054612,), (1387054617,), (1387054620,), (1387054626,), (1387054628,), (1387054631,), (1387054634,), (1387054635,), (1387054636,), (1387054637,), (1387054638,), (1387054639,), (1387054651,), (1387054656,), (1387054658,), (1387054659,), (1387054660,), (1387054680,), (1387054678,), (1387054721,), (1387054745,), (1387054749,), (1387054752,), (1387054755,), (1387054821,), (1387054825,), (1387054828,), (1387054905,), (1387054916,), (1387054931,), (1387054934,), (1387054949,), (1387054959,), (1387054982,), (1387054985,), (1387054988,), (1387054992,), (1387054995,), (1387054997,), (1387055004,), (1387055006,), (1387055008,), (1387055011,), (1387055014,), (1387055017,), (1387055025,), (1387055028,), (1387055032,), (1387055035,), (1387055064,), (1387055075,), (1387055079,), (1387055129,), (1387055131,), (1387055134,), (1387055137,), (1387055146,), (1387055153,), (1387055155,), (1387055156,), (1387055162,), (1387055164,), (1387055167,), (1387055170,), (1387055174,), (1387055176,), (1387055193,), (1387055196,), (1387055200,), (1387055205,), (1387055210,), (1387055228,), (1387055231,), (1387055234,), (1387055249,), (1387055252,), (1387055255,), (1387055299,), (1387055310,), (1387055312,), (1387055315,), (1387055317,), (1387055335,), (1387055401,), (1387055404,), (1387055405,), (1387055579,), (1387055583,), (1387055585,), (1387055589,), (1387055593,), (1387055598,), (1387055599,), (1387055611,), (1387055613,), (1387055643,), (1387055645,), (1387055647,), (1387055655,), (1387056068,), (1387059050,), (1387059081,), (1387059084,), (1387059085,), (1387059087,), (1387059090,), (1387059093,), (1387059106,), (1387059109,), (1387059130,), (1387059138,), (1387059146,), (1387059155,), (1387059162,), (1387059163,), (1387059164,), (1387059169,), (1387059210,), (1387059231,), (1387059245,), (1387059249,), (1387059250,), (1387059251,), (1387059252,), (1387059257,), (1387059275,), (1387059277,), (1387059278,), (1387059281,), (1387059336,), (1387059342,), (1387059386,), (1387059392,), (1387059394,), (1387059397,), (1387059403,), (1387059416,), (1387059419,), (1387059425,), (1387059428,), (1387059432,), (1387059473,), (1387059475,), (1387059477,), (1387059480,), (1387059494,), (1387059501,), (1387059505,), (1387059509,), (1387059516,), (1387059527,), (1387059567,), (1387059574,), (1387059578,), (1387059585,), (1387059589,), (1387059613,), (1387059614,), (1387059616,), (1387059617,), (1387059626,), (1387059633,), (1387059640,), (1387059642,), (1387059644,), (1387059645,), (1387059646,), (1387059648,), (1387059664,), (1387059666,), (1387059668,), (1387059671,), (1387059712,), (1387059705,), (1387059707,), (1387059709,), (1387059755,), (1387059785,), (1387059788,), (1387059904,), (1387059908,), (1387059912,), (1387059975,), (1387059983,), (1387059985,), (1387060001,), (1387060004,), (1387060006,), (1387060008,), (1387060011,), (1387060030,), (1387060033,), (1387060036,), (1387060038,), (1387060065,), (1387060066,), (1387060069,), (1387060073,), (1387060077,), (1387060089,), (1387060093,), (1387060097,), (1387060142,), (1387060145,), (1387060148,), (1387060153,), (1387060229,), (1387060247,), (1387060250,), (1387060254,), (1387060258,), (1387060281,), (1387060284,), (1387060287,), (1387060291,), (1387060295,), (1387060299,), (1387060833,), (1387060835,), (1387060841,), (1387060843,), (1387060844,), (1387060850,), (1387060855,), (1387060864,), (1387060905,), (1387060906,), (1387061570,), (1387061589,), (1387060766,), (1387060769,), (1387060800,), (1387060804,), (1387060899,), (1387060901,), (1387060903,), (1387060930,), (1387060931,), (1387060944,), (1387060950,), (1387061450,), (1387061452,), (1387061459,), (1387061546,), (1387061593,), (1387061594,), (1387061597,), (1387061598,), (1387061602,), (1387061603,), (1387061607,), (1387061608,), (1387061616,), (1387061636,), (1387061638,), (1387061640,), (1387061641,), (1387061671,), (1387061683,), (1387061686,), (1387061690,), (1387061694,), (1387061716,), (1387061719,), (1387061721,), (1387061805,), (1387061997,), (1387061999,), (1387062001,), (1387062020,), (1387062022,), (1387062024,), (1387062040,), (1387062081,), (1387062086,), (1387062089,), (1387062093,), (1387062128,), (1387062130,), (1387062132,), (1387062134,), (1387062136,), (1387062145,), (1387062147,), (1387062149,), (1387062152,), (1387062156,), (1387062157,), (1387062159,), (1387062161,), (1387062163,), (1387062164,), (1387062168,), (1387062175,), (1387062177,), (1387062179,), (1387062181,), (1387062182,), (1387062188,), (1387062189,), (1387062191,), (1387062192,), (1387062199,), (1387062215,), (1387062269,), (1387062236,), (1387062238,), (1387062240,), (1387062327,), (1387062330,), (1387062333,), (1387062335,), (1387062338,), (1387062370,), (1387062384,), (1387062393,), (1387062401,), (1387062404,), (1387062405,), (1387062414,), (1387062416,), (1387062417,), (1387062419,), (1387062435,), (1387062442,), (1387062497,), (1387062499,), (1387062501,), (1387062504,), (1387062539,), (1387062542,), (1387062545,), (1387062547,), (1387062564,), (1387062566,), (1387062570,), (1387062584,), (1387062590,), (1387062591,), (1387062608,), (1387062613,), (1387062615,), (1387062616,), (1387062617,), (1387062631,), (1387062633,), (1387062635,), (1387062637,), (1387062647,), (1387062650,), (1387062653,), (1387062664,), (1387062666,), (1387062668,), (1387062670,), (1387062673,), (1387062676,), (1387062683,), (1387062685,), (1387062687,), (1387062690,), (1387062692,), (1387062694,), (1387062701,), (1387062704,), (1387062707,), (1387062719,), (1387062721,), (1387062723,), (1387062724,), (1387062727,), (1387062758,), (1387062738,), (1387062741,), (1387062744,), (1387062747,), (1387062751,), (1387062779,), (1387062805,), (1387062844,), (1387062850,), (1387062857,), (1387062861,), (1387062867,), (1387062929,), (1387062931,), (1387062933,), (1387062936,), (1387063039,), (1387063050,), (1387063055,), (1387063058,), (1387063082,), (1387063087,), (1387063088,), (1387063089,), (1387063097,), (1387063099,), (1387063100,), (1387063101,), (1387063103,), (1387063111,), (1387063127,), (1387063130,), (1387063132,), (1387063134,), (1387063137,), (1387063139,), (1387063145,), (1387063166,), (1387063170,), (1387063174,), (1387063177,), (1387063180,), (1387063186,), (1387063206,), (1387063208,), (1387063210,), (1387063212,), (1387063214,), (1387063229,), (1387063230,), (1387063231,), (1387063233,), (1387063240,), (1387063246,), (1387063248,), (1387063253,), (1387063258,), (1387063260,), (1387063283,), (1387063269,), (1387063271,), (1387063273,), (1387063278,), (1387063280,), (1387063289,), (1387063294,), (1387063295,), (1387063296,), (1387063298,), (1387063309,), (1387063311,), (1387063315,), (1387063325,), (1387063327,), (1387063329,), (1387063331,), (1387063333,), (1387063336,), (1387063354,), (1387063355,), (1387063356,), (1387063358,), (1387063368,), (1387063393,), (1387063394,), (1387063395,), (1387063397,), (1387063429,), (1387063431,), (1387063433,), (1387063447,), (1387063449,), (1387063453,), (1387063456,), (1387063458,), (1387063461,), (1387063469,), (1387063472,), (1387063476,), (1387063479,), (1387063482,), (1387063495,), (1387063498,), (1387063501,), (1387063515,), (1387063517,), (1387063518,), (1387063521,), (1387063530,), (1387063535,), (1387063572,), (1387063575,), (1387063581,), (1387063583,), (1387063587,), (1387063589,), (1387063609,), (1387063612,), (1387063614,), (1387063632,), (1387063635,), (1387063637,), (1387063647,), (1387063655,), (1387063658,), (1387063709,), (1387064365,), (1387063600,), (1387063602,), (1387063604,), (1387063664,), (1387063666,), (1387063690,), (1387063703,), (1387063752,), (1387063753,), (1387063766,), (1387063767,), (1387063770,), (1387063773,), (1387063776,), (1387063777,), (1387063781,), (1387063782,), (1387063784,), (1387063786,), (1387063789,), (1387064266,), (1387064359,), (1387064361,), (1387064363,), (1387064374,), (1387064378,), (1387064381,), (1387064384,), (1387064388,), (1387065043,), (1387065046,), (1387065049,), (1387065051,), (1387065053,), (1387065066,), (1387065068,), (1387065071,), (1387065075,), (1387065120,), (1387065586,), (1387065602,), (1387065605,), (1387065608,), (1387065620,), (1387065623,), (1387065626,), (1387065628,), (1387065647,), (1387065728,), (1387065725,), (1387065727,), (1387065748,), (1387065752,), (1387065755,), (1387065827,), (1387065830,), (1387065833,), (1387065835,), (1387065837,), (1387065838,), (1387065854,), (1387065856,), (1387065857,), (1387065858,), (1387065866,), (1387065906,), (1387065907,), (1387065908,), (1387065910,), (1387065913,), (1387065926,), (1387065930,), (1387065968,), (1387065972,), (1387065976,), (1387065980,), (1387066018,), (1387066021,), (1387066049,), (1387066051,), (1387066101,), (1387066103,), (1387066104,), (1387066107,), (1387066120,), (1387066122,), (1387066125,), (1387066133,), (1387066194,), (1387066198,), (1387066202,), (1387066205,), (1387066218,), (1387066220,), (1387066222,), (1387066225,), (1387066233,), (1387066241,), (1387066277,), (1387066279,), (1387066280,), (1387066283,), (1387066285,), (1387066287,), (1387066293,), (1387066296,), (1387066299,), (1387066305,), (1387066308,), (1387066310,), (1387066337,), (1387066316,), (1387066323,), (1387066326,), (1387066335,), (1387066343,), (1387066346,), (1387066351,), (1387066355,), (1387066374,), (1387066386,), (1387066387,), (1387066388,), (1387066389,), (1387066413,), (1387066418,), (1387066422,), (1387066424,), (1387066439,), (1387066442,), (1387066444,), (1387066447,), (1387066476,), (1387066478,), (1387066481,), (1387066484,), (1387066489,), (1387066493,), (1387066514,), (1387066518,), (1387066521,), (1387066528,), (1387066539,), (1387066572,), (1387066574,), (1387066597,), (1387066601,), (1387066604,), (1387066607,), (1387066609,), (1387066612,), (1387066634,), (1387066639,), (1387066642,), (1387066645,), (1387066647,), (1387066659,), (1387066661,), (1387066662,), (1387066663,), (1387066667,), (1387066687,), (1387066692,), (1387066696,), (1387066699,), (1387066702,), (1387066718,), (1387066721,), (1387066724,), (1387066727,), (1387066729,), (1387066755,), (1387066757,), (1387066758,), (1387066762,), (1387066768,), (1387066780,), (1387066785,), (1387066788,), (1387066823,), (1387066811,), (1387066814,), (1387066817,), (1387066819,), (1387066821,), (1387066840,), (1387066844,), (1387066846,), (1387066848,), (1387066850,), (1387066876,), (1387066879,), (1387066882,), (1387066885,), (1387066887,), (1387066901,), (1387066904,), (1387066907,), (1387066910,), (1387066914,), (1387066917,), (1387066958,), (1387066961,), (1387066962,), (1387066963,), (1387066965,), (1387066978,), (1387066979,), (1387066982,), (1387066986,), (1387066990,), (1387067016,), (1387067020,), (1387067023,), (1387067026,), (1387067030,), (1387067033,), (1387067065,), (1387067088,), (1387067090,), (1387067092,), (1387067119,), (1387067122,), (1387067123,), (1387067124,), (1387067126,), (1387067128,), (1387067145,), (1387067147,), (1387067149,), (1387067152,), (1387067173,), (1387067175,), (1387067178,), (1387067199,), (1387067203,), (1387067212,), (1387067220,), (1387067222,), (1387067231,), (1387067244,), (1387067248,), (1387067251,), (1387067255,), (1387067281,), (1387067284,), (1387067287,), (1387067289,), (1387067935,), (1387067939,), (1387067945,), (1387067949,), (1387067957,), (1387067313,), (1387067491,), (1387068157,), (1387068161,), (1387068164,), (1387068166,), (1387068170,), (1387068191,), (1387068195,), (1387068198,), (1387068540,), (1387068543,), (1387068727,), (1387068735,), (1387068739,), (1387068743,), (1387068754,), (1387068759,), (1387068950,), (1387069078,), (1387069081,), (1387069083,), (1387069085,), (1387069089,), (1387069114,), (1387069115,), (1387069118,), (1387069121,), (1387069125,), (1387069153,), (1387069158,), (1387069162,), (1387069182,), (1387069186,), (1387069190,), (1387069194,), (1387069197,), (1387069199,), (1387069221,), (1387069224,), (1387069227,), (1387069232,), (1387069250,), (1387069254,), (1387069286,), (1387071779,), (1387071773,), (1387071776,), (1387071897,), (1387071925,), (1387071948,), (1387071951,), (1387071973,), (1387072552,), (1387072576,), (1387072580,), (1387072586,), (1387072591,), (1387072609,), (1387072611,), (1387072615,), (1387072620,), (1387072640,), (1387072643,), (1387072646,), (1387072677,), (1387072681,), (1387072687,), (1387072705,), (1387072709,), (1387072712,), (1387072714,), (1387072734,), (1387072737,), (1387072742,), (1387072750,), (1387072780,), (1387072783,), (1387072786,), (1387072813,), (1387072841,), (1387072845,), (1387072849,), (1387072852,), (1387072874,), (1387072902,), (1387072906,), (1387072911,), (1387072918,), (1387072922,), (1387072925,), (1387072930,), (1387072934,), (1387072937,), (1387072940,), (1387072958,), (1387072960,), (1387072962,), (1387072964,), (1387072967,), (1387072971,), (1387072984,), (1387072986,), (1387072989,), (1387072993,), (1387072995,), (1387072997,), (1387073002,), (1387073005,), (1387073009,), (1387073012,), (1387073015,), (1387073016,), (1387073023,), (1387073031,), (1387073035,), (1387073039,), (1387073048,), (1387073050,), (1387073053,), (1387073056,), (1387073059,), (1387073062,), (1387073073,), (1387073077,), (1387073083,), (1387073114,), (1387073129,), (1387073206,), (1387073213,), (1387073218,), (1387073224,), (1387073228,), (1387073231,), (1387073251,), (1387073257,), (1387073261,), (1387073267,), (1387073269,), (1387073284,), (1387073288,), (1387073291,), (1387073292,), (1387073294,), (1387073295,), (1387073310,), (1387073314,), (1387073317,), (1387073320,), (1387073325,), (1387073328,), (1387073401,), (1387073405,), (1387073407,), (1387073425,), (1387073428,), (1387073429,), (1387073432,), (1387073485,), (1387073489,), (1387073517,), (1387073514,), (1387073515,), (1387073541,), (1387073544,), (1387073546,), (1387073570,), (1387073572,), (1387073575,), (1387073578,), (1387073583,), (1387073591,), (1387073593,), (1387073600,), (1387073604,), (1387073607,), (1387073610,), (1387073612,), (1387073627,), (1387073630,), (1387073631,), (1387073632,), (1387073634,), (1387073653,), (1387073655,), (1387073657,), (1387073688,), (1387073692,), (1387073696,), (1387073699,), (1387073702,), (1387073716,), (1387073739,), (1387073742,), (1387073744,), (1387073745,), (1387073747,), (1387073749,), (1387073765,), (1387073768,), (1387073769,), (1387073771,), (1387073776,), (1387073795,), (1387073798,), (1387073802,), (1387073805,), (1387073808,), (1387073810,), (1387073821,), (1387073824,), (1387073827,), (1387073830,), (1387073833,), (1387073836,), (1387073843,), (1387073860,), (1387073870,), (1387073880,), (1387073902,), (1387073905,), (1387073909,), (1387073913,), (1387073917,), (1387073920,), (1387073948,), (1387073952,), (1387073955,), (1387073958,), (1387073975,), (1387073977,), (1387073980,), (1387073984,), (1387073988,), (1387073990,), (1387073992,), (1387073993,), (1387073994,), (1387073999,), (1387074009,), (1387074013,), (1387074017,), (1387074019,), (1387074022,), (1387074025,), (1387074038,), (1387074032,), (1387074034,), (1387074036,), (1387074064,), (1387074099,), (1387074228,), (1387074231,), (1387074255,), (1387074259,), (1387074261,), (1387074264,), (1387074271,), (1387074287,), (1387074290,), (1387074293,), (1387074296,), (1387074299,), (1387074300,), (1387074302,), (1387074308,), (1387074310,), (1387074338,), (1387074340,), (1387074344,), (1387074347,), (1387074349,), (1387074352,), (1387074354,), (1387074355,), (1387074357,), (1387074359,), (1387074394,), (1387074396,), (1387074398,), (1387074401,), (1387074407,), (1387074424,), (1387074426,), (1387074430,), (1387074433,), (1387074454,), (1387074739,), (1387074817,), (1387074820,), (1387074915,), (1387074966,), (1387075000,), (1387075005,), (1387075010,), (1387075013,), (1387075019,), (1387075028,), (1387075047,), (1387075050,), (1387075053,), (1387075055,), (1387075492,), (1387075060,), (1387075489,), (1387075519,), (1387075522,), (1387075524,), (1387075526,), (1387075528,), (1387075537,), (1387075546,), (1387075549,), (1387075552,), (1387076018,), (1387076021,), (1387076024,), (1387076027,), (1387076240,), (1387076343,), (1387076346,), (1387076348,), (1387076351,), (1387076354,), (1387076365,), (1387076369,), (1387076373,), (1387076377,), (1387076402,), (1387076413,), (1387076415,), (1387076418,), (1387076434,), (1387076436,), (1387076439,), (1387076442,), (1387076454,), (1387076460,), (1387076485,), (1387076491,), (1387076495,), (1387076499,), (1387076515,), (1387076518,), (1387076522,), (1387076525,), (1387076547,), (1387076552,), (1387076554,), (1387076556,), (1387076558,), (1387076572,), (1387076575,), (1387076578,), (1387076580,), (1387076582,), (1387076584,), (1387076629,), (1387076612,), (1387076616,), (1387076621,), (1387076625,), (1387076645,), (1387076650,), (1387076652,), (1387076711,), (1387076715,), (1387076717,), (1387076721,), (1387076724,), (1387076728,), (1387076741,), (1387076744,), (1387076747,), (1387076750,), (1387076753,), (1387076760,), (1387076777,), (1387076780,), (1387076785,), (1387076788,), (1387076792,), (1387076795,), (1387076799,), (1387076801,), (1387076802,), (1387076806,), (1387076809,), (1387076815,), (1387076819,), (1387076827,), (1387076830,), (1387076849,), (1387076852,), (1387076853,), (1387076854,), (1387076869,), (1387076872,), (1387076873,), (1387076875,), (1387076878,), (1387076884,), (1387076901,), (1387076904,), (1387076907,), (1387076910,), (1387076913,), (1387076914,), (1387076918,), (1387076920,), (1387076922,), (1387076926,), (1387076927,), (1387076929,), (1387076932,), (1387076951,), (1387076956,), (1387076961,), (1387076965,), (1387076968,), (1387076981,), (1387076984,), (1387076986,), (1387076988,), (1387076990,), (1387076998,), (1387077034,), (1387077038,), (1387077091,), (1387077096,), (1387077098,), (1387077105,), (1387077119,), (1387077124,), (1387077127,), (1387077131,), (1387077134,), (1387077167,), (1387077151,), (1387077155,), (1387077157,), (1387077160,), (1387077164,), (1387077172,), (1387077175,), (1387077178,), (1387077188,), (1387077191,), (1387077196,), (1387077200,), (1387077210,), (1387077231,), (1387077233,), (1387077235,), (1387077237,), (1387077239,), (1387077241,), (1387077257,), (1387077260,), (1387077262,), (1387077289,), (1387077292,), (1387077295,), (1387077297,), (1387077300,), (1387077303,), (1387077311,), (1387077313,), (1387077316,), (1387077319,), (1387077323,), (1387077332,), (1387077347,), (1387077357,), (1387077359,), (1387077362,), (1387077379,), (1387077381,), (1387077383,), (1387077385,), (1387077393,), (1387077397,), (1387077416,), (1387077420,), (1387077423,), (1387077427,), (1387077440,), (1387077444,), (1387077447,), (1387077450,), (1387077453,), (1387077456,), (1387077484,), (1387077488,), (1387077509,), (1387077551,), (1387077570,), (1387077574,), (1387077630,), (1387077621,), (1387077627,), (1387077650,), (1387077653,), (1387077655,), (1387077657,), (1387077658,), (1387077667,), (1387077676,), (1387077680,), (1387077683,), (1387077686,), (1387077689,), (1387077692,), (1387077705,), (1387077707,), (1387077709,), (1387077731,), (1387077734,), (1387077737,), (1387077741,), (1387077744,), (1387077748,), (1387077750,), (1387077760,), (1387077762,), (1387077765,), (1387077770,), (1387077776,), (1387077782,), (1387077801,), (1387077805,), (1387077809,), (1387077813,), (1387077831,), (1387077835,), (1387077838,), (1387077839,), (1387077873,), (1387077876,), (1387077879,), (1387077883,), (1387077888,), (1387077891,), (1387077897,), (1387077898,), (1387077908,), (1387077913,), (1387077923,), (1387077927,), (1387077937,), (1387077945,), (1387077959,), (1387077961,), (1387077962,), (1387077964,), (1387077966,), (1387077994,), (1387077997,), (1387078000,), (1387078003,), (1387078006,), (1387078016,), (1387078036,), (1387078041,), (1387078044,), (1387078420,), (1387078478,), (1387078481,), (1387078485,), (1387078684,), (1387078686,), (1387078689,), (1387078696,), (1387078697,), (1387078673,), (1387078677,), (1387078681,), (1387078849,), (1387078851,), (1387078854,), (1387078856,), (1387078928,), (1387078959,), (1387078961,), (1387078962,), (1387078965,), (1387078970,), (1387078976,), (1387078996,), (1387078999,), (1387079002,), (1387079007,), (1387079010,), (1387079013,), (1387079019,), (1387079021,), (1387079026,), (1387079028,), (1387079031,), (1387079143,), (1387079413,), (1387079417,), (1387079421,), (1387079534,), (1387079537,), (1387079615,), (1387079621,), (1387079627,), (1387079704,), (1387079738,), (1387079742,), (1387079746,), (1387079780,), (1387079784,), (1387079788,), (1387079993,), (1387079997,), (1387080000,), (1387080009,), (1387080014,), (1387080123,), (1387080125,), (1387080127,), (1387080133,), (1387080140,), (1387080156,), (1387080179,), (1387080184,), (1387080188,), (1387080206,), (1387080289,), (1387080291,), (1387080295,), (1387080300,), (1387080304,), (1387080306,), (1387080311,), (1387080312,), (1387080314,), (1387080319,), (1387080331,), (1387080336,), (1387080346,), (1387080348,), (1387080351,), (1387080378,), (1387080361,), (1387080366,), (1387080398,), (1387080402,), (1387080404,), (1387080415,), (1387080421,), (1387080564,), (1387080580,), (1387080589,), (1387080592,), (1387080595,), (1387080602,), (1387080670,), (1387080680,), (1387080795,), (1387080798,), (1387080809,), (1387080811,), (1387080998,), (1387081003,), (1387081061,), (1387081065,), (1387081247,), (1387081260,), (1387081283,), (1387081311,), (1387081320,), (1387081414,), (1387081418,), (1387081423,), (1387081426,), (1387081455,), (1387081458,), (1387081462,), (1387081466,), (1387081469,), (1387081471,), (1387081476,), (1387081479,), (1387081485,), (1387081504,), (1387081507,), (1387081512,), (1387081516,), (1387081520,), (1387081644,), (1387081648,), (1387081652,), (1387081661,), (1387081669,), (1387081699,), (1387081705,), (1387081708,), (1387081712,), (1387081894,), (1387081908,), (1387081910,), (1387081912,), (1387081915,), (1387081918,), (1387081977,), (1387081979,), (1387081984,), (1387081987,), (1387081990,), (1387081994,), (1387082139,), (1387082152,), (1387082164,), (1387082168,), (1387082173,), (1387082217,), (1387082199,), (1387082215,), (1387082258,), (1387082262,), (1387082266,), (1387082281,), (1387082284,), (1387082371,), (1387082375,), (1387082379,), (1387082435,), (1387082437,), (1387082440,), (1387082443,), (1387082557,), (1387082703,), (1387082740,), (1387082743,), (1387082844,), (1387082896,), (1387082897,), (1387082999,), (1387083001,), (1387083003,), (1387083005,), (1387083009,), (1387083013,), (1387083035,), (1387083043,), (1387083045,), (1387083047,), (1387083049,), (1387083080,), (1387083082,), (1387083084,), (1387083111,), (1387083116,), (1387083120,), (1387083124,), (1387083127,), (1387083132,), (1387083160,), (1387083163,), (1387083165,), (1387083168,), (1387083171,), (1387083188,), (1387083193,), (1387083197,), (1387083248,), (1387083253,), (1387083255,), (1387083257,), (1387083260,), (1387083263,), (1387083430,), (1387083464,), (1387083469,), (1387083473,), (1387083589,), (1387083594,), (1387083597,), (1387083602,), (1387083607,), (1387083610,), (1387083612,), (1387083615,), (1387083622,), (1387083628,), (1387083632,), (1387083634,), (1387083674,), (1387083666,), (1387083669,), (1387083672,), (1387083756,), (1387083760,), (1387083763,), (1387083767,), (1387083771,), (1387083785,), (1387083803,), (1387083806,), (1387083808,), (1387083829,), (1387083835,), (1387083848,), (1387083884,), (1387083888,), (1387083890,), (1387083893,), (1387083914,), (1387083918,), (1387083921,), (1387083924,), (1387083928,), (1387083933,), (1387083983,), (1387083997,), (1387084002,), (1387084005,), (1387084027,), (1387084031,), (1387084063,), (1387084065,), (1387084068,), (1387084072,), (1387084077,), (1387084090,), (1387084096,), (1387084437,), (1387084441,), (1387084445,), (1387084446,), (1387085086,), (1387085092,), (1387085097,), (1387085100,), (1387085111,), (1387085310,), (1387085328,), (1387085332,), (1387085337,), (1387085005,), (1387085085,), (1387085458,), (1387085463,), (1387085467,), (1387085951,), (1387085966,), (1387085982,), (1387086206,), (1387086210,), (1387086215,), (1387086220,), (1387086226,), (1387086232,), (1387086239,), (1387086244,), (1387086248,), (1387086252,), (1387086255,), (1387086263,), (1387086293,), (1387086297,), (1387086300,), (1387086701,), (1387086730,), (1387086889,), (1387086893,), (1387086897,), (1387086995,), (1387087000,), (1387087037,), (1387087043,), (1387087048,), (1387087123,), (1387087128,), (1387087132,), (1387087172,), (1387087174,), (1387087177,), (1387087182,), (1387087185,), (1387087189,), (1387087211,), (1387087225,), (1387087229,), (1387087340,), (1387087344,), (1387087348,), (1387087352,), (1387087432,), (1387087435,), (1387087437,), (1387087440,), (1387087486,), (1387087489,), (1387087494,), (1387087497,), (1387087501,), (1387087504,), (1387087519,), (1387087523,), (1387087526,), (1387087531,), (1387087541,), (1387087547,), (1387087551,), (1387087556,), (1387087603,), (1387087588,), (1387087592,), (1387087595,), (1387087598,), (1387087601,), (1387087621,), (1387087624,), (1387087627,), (1387087631,), (1387087637,), (1387087680,), (1387087683,), (1387087684,), (1387087686,), (1387087691,), (1387087710,), (1387087730,), (1387087734,), (1387087756,), (1387087760,), (1387087763,), (1387087765,), (1387087859,), (1387087888,), (1387087889,), (1387087891,), (1387087895,), (1387087898,), (1387087924,), (1387087927,), (1387087931,), (1387087934,), (1387087940,), (1387087967,), (1387087973,), (1387087975,), (1387087980,), (1387088042,), (1387088044,), (1387088047,), (1387088051,), (1387088055,), (1387088059,), (1387088074,), (1387088100,), (1387088113,), (1387088117,), (1387088119,), (1387088121,), (1387088128,), (1387088162,), (1387088164,), (1387088165,), (1387088167,), (1387088171,), (1387088196,), (1387088199,), (1387088201,), (1387088205,), (1387088210,), (1387088432,), (1387088435,), (1387088437,), (1387088439,), (1387088477,), (1387088503,), (1387088507,), (1387088509,), (1387088527,), (1387088534,), (1387088670,), (1387088672,), (1387088674,), (1387088676,), (1387088679,), (1387088727,), (1387088730,), (1387088733,), (1387088735,), (1387088747,), (1387088751,), (1387088722,), (1387088725,), (1387088762,), (1387088782,), (1387088789,), (1387088838,), (1387088843,), (1387088846,), (1387088851,), (1387088856,), (1387088884,), (1387088887,), (1387088892,), (1387088898,), (1387088903,), (1387088907,), (1387088912,), (1387088916,), (1387088918,), (1387088921,), (1387088941,), (1387088943,), (1387088952,), (1387088959,), (1387088967,), (1387088989,), (1387088990,), (1387089044,), (1387089062,), (1387089065,), (1387089112,), (1387089114,), (1387089117,), (1387089131,), (1387089138,), (1387089141,), (1387089159,), (1387089162,), (1387089165,), (1387089169,), (1387089171,), (1387089216,), (1387089219,), (1387089221,), (1387089308,), (1387089316,), (1387089430,), (1387089444,), (1387089580,), (1387089582,), (1387089588,), (1387089595,), (1387089603,), (1387089608,), (1387089618,), (1387089620,), (1387089621,), (1387089656,), (1387089663,), (1387089671,), (1387089676,), (1387089729,), (1387089730,), (1387089731,), (1387089733,), (1387089735,), (1387089744,), (1387089781,), (1387089783,), (1387089830,), (1387090075,), (1387090091,), (1387090166,), (1387090156,), (1387090160,), (1387090164,), (1387090198,), (1387090201,), (1387090203,), (1387090205,), (1387090275,), (1387090281,), (1387090292,), (1387090297,), (1387090530,), (1387090544,), (1387090554,), (1387090558,), (1387090636,), (1387090642,), (1387090868,), (1387091284,), (1387091308,), (1387091311,), (1387091314,), (1387091318,), (1387091800,), (1387091803,), (1387091825,), (1387091828,), (1387092030,), (1387092035,), (1387092074,), (1387092081,), (1387092082,), (1387100822,), (1387100823,), (1387100884,), (1387100886,), (1387101400,), (1387102077,), (1387102081,), (1387102085,), (1387102256,), (1387102421,), (1387102436,), (1387102440,), (1387102534,), (1387102537,), (1387102561,), (1387102565,), (1387102567,), (1387102698,), (1387102718,), (1387102720,), (1387102722,), (1387102904,), (1387102926,), (1387102928,), (1387103949,), (1387103952,), (1387103954,), (1387103967,), (1387104033,), (1387104420,), (1387104530,), (1387104535,), (1387104541,), (1387104706,), (1387104708,), (1387104712,), (1387104726,), (1387104734,), (1387105013,), (1387105017,), (1387105019,), (1387105022,), (1387105652,), (1387105581,), (1387105647,), (1387105758,), (1387105761,), (1387105764,), (1387105768,), (1387106201,), (1387106207,), (1387106212,), (1387106216,), (1387106254,), (1387106270,), (1387106273,), (1387106276,), (1387106314,), (1387106316,), (1387106317,), (1387106320,), (1387106719,), (1387106724,), (1387106734,), (1387106737,), (1387106758,), (1387106907,), (1387106911,), (1387107207,), (1387107304,), (1387107367,), (1387107370,), (1387107373,), (1387107379,), (1387107383,), (1387107402,), (1387107407,), (1387107410,), (1387107413,), (1387107579,), (1387107582,), (1387107620,), (1387107645,), (1387107675,), (1387107749,), (1387107753,), (1387107963,), (1387108031,), (1387108036,), (1387108044,), (1387108099,), (1387108104,), (1387108108,), (1387108113,), (1387108514,), (1387108079,), (1387108839,), (1387108841,), (1387109000,), (1387109004,), (1387109149,), (1387109153,), (1387109157,), (1387109187,), (1387109400,), (1387109863,), (1387109866,), (1387109869,), (1387109873,), (1387109881,), (1387110074,), (1387110078,), (1387110121,), (1387110126,), (1387110185,), (1387110927,), (1387111225,), (1387111227,), (1387111229,), (1387111263,), (1387111268,), (1387111271,), (1387111628,), (1387111632,), (1387112156,), (1387112160,), (1387112163,), (1387112167,), (1387112171,), (1387112330,), (1387112335,), (1387112340,), (1387112675,), (1387112716,), (1387112738,), (1387112759,), (1387112781,), (1387112907,), (1387112949,), (1387112990,), (1387113010,), (1387113026,), (1387113030,), (1387113055,), (1387113066,), (1387113413,), (1387113418,), (1387113445,), (1387113744,), (1387113702,), (1387113716,), (1387113738,), (1387113768,), (1387113774,), (1387113968,), (1387114097,), (1387114228,), (1387114413,), (1387115265,), (1387115283,), (1387115347,), (1387115351,), (1387115668,), (1387115671,), (1387115704,), (1387115736,), (1387115767,), (1387115772,), (1387115777,), (1387115805,), (1387115809,), (1387115821,), (1387115824,), (1387115992,), (1387116006,), (1387116237,), (1387116239,), (1387116242,), (1387116263,), (1387116268,), (1387116271,), (1387116275,), (1387116308,), (1387116316,), (1387116321,), (1387116330,), (1387116726,), (1387116730,), (1387116733,), (1387116804,), (1387116815,), (1387116865,), (1387116870,), (1387116873,), (1387116877,), (1387116946,), (1387116950,), (1387116954,), (1387116956,), (1387116960,), (1387116999,), (1387117004,), (1387117007,), (1387117010,), (1387117243,), (1387117240,), (1387117253,), (1387117446,), (1387118235,), (1387118308,), (1387118313,), (1387118318,), (1387118323,), (1387118329,), (1387118331,), (1387118768,), (1387118769,), (1387118772,), (1387118774,), (1387118775,), (1387118777,), (1387118982,), (1387119077,), (1387119081,), (1387119379,), (1387119894,), (1387119897,), (1387119904,), (1387119936,), (1387119941,), (1387119945,), (1387119948,), (1387119952,), (1387120433,), (1387120458,), (1387120475,), (1387120484,), (1387120767,), (1387120770,), (1387120772,), (1387120775,), (1387120780,), (1387120798,), (1387120803,), (1387120807,), (1387120810,), (1387120837,), (1387120841,), (1387120844,), (1387120847,), (1387120868,), (1387120872,), (1387120875,), (1387120879,), (1387120887,), (1387121692,), (1387122161,), (1387122251,), (1387122255,), (1387122258,), (1387122298,), (1387122303,), (1387122858,), (1387122867,), (1387122870,), (1387122875,), (1387122897,), (1387122904,), (1387123094,), (1387123099,), (1387123457,), (1387123369,), (1387123481,), (1387123485,), (1387123486,), (1387123489,), (1387123508,), (1387123511,), (1387123514,), (1387123516,), (1387123548,), (1387123630,), (1387125003,), (1387125049,), (1387125595,), (1387125600,), (1387127209,), (1387127213,), (1387127215,), (1387127619,), (1387127639,), (1387127815,), (1387127822,), (1387127824,), (1387128236,), (1387128552,), (1387128554,), (1387128557,), (1387128559,), (1387128562,), (1387128565,), (1387128571,), (1387128574,), (1387128576,), (1387128578,), (1387128584,), (1387128880,), (1387128884,), (1387128888,), (1387128896,), (1387128941,), (1387128945,), (1387128980,), (1387128985,), (1387128989,), (1387129900,), (1387129932,), (1387129964,), (1387129966,), (1387130193,), (1387130433,), (1387130437,), (1387130520,), (1387130834,), (1387130852,), (1387131004,), (1387130981,), (1387130987,), (1387130998,), (1387131002,), (1387131191,), (1387131195,), (1387131200,), (1387131203,), (1387131207,), (1387131211,), (1387131223,), (1387131226,), (1387131228,), (1387131232,), (1387131238,), (1387131258,), (1387131260,), (1387131263,), (1387131267,), (1387131270,), (1387131273,), (1387131829,), (1387132005,), (1387132014,), (1387132019,), (1387132055,), (1387132058,), (1387132082,), (1387132289,), (1387132380,), (1387132382,), (1387132386,), (1387132390,), (1387132394,), (1387132415,), (1387132426,), (1387132455,), (1387132811,), (1387133294,), (1387133297,), (1387133430,), (1387133563,), (1387133570,), (1387133580,), (1387133700,), (1387133703,), (1387133706,), (1387133710,), (1387133719,), (1387133722,), (1387133738,), (1387133741,), (1387133743,), (1387133802,), (1387133821,), (1387133827,), (1387133837,), (1387133839,), (1387133869,), (1387133873,), (1387133875,), (1387133881,), (1387133885,), (1387133889,), (1387133892,), (1387133895,), (1387134965,), (1387135662,), (1387135822,), (1387135833,), (1387135942,), (1387136035,), (1387136058,), (1387136253,), (1387136257,), (1387136261,), (1387136870,), (1387136876,), (1387138986,), (1387138983,), (1387139192,), (1387139206,), (1387139398,), (1387139407,), (1387139429,), (1387139432,), (1387139509,), (1387139515,), (1387139521,), (1387139524,), (1387139528,), (1387139530,), (1387139586,), (1387139595,), (1387139610,), (1387139617,), (1387139629,), (1387139633,), (1387139637,), (1387139656,), (1387139662,), (1387139666,), (1387139671,), (1387139675,), (1387139677,), (1387140018,), (1387140034,), (1387140039,), (1387140041,), (1387140043,), (1387140554,), (1387140557,), (1387140565,), (1387140572,), (1387140701,), (1387140900,), (1387140906,), (1387140909,), (1387140911,), (1387140916,), (1387140972,), (1387140989,), (1387140995,), (1387141006,), (1387141034,), (1387141083,), (1387141056,), (1387141068,), (1387141071,), (1387141077,), (1387141080,), (1387141113,), (1387141116,), (1387141119,), (1387141123,), (1387141168,), (1387141783,), (1387141814,), (1387141831,), (1387141834,), (1387141868,), (1387142188,), (1387142192,), (1387142197,), (1387142202,), (1387142206,), (1387142208,), (1387142229,), (1387142263,), (1387142271,), (1387142275,), (1387142285,), (1387142290,), (1387142300,), (1387142308,), (1387142310,), (1387142439,), (1387142493,), (1387142502,), (1387142515,), (1387142848,), (1387142933,), (1387143249,), (1387143266,), (1387143279,), (1387143882,), (1387143886,), (1387144192,), (1387144196,), (1387144200,), (1387144228,), (1387144232,), (1387144235,), (1387144239,), (1387144244,), (1387144699,), (1387144752,), (1387144767,), (1387144838,), (1387144981,), (1387144998,), (1387145012,), (1387145035,), (1387145068,), (1387145071,), (1387145224,), (1387145227,), (1387145419,), (1387145422,), (1387145544,), (1387145566,), (1387145613,), (1387145616,), (1387145706,), (1387145710,), (1387145714,), (1387145719,), (1387145849,), (1387145831,), (1387145836,), (1387145839,), (1387145842,), (1387145845,), (1387145993,), (1387146022,), (1387146076,), (1387146094,), (1387146112,), (1387146126,), (1387146459,), (1387146463,), (1387146554,), (1387146558,), (1387146762,), (1387146769,), (1387146783,), (1387146786,), (1387146789,), (1387147142,), (1387147145,), (1387147172,), (1387147174,), (1387147178,), (1387147200,), (1387147204,), (1387147206,), (1387147237,), (1387147240,), (1387147264,), (1387147600,), (1387147608,), (1387147629,), (1387147632,), (1387147668,), (1387147688,), (1387147711,), (1387147713,), (1387147716,), (1387147720,), (1387147723,), (1387148128,), (1387148134,), (1387148137,), (1387148140,), (1387148142,), (1387148147,), (1387148280,), (1387148290,), (1387148295,), (1387148308,), (1387148485,), (1387148488,), (1387148489,), (1387148490,), (1387148838,), (1387148842,), (1387149035,), (1387149038,), (1387149040,), (1387149084,), (1387149344,), (1387149360,), (1387149371,), (1387149379,), (1387149418,), (1387149428,), (1387149452,), (1387149457,), (1387149463,), (1387149475,), (1387149479,), (1387149543,), (1387149612,), (1387150164,), (1387150269,), (1387150272,), (1387150275,), (1387150283,), (1387150471,), (1387150516,), (1387150522,), (1387150554,), (1387151688,), (1387151691,), (1387152413,), (1387149521,), (1387149525,), (1387149528,), (1387149531,), (1387149535,), (1387150313,), (1387150317,), (1387150321,), (1387150325,), (1387150328,), (1387150586,), (1387150590,), (1387150603,), (1387151116,), (1387151258,), (1387151274,), (1387151476,), (1387151477,), (1387151529,), (1387151533,), (1387151575,), (1387151584,), (1387151597,), (1387151601,), (1387151605,), (1387151609,), (1387151613,), (1387151615,), (1387151621,), (1387151625,), (1387151629,), (1387151632,), (1387151635,), (1387151639,), (1387151662,), (1387151668,), (1387151677,), (1387151682,), (1387151697,), (1387151701,), (1387151706,), (1387151917,), (1387152410,), (1387152418,), (1387152420,), (1387152424,), (1387152428,), (1387152431,), (1387152434,), (1387152709,), (1387152714,), (1387152716,), (1387152719,), (1387152739,), (1387152744,), (1387152748,), (1387152750,), (1387152753,), (1387152769,), (1387152771,), (1387169071,), (1387169330,), (1387169437,), (1387169854,), (1387169857,), (1387170390,), (1387170394,), (1387170398,), (1387170438,), (1387171005,), (1387171034,), (1387171329,), (1387171478,), (1387171480,), (1387171482,), (1387172120,), (1387172308,), (1387172339,), (1387172381,), (1387172425,), (1387172427,), (1387172430,), (1387172532,), (1387172621,), (1387172627,), (1387172631,), (1387172987,), (1387172992,), (1387172996,), (1387173001,), (1387173013,), (1387173025,), (1387173156,), (1387173160,), (1387173166,), (1387173168,), (1387173422,), (1387173424,), (1387173456,), (1387173461,), (1387173465,), (1387173469,), (1387173482,), (1387173483,), (1387173484,), (1387173509,), (1387173638,), (1387173657,), (1387173968,), (1387173979,), (1387174003,), (1387174053,), (1387174058,), (1387174063,), (1387174066,), (1387174070,), (1387175206,), (1387175211,), (1387175215,), (1387175217,), (1387175451,), (1387175497,), (1387175549,), (1387175769,), (1387175773,), (1387175778,), (1387175993,), (1387175998,), (1387176004,), (1387176007,), (1387176012,), (1387176068,), (1387176074,), (1387176111,), (1387176369,), (1387176813,), (1387176828,), (1387176041,), (1387176047,), (1387176051,), (1387176065,), (1387176857,), (1387176862,), (1387176866,), (1387176910,), (1387176912,), (1387176913,), (1387176915,), (1387177079,), (1387177251,), (1387177254,), (1387177778,), (1387177781,), (1387177784,), (1387177787,), (1387177795,), (1387177798,), (1387177801,), (1387177805,), (1387178000,), (1387178009,), (1387178010,), (1387178154,), (1387178190,), (1387178193,), (1387178195,), (1387178249,), (1387178257,), (1387178285,), (1387178291,), (1387178730,), (1387178952,), (1387179018,), (1387179021,), (1387179056,), (1387179061,), (1387179080,), (1387179085,), (1387179088,), (1387179090,), (1387179093,), (1387179139,), (1387179143,), (1387179145,), (1387179148,), (1387179457,), (1387179460,), (1387179490,), (1387179494,), (1387179499,), (1387179503,), (1387179540,), (1387179560,), (1387179574,), (1387179577,), (1387179581,), (1387179632,), (1387179646,), (1387179664,), (1387179689,), (1387179694,), (1387179711,), (1387179779,), (1387179784,), (1387179788,), (1387179795,), (1387179811,), (1387179815,), (1387179822,), (1387179823,), (1387179827,), (1387179832,), (1387179886,), (1387179891,), (1387179893,), (1387179896,), (1387179902,), (1387179904,), (1387179908,), (1387179866,), (1387179878,), (1387179881,), (1387179949,), (1387179953,), (1387179957,), (1387179959,), (1387179962,), (1387179966,), (1387180005,), (1387180010,), (1387180015,), (1387180019,), (1387180024,), (1387180027,), (1387180051,), (1387180055,), (1387180058,), (1387180062,), (1387180096,), (1387180099,), (1387180102,), (1387180105,), (1387180109,), (1387180112,), (1387180145,), (1387180149,), (1387180151,), (1387180153,), (1387180173,), (1387180199,), (1387180202,), (1387180205,), (1387180208,), (1387180213,), (1387180262,), (1387180273,), (1387180277,), (1387180283,), (1387180306,), (1387180307,), (1387180309,), (1387180311,), (1387180315,), (1387180318,), (1387180332,), (1387180334,), (1387180337,), (1387180338,), (1387180353,), (1387180354,), (1387180362,), (1387180366,), (1387180369,), (1387180372,), (1387180373,), (1387180376,), (1387180382,), (1387180386,), (1387180592,), (1387180595,), (1387180597,), (1387180602,), (1387180608,), (1387180635,), (1387180640,), (1387180641,), (1387180644,), (1387180647,), (1387180672,), (1387180661,), (1387180664,), (1387180665,), (1387180668,), (1387180714,), (1387180727,), (1387180734,), (1387180736,), (1387180739,), (1387180742,), (1387180782,), (1387180796,), (1387180803,), (1387180807,), (1387180810,), (1387180844,), (1387180846,), (1387180849,), (1387180852,), (1387180855,), (1387180858,), (1387180863,), (1387180865,), (1387180867,), (1387180873,), (1387180877,), (1387180883,), (1387180887,), (1387180899,), (1387180907,), (1387180910,), (1387180913,), (1387180934,), (1387180942,), (1387180948,), (1387180951,), (1387180999,), (1387181005,), (1387181006,), (1387181008,), (1387181014,), (1387181016,), (1387181057,), (1387181064,), (1387181079,), (1387181083,), (1387181086,), (1387181106,), (1387181110,), (1387181115,), (1387181118,), (1387181141,), (1387181145,), (1387181148,), (1387181152,), (1387181156,), (1387181159,), (1387181171,), (1387181175,), (1387181178,), (1387181179,), (1387181181,), (1387181183,), (1387181213,), (1387181217,), (1387181220,), (1387181277,), (1387181294,), (1387181317,), (1387181320,), (1387181323,), (1387181329,), (1387181350,), (1387181355,), (1387181359,), (1387181373,), (1387181535,), (1387181540,), (1387181552,), (1387181556,), (1387181560,), (1387181564,), (1387181568,), (1387181577,), (1387181586,), (1387181591,), (1387181627,), (1387181609,), (1387181613,), (1387181617,), (1387181622,), (1387181678,), (1387181680,), (1387181683,), (1387181685,), (1387181689,), (1387181713,), (1387181717,), (1387181733,), (1387181736,), (1387181761,), (1387181765,), (1387181769,), (1387181811,), (1387181813,), (1387181902,), (1387182250,), (1387182258,), (1387182264,), (1387182436,), (1387182441,), (1387182445,), (1387182448,), (1387182451,), (1387182512,), (1387182517,), (1387182519,), (1387182813,), (1387182831,), (1387182840,), (1387182999,), (1387183002,), (1387183007,), (1387183011,), (1387183015,), (1387183018,), (1387183033,), (1387183040,), (1387183056,), (1387183058,), (1387183061,), (1387183087,), (1387183090,), (1387183174,), (1387183177,), (1387183224,), (1387183244,), (1387183317,), (1387183319,), (1387183322,), (1387183325,), (1387183333,), (1387183371,), (1387183374,), (1387183377,), (1387183381,), (1387183385,), (1387183388,), (1387183423,), (1387183427,), (1387183434,), (1387183441,), (1387183447,), (1387183510,), (1387183514,), (1387183523,), (1387183534,), (1387183553,), (1387183563,), (1387183578,), (1387183582,), (1387183601,), (1387183608,), (1387183472,), (1387183476,), (1387183484,), (1387183504,), (1387183590,), (1387183595,), (1387183597,), (1387183628,), (1387183632,), (1387183635,), (1387183638,), (1387183641,), (1387183645,), (1387184153,), (1387184155,), (1387184159,), (1387184570,), (1387185157,), (1387185342,), (1387185408,), (1387185450,), (1387185453,), (1387185456,), (1387185461,), (1387185578,), (1387185783,), (1387185796,), (1387185816,), (1387185823,), (1387185826,), (1387185828,), (1387186178,), (1387186189,), (1387186263,), (1387186267,), (1387186355,), (1387186384,), (1387186387,), (1387186568,), (1387186639,), (1387187211,), (1387187347,), (1387187351,), (1387187353,), (1387187532,), (1387187536,), (1387187613,), (1387187616,), (1387187653,), (1387187677,), (1387187680,), (1387187683,), (1387187687,), (1387187691,), (1387187706,), (1387187710,), (1387187823,), (1387187828,), (1387187881,), (1387187908,), (1387188043,), (1387188073,), (1387188076,), (1387188106,), (1387188148,), (1387188153,), (1387188167,), (1387188171,), (1387188573,), (1387188577,), (1387188581,), (1387188597,), (1387188600,), (1387188604,), (1387188612,), (1387188613,), (1387188616,), (1387188621,), (1387188657,), (1387188662,), (1387188665,), (1387188667,), (1387188724,), (1387188696,), (1387188699,), (1387188701,), (1387188719,), (1387188801,), (1387188878,), (1387188915,), (1387188919,), (1387189286,), (1387189290,), (1387189431,), (1387189585,), (1387189587,), (1387189789,), (1387189794,), (1387189807,), (1387189812,), (1387189815,), (1387189987,), (1387190329,), (1387190332,), (1387190334,), (1387190337,), (1387190383,), (1387190385,), (1387190404,), (1387190407,), (1387190461,), (1387190489,), (1387190507,), (1387190514,), (1387190520,), (1387190523,), (1387190525,), (1387190563,), (1387190568,), (1387190589,), (1387190597,), (1387190602,), (1387190718,), (1387190988,), (1387190991,), (1387190995,), (1387190998,), (1387191093,), (1387191105,), (1387191429,), (1387191501,), (1387191502,), (1387191521,), (1387191716,), (1387191725,), (1387191734,), (1387191738,), (1387191813,), (1387191823,), (1387191829,), (1387191926,), (1387191988,), (1387191993,), (1387191995,), (1387191998,), (1387192008,), (1387192012,), (1387192061,), (1387192066,), (1387192067,), (1387192070,), (1387192104,), (1387192176,), (1387192196,), (1387192201,), (1387192206,), (1387192207,), (1387192220,), (1387192227,), (1387192230,), (1387192233,), (1387192235,), (1387192269,), (1387192272,), (1387192280,), (1387192285,), (1387192294,), (1387192297,), (1387192263,), (1387192266,), (1387192325,), (1387192328,), (1387192330,), (1387192333,), (1387192336,), (1387192356,), (1387192361,), (1387192365,), (1387192367,), (1387192371,), (1387192374,), (1387192393,), (1387192395,), (1387192399,), (1387192401,), (1387192402,), (1387192403,), (1387192411,), (1387192413,), (1387192416,), (1387192429,), (1387192433,), (1387192438,), (1387192450,), (1387192453,), (1387192469,), (1387192474,), (1387192475,), (1387192478,), (1387192480,), (1387192515,), (1387192528,), (1387192534,), (1387192539,), (1387192561,), (1387192567,), (1387192637,), (1387192647,), (1387192650,), (1387192653,), (1387192673,), (1387192676,), (1387192680,), (1387192711,), (1387192713,), (1387192716,), (1387192719,), (1387192723,), (1387192745,), (1387192748,), (1387192751,), (1387192754,), (1387192816,), (1387192824,), (1387192829,), (1387192831,), (1387192833,), (1387192835,), (1387192890,), (1387192894,), (1387192897,), (1387192930,), (1387192943,), (1387192944,), (1387192964,), (1387192967,), (1387192991,), (1387192995,), (1387192998,), (1387193003,), (1387193036,), (1387193026,), (1387193030,), (1387193033,), (1387193063,), (1387193092,), (1387193095,), (1387193121,), (1387193125,), (1387193127,), (1387193131,), (1387193133,), (1387193137,), (1387193156,), (1387193160,), (1387193163,), (1387193165,), (1387193184,), (1387193209,), (1387193214,), (1387193218,), (1387193222,), (1387193238,), (1387193243,), (1387193248,), (1387193252,), (1387193260,), (1387193267,), (1387193314,), (1387193322,), (1387193326,), (1387193329,), (1387193343,), (1387193357,), (1387193360,), (1387193362,), (1387193384,), (1387193389,), (1387193393,), (1387193396,), (1387193419,), (1387193428,), (1387193432,), (1387193433,), (1387193454,), (1387193462,), (1387193470,), (1387193474,), (1387193522,), (1387193540,), (1387193544,), (1387193548,), (1387193573,), (1387193577,), (1387193579,), (1387193582,), (1387193628,), (1387193633,), (1387193643,), (1387193646,), (1387193702,), (1387193666,), (1387193670,), (1387193685,), (1387193699,), (1387194308,), (1387194322,), (1387194332,), (1387194607,), (1387194669,), (1387194677,), (1387194683,), (1387194687,), (1387194730,), (1387194734,), (1387194768,), (1387194771,), (1387194772,), (1387194774,), (1387195904,), (1387195908,), (1387195917,), (1387195921,), (1387195927,), (1387196858,), (1387197305,), (1387197867,), (1387197869,), (1387197977,), (1387198660,), (1387198644,), (1387198649,), (1387198832,), (1387198981,), (1387198989,), (1387199060,), (1387199090,), (1387199093,), (1387199183,), (1387199188,), (1387199191,), (1387199194,), (1387199394,), (1387199398,), (1387199400,), (1387199458,), (1387199461,), (1387199465,), (1387199470,), (1387199504,), (1387199509,), (1387199514,), (1387199519,), (1387199520,), (1387199920,), (1387199927,), (1387199956,), (1387199966,), (1387199970,), (1387199973,), (1387200130,), (1387200391,), (1387200423,), (1387200428,), (1387200601,), (1387200606,), (1387200608,), (1387200611,), (1387200615,), (1387200666,), (1387200670,), (1387200672,), (1387200701,), (1387200704,), (1387201056,), (1387201059,), (1387201061,), (1387201063,), (1387201069,), (1387201140,), (1387201151,), (1387201156,), (1387201157,), (1387201159,), (1387201167,), (1387201117,), (1387201120,), (1387201123,), (1387201129,), (1387201187,), (1387201190,), (1387201194,), (1387201400,), (1387201404,), (1387201405,), (1387201408,), (1387201417,), (1387201464,), (1387201466,), (1387201467,), (1387201469,), (1387201471,), (1387201474,), (1387201479,), (1387201484,), (1387201485,), (1387201486,), (1387201488,), (1387201533,), (1387201537,), (1387201542,), (1387201544,), (1387201546,), (1387201554,), (1387201610,), (1387201626,), (1387201630,), (1387201632,), (1387201638,), (1387201650,), (1387201654,), (1387201655,), (1387201886,), (1387201889,), (1387201892,), (1387201896,), (1387202036,), (1387202042,), (1387202106,), (1387202110,), (1387202151,), (1387202156,), (1387202160,), (1387202238,), (1387203244,), (1387203248,), (1387203251,), (1387203254,), (1387203256,), (1387203442,), (1387203601,), (1387203604,), (1387203606,), (1387203709,), (1387203727,), (1387203774,), (1387203776,), (1387203832,), (1387203901,), (1387203909,), (1387203923,), (1387203927,), (1387203932,), (1387203955,), (1387204668,), (1387204670,), (1387204811,), (1387204872,), (1387204875,), (1387204877,), (1387204881,), (1387204883,), (1387204888,), (1387204890,), (1387204894,), (1387204898,), (1387204900,), (1387205682,), (1387205666,), (1387205670,), (1387205673,), (1387205676,), (1387205679,), (1387205901,), (1387206010,), (1387206013,), (1387206021,), (1387206195,), (1387206197,), (1387206198,), (1387206200,), (1387206215,), (1387206252,), (1387206258,), (1387206262,), (1387206909,), (1387206913,), (1387206915,), (1387206916,), (1387207046,), (1387207775,), (1387207892,), (1387207895,), (1387207898,), (1387207901,), (1387207960,), (1387208134,), (1387208139,), (1387208143,), (1387208328,), (1387208331,), (1387208334,), (1387208337,), (1387208406,), (1387208418,), (1387208420,), (1387208423,), (1387208833,), (1387208836,), (1387208859,), (1387208865,), (1387208869,), (1387209071,), (1387209077,), (1387209079,), (1387209201,), (1387209293,), (1387209314,), (1387209434,), (1387209634,), (1387209643,), (1387209646,), (1387209685,), (1387209689,), (1387209690,), (1387209728,), (1387209732,), (1387209737,), (1387209741,), (1387209783,), (1387209784,), (1387209795,), (1387209809,), (1387209811,), (1387209762,), (1387209765,), (1387209772,), (1387209862,), (1387209864,), (1387209866,), (1387209869,), (1387209871,), (1387209926,), (1387209928,), (1387209930,), (1387209932,), (1387209935,), (1387209946,), (1387209984,), (1387209989,), (1387209991,), (1387210012,), (1387210015,), (1387212546,), (1387212550,), (1387212913,), (1387213099,), (1387213103,), (1387214221,), (1387214684,), (1387214687,), (1387214690,), (1387215257,), (1387215260,), (1387216529,), (1387216518,), (1387216755,), (1387216758,), (1387216761,), (1387216764,), (1387216768,), (1387216782,), (1387216976,), (1387217095,), (1387217118,), (1387217119,), (1387217121,), (1387217124,), (1387217128,), (1387217130,), (1387217178,), (1387217180,), (1387217182,), (1387217188,), (1387217196,), (1387217199,), (1387217228,), (1387217231,), (1387217234,), (1387217237,), (1387217241,), (1387217243,), (1387217245,), (1387217247,), (1387217249,), (1387217252,), (1387217267,), (1387217286,), (1387217436,), (1387217440,), (1387217444,), (1387217504,), (1387217579,), (1387217583,), (1387217598,), (1387217606,), (1387217627,), (1387217629,), (1387217633,), (1387217647,), (1387217676,), (1387217679,), (1387217682,), (1387217685,), (1387217717,), (1387217722,), (1387217725,), (1387217729,), (1387217766,), (1387217825,), (1387217829,), (1387217831,), (1387217863,), (1387217867,), (1387217871,), (1387217875,), (1387217879,), (1387217882,), (1387217894,), (1387219629,), (1387219635,), (1387219639,), (1387219889,), (1387219892,), (1387219894,), (1387219932,), (1387219935,), (1387219939,), (1387220483,), (1387220506,), (1387220512,), (1387220673,), (1387220676,), (1387220679,), (1387220681,), (1387220685,), (1387220686,), (1387220705,), (1387220708,), (1387220710,), (1387220712,), (1387220715,), (1387220717,), (1387220739,), (1387220743,), (1387220745,), (1387220818,), (1387220821,), (1387220824,), (1387220828,), (1387220830,), (1387220865,), (1387220868,), (1387220871,), (1387220874,), (1387220878,), (1387220883,), (1387220890,), (1387220894,), (1387220904,), (1387220928,), (1387221145,), (1387221702,), (1387222236,), (1387222255,), (1387222258,), (1387222397,), (1387222404,), (1387222449,), (1387222452,), (1387222464,), (1387222927,), (1387222942,), (1387222987,), (1387223134,), (1387223368,), (1387223372,), (1387223374,), (1387223376,), (1387223380,), (1387223383,), (1387223407,), (1387223436,), (1387223437,), (1387223451,), (1387223475,), (1387223462,), (1387223464,), (1387223466,), (1387223578,), (1387223582,), (1387223589,), (1387223594,), (1387223597,), (1387223822,), (1387223825,), (1387223827,), (1387223828,), (1387223830,), (1387223833,), (1387223966,), (1387223973,), (1387223975,), (1387223976,), (1387223979,), (1387224011,), (1387224143,), (1387224147,), (1387224154,), (1387224162,), (1387224171,), (1387224301,), (1387224357,), (1387224358,), (1387224360,), (1387224389,), (1387224405,), (1387224421,), (1387224716,), (1387224721,), (1387224724,), (1387224745,), (1387224749,), (1387224751,), (1387224843,), (1387224890,), (1387224898,), (1387225071,), (1387225080,), (1387225147,), (1387225154,), (1387225195,), (1387225208,), (1387225341,), (1387225343,), (1387225373,), (1387225379,), (1387225383,), (1387225404,), (1387225524,), (1387225528,), (1387225530,), (1387225854,), (1387226002,), (1387226005,), (1387226007,), (1387226008,), (1387226239,), (1387226244,), (1387226246,), (1387226266,), (1387226829,), (1387226285,), (1387226740,), (1387226744,), (1387226755,), (1387226890,), (1387227037,), (1387227157,), (1387227161,), (1387227165,), (1387227168,), (1387227380,), (1387227384,), (1387227388,), (1387227391,), (1387227394,), (1387227406,), (1387227409,), (1387227477,), (1387227667,), (1387227670,), (1387227671,), (1387227674,), (1387227676,), (1387227821,), (1387227824,), (1387227826,), (1387227831,), (1387227840,), (1387227852,), (1387227982,), (1387228275,), (1387233262,), (1387233181,), (1387233253,), (1387233256,), (1387233360,), (1387233362,), (1387233364,), (1387233533,), (1387233617,), (1387233623,), (1387233680,), (1387233685,), (1387233687,), (1387233669,), (1387233679,), (1387233705,), (1387233709,), (1387233711,), (1387233713,), (1387233715,), (1387233729,), (1387233731,), (1387233734,), (1387233738,), (1387233750,), (1387233753,), (1387233756,), (1387233759,), (1387233762,), (1387233781,), (1387233786,), (1387233793,), (1387233798,), (1387233805,), (1387233821,), (1387233826,), (1387233830,), (1387233833,), (1387233837,), (1387233852,), (1387233857,), (1387233904,), (1387233907,), (1387233909,), (1387233911,), (1387233957,), (1387233961,), (1387233963,), (1387233968,), (1387233973,), (1387234079,), (1387234098,), (1387234104,), (1387234159,), (1387234162,), (1387234165,), (1387234168,), (1387234171,), (1387234172,), (1387234377,), (1387234380,), (1387234390,), (1387234394,), (1387234422,), (1387234435,), (1387234445,), (1387234450,), (1387234463,), (1387234466,), (1387234507,), (1387234510,), (1387234514,), (1387234518,), (1387234542,), (1387234554,), (1387234565,), (1387234567,), (1387234817,), (1387234806,), (1387234808,), (1387234809,), (1387234811,), (1387234814,), (1387234836,), (1387234840,), (1387234843,), (1387234844,), (1387234848,), (1387234876,), (1387234878,), (1387234881,), (1387234885,), (1387234888,), (1387234903,), (1387234908,), (1387234918,), (1387234924,), (1387234942,), (1387235077,), (1387235078,), (1387235122,), (1387235242,), (1387235245,), (1387235248,), (1387235250,), (1387235253,), (1387235266,), (1387235289,), (1387235293,), (1387235295,), (1387235322,), (1387235326,), (1387235328,), (1387235331,), (1387235462,), (1387235465,), (1387235468,), (1387235470,), (1387235474,), (1387235477,), (1387235488,), (1387235492,), (1387235498,), (1387235621,), (1387235661,), (1387235664,), (1387235764,), (1387236492,), (1387236496,), (1387236498,), (1387236500,), (1387236503,), (1387236754,), (1387236758,), (1387236761,), (1387236763,), (1387237272,), (1387237276,), (1387237280,), (1387237284,), (1387237286,), (1387237294,), (1387237299,), (1387237302,), (1387237770,), (1387237762,), (1387237765,), (1387237767,), (1387237966,), (1387237969,), (1387237988,), (1387237991,), (1387237994,), (1387237999,), (1387238000,), (1387238515,), (1387238523,), (1387238524,), (1387238527,), (1387238701,), (1387238703,), (1387238705,), (1387238708,), (1387238710,), (1387238729,), (1387238733,), (1387238735,), (1387238796,), (1387238802,), (1387238805,), (1387238820,), (1387239802,), (1387239813,), (1387239816,), (1387240228,), (1387240230,), (1387240231,), (1387240233,), (1387240236,), (1387240251,), (1387240255,), (1387240259,), (1387240276,), (1387240280,), (1387240462,), (1387240468,), (1387240471,), (1387240473,), (1387240560,), (1387240592,), (1387240595,), (1387240659,), (1387242310,), (1387242756,), (1387242236,), (1387242296,), (1387242303,), (1387242306,), (1387242613,), (1387242679,), (1387242724,), (1387242727,), (1387242729,), (1387242738,), (1387242745,), (1387242749,), (1387242753,), (1387243005,), (1387243283,), (1387243346,), (1387243362,), (1387243365,), (1387243368,), (1387243377,), (1387243554,), (1387243557,), (1387243560,), (1387243563,), (1387243745,), (1387243750,), (1387243753,), (1387243785,), (1387243844,), (1387243848,), (1387243881,), (1387243873,), (1387243874,), (1387243875,), (1387243877,), (1387243879,), (1387243905,), (1387244089,), (1387244118,), (1387244121,), (1387244124,), (1387244328,), (1387244333,), (1387244337,), (1387244340,), (1387244363,), (1387244367,), (1387244372,), (1387244518,), (1387244558,), (1387244561,), (1387244563,), (1387244586,), (1387244588,), (1387244589,), (1387244591,), (1387244594,), (1387244636,), (1387244657,), (1387244661,), (1387244682,), (1387244684,), (1387244686,), (1387244689,), (1387244693,), (1387244696,), (1387244712,), (1387244717,), (1387244719,), (1387244723,), (1387244731,), (1387244733,), (1387244745,), (1387245345,), (1387245349,), (1387245351,), (1387245533,), (1387245546,), (1387245553,), (1387245562,), (1387249736,), (1387249773,), (1387249792,), (1387250854,), (1387250857,), (1387251310,), (1387251312,), (1387252247,), (1387252281,), (1387252376,), (1387252413,), (1387252473,), (1387252476,), (1387252480,), (1387252483,), (1387252494,), (1387252497,), (1387252721,), (1387252723,), (1387253031,), (1387253035,), (1387253040,), (1387253043,), (1387253048,), (1387253083,), (1387253059,), (1387253062,), (1387253066,), (1387253079,), (1387253080,), (1387253129,), (1387253132,), (1387253136,), (1387253138,), (1387254047,), (1387254065,), (1387254112,), (1387254123,), (1387254126,), (1387254272,), (1387254295,), (1387254298,), (1387254302,), (1387254341,), (1387254345,), (1387254346,), (1387254729,), (1387254796,), (1387254891,), (1387254893,), (1387254897,), (1387254973,), (1387254999,), (1387255002,), (1387255033,), (1387255036,), (1387255056,), (1387255060,), (1387255069,), (1387255078,), (1387255084,), (1387255400,), (1387255403,), (1387255405,), (1387255408,), (1387255411,), (1387255446,), (1387255451,), (1387255455,), (1387255458,), (1387255493,), (1387255497,), (1387255499,), (1387255508,), (1387255512,), (1387255556,), (1387255558,), (1387255559,), (1387255578,), (1387255580,), (1387255584,), (1387255587,), (1387255641,), (1387255630,), (1387255633,), (1387255636,), (1387255650,), (1387255652,), (1387255654,), (1387255657,), (1387255659,), (1387255667,), (1387255670,), (1387255672,), (1387255675,), (1387255739,), (1387255742,), (1387255746,), (1387255760,), (1387255763,), (1387255764,), (1387255767,), (1387255771,), (1387255775,), (1387255792,), (1387255795,), (1387255799,), (1387255833,), (1387255837,), (1387255840,), (1387255844,), (1387255924,), (1387255930,), (1387255986,), (1387255990,), (1387255992,), (1387255996,), (1387255999,), (1387256086,), (1387256138,), (1387256149,), (1387256153,), (1387256176,), (1387256334,), (1387256336,), (1387256353,), (1387256587,), (1387256584,), (1387256603,), (1387256606,), (1387256609,), (1387256613,), (1387256617,), (1387256620,), (1387256635,), (1387256639,), (1387256641,), (1387256643,), (1387256987,), (1387257027,), (1387257029,), (1387257032,), (1387257062,), (1387257067,), (1387257070,), (1387257123,), (1387257813,), (1387257817,), (1387257821,), (1387257825,), (1387257831,), (1387257832,), (1387257834,), (1387257835,), (1387257838,), (1387257839,), (1387257874,), (1387257919,), (1387257922,), (1387257925,), (1387257928,), (1387259204,), (1387259233,), (1387259270,), (1387259282,), (1387259407,), (1387259409,), (1387259457,), (1387259459,), (1387259461,), (1387259464,), (1387259467,), (1387259469,), (1387259480,), (1387259484,), (1387259489,), (1387259491,), (1387259492,), (1387259495,), (1387259516,), (1387259520,), (1387259532,), (1387259536,), (1387259557,), (1387259559,), (1387259562,), (1387259564,), (1387259573,), (1387259589,), (1387259592,), (1387259596,), (1387259600,), (1387259604,), (1387260001,), (1387260224,), (1387260228,), (1387260527,), (1387260530,), (1387260531,), (1387260534,), (1387260540,), (1387260558,), (1387260561,), (1387260563,), (1387260565,), (1387260568,), (1387260571,), (1387260580,), (1387260586,), (1387260589,), (1387260592,), (1387260598,), (1387261621,), (1387261625,), (1387261628,), (1387261632,), (1387261843,), (1387261846,), (1387261853,), (1387261861,), (1387261864,), (1387261868,), (1387262238,), (1387262240,), (1387262242,), (1387262245,), (1387262260,), (1387262264,), (1387262266,), (1387262268,), (1387262270,), (1387262272,), (1387263476,), (1387262278,), (1387262594,), (1387263143,), (1387263472,), (1387263474,), (1387264141,), (1387264145,), (1387264148,), (1387264152,), (1387264155,), (1387264378,), (1387264430,), (1387264433,), (1387264436,), (1387264536,), (1387264973,), (1387264977,), (1387264981,), (1387264984,), (1387264986,), (1387264992,), (1387265003,), (1387265005,), (1387265007,), (1387265009,), (1387265013,), (1387265754,), (1387265987,), (1387265990,), (1387265993,), (1387266040,), (1387266042,), (1387266043,), (1387266046,), (1387266050,), (1387266229,), (1387266498,), (1387266500,), (1387266502,), (1387266504,), (1387266507,), (1387266511,), (1387266531,), (1387266534,), (1387266536,), (1387266538,), (1387266555,), (1387266560,), (1387266563,), (1387266567,), (1387266577,), (1387266594,), (1387266596,), (1387266597,), (1387266600,), (1387266604,), (1387266608,), (1387266620,), (1387266626,), (1387266672,), (1387266674,), (1387266676,), (1387266679,), (1387266912,), (1387267569,), (1387267953,), (1387267962,), (1387267966,), (1387267975,), (1387267981,), (1387267989,), (1387267992,), (1387267996,), (1387267998,), (1387268602,), (1387268589,), (1387268593,), (1387268595,), (1387268597,), (1387268658,), (1387268665,), (1387268666,), (1387268690,), (1387268692,), (1387268694,), (1387268697,), (1387268715,), (1387268719,), (1387268722,), (1387268724,), (1387268726,), (1387268728,), (1387268739,), (1387268743,), (1387268744,), (1387268746,), (1387268761,), (1387268763,), (1387268765,), (1387268768,), (1387268770,), (1387268794,), (1387268796,), (1387268798,), (1387268813,), (1387268842,), (1387268844,), (1387268847,), (1387268851,), (1387268868,), (1387268871,), (1387268873,), (1387268877,), (1387268881,), (1387268892,), (1387268905,), (1387268907,), (1387268908,), (1387269365,), (1387269410,), (1387269551,), (1387269552,), (1387269556,), (1387269558,), (1387269846,), (1387270913,), (1387271133,), (1387271142,), (1387271144,), (1387271315,), (1387271324,), (1387271326,), (1387271328,), (1387271330,), (1387271331,), (1387271881,), (1387271929,), (1387271957,), (1387271982,), (1387271985,), (1387271987,), (1387271989,), (1387271991,), (1387272008,), (1387272011,), (1387272013,), (1387272016,), (1387272019,), (1387272024,), (1387272043,), (1387272039,), (1387272041,), (1387273315,), (1387273319,), (1387273321,), (1387273324,), (1387273383,), (1387273384,), (1387273385,), (1387273388,), (1387273392,), (1387273395,), (1387273971,), (1387273976,), (1387273980,), (1387274235,), (1387274777,), (1387274779,), (1387274783,), (1387274821,), (1387274870,), (1387274876,), (1387274922,), (1387274933,), (1387274936,), (1387274960,), (1387274964,), (1387274974,), (1387274980,), (1387274982,), (1387274984,), (1387275004,), (1387275007,), (1387275010,), (1387275013,), (1387275018,), (1387275026,), (1387275039,), (1387275041,), (1387275044,), (1387275048,), (1387276755,), (1387276758,), (1387276761,), (1387276764,), (1387276767,), (1387276774,), (1387277011,), (1387277013,), (1387277014,), (1387277015,), (1387277017,), (1387277481,), (1387277491,), (1387277494,), (1387277498,), (1387277569,), (1387277585,), (1387277709,), (1387277713,), (1387277717,), (1387277721,), (1387277725,), (1387278179,), (1387278732,), (1387278736,), (1387278740,), (1387278745,), (1387278748,), (1387279369,), (1387279372,), (1387279374,), (1387279382,), (1387279384,), (1387279385,), (1387279393,), (1387279404,), (1387279407,), (1387279759,), (1387279762,), (1387278764,), (1387278986,), (1387279366,), (1387279694,), (1387279716,), (1387279719,), (1387279721,), (1387279724,), (1387279727,), (1387279736,), (1387279739,), (1387279740,), (1387279741,), (1387279743,), (1387279746,), (1387279769,), (1387279771,), (1387279773,), (1387279777,), (1387279793,), (1387279797,), (1387279799,), (1387279802,), (1387279806,), (1387279815,), (1387279829,), (1387279833,), (1387279835,), (1387279838,), (1387281482,), (1387281661,), (1387281669,), (1387281700,), (1387281708,), (1387281712,), (1387282051,), (1387282053,), (1387282056,), (1387282060,), (1387282073,), (1387282078,), (1387282082,), (1387282151,), (1387282786,), (1387282789,), (1387282790,), (1387282792,), (1387282799,), (1387283009,), (1387283044,), (1387283047,), (1387283086,), (1387283100,), (1387283114,), (1387283118,), (1387283121,), (1387283125,), (1387283681,), (1387283676,), (1387283679,), (1387283890,), (1387283893,), (1387283895,), (1387283900,), (1387283939,), (1387283942,), (1387283943,), (1387283945,), (1387283966,), (1387283969,), (1387283971,), (1387283974,), (1387283978,), (1387283982,), (1387284674,), (1387284676,), (1387284678,), (1387284681,), (1387284683,), (1387284687,), (1387284992,), (1387284996,), (1387285038,), (1387285041,), (1387285043,), (1387285045,), (1387285047,), (1387285797,), (1387285953,), (1387285957,), (1387285991,), (1387285996,), (1387286047,), (1387286050,), (1387286053,), (1387286056,), (1387286061,), (1387286076,), (1387286079,), (1387286081,), (1387286083,), (1387286086,), (1387286117,), (1387286121,), (1387286124,), (1387286127,), (1387286130,), (1387286140,), (1387286144,), (1387286152,), (1387286161,), (1387286703,), (1387286705,), (1387286707,), (1387286708,), (1387286713,), (1387286715,), (1387286969,), (1387287019,), (1387287025,), (1387287027,), (1387287029,), (1387287036,), (1387287053,), (1387287077,), (1387288271,), (1387287132,), (1387288785,), (1387288789,), (1387289102,), (1387289105,), (1387289649,), (1387289653,), (1387289867,), (1387289870,), (1387289874,), (1387289916,), (1387289919,), (1387290969,), (1387290995,), (1387291016,), (1387291020,), (1387291065,), (1387291068,), (1387291071,), (1387291073,), (1387291075,), (1387291092,), (1387291095,), (1387291097,), (1387291098,), (1387291100,), (1387291117,), (1387291120,), (1387291123,), (1387291127,), (1387291129,), (1387291146,), (1387291148,), (1387291151,), (1387291154,), (1387291157,), (1387291159,), (1387291189,), (1387291192,), (1387291196,), (1387291200,), (1387291210,), (1387291214,), (1387291216,), (1387291218,), (1387291235,), (1387291239,), (1387291242,), (1387291245,), (1387291249,), (1387291256,), (1387291267,), (1387291270,), (1387291273,), (1387291275,), (1387291277,), (1387291295,), (1387291298,), (1387291300,), (1387291303,), (1387291324,), (1387291326,), (1387291328,), (1387291330,), (1387291349,), (1387291737,), (1387291741,), (1387291745,), (1387291750,), (1387291753,), (1387291757,), (1387291789,), (1387291795,), (1387291798,), (1387291801,), (1387291804,), (1387291807,), (1387291823,), (1387291826,), (1387291829,), (1387291832,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01102025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27418801]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630] map_info['map_portfolio_photo'] : {27418801: [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630]} final : True mtd_id 4302 list_pids : [1387256587, 1387256353, 1387256336, 1387256334, 1387256176, 1387256153, 1387256149, 1387256138, 1387256086, 1387255999, 1387255996, 1387255992, 1387255990, 1387255986, 1387255930, 1387255924, 1387255844, 1387255840, 1387255837, 1387255833, 1387255799, 1387255795, 1387255792, 1387255775, 1387255771, 1387255767, 1387255764, 1387255763, 1387255760, 1387255746, 1387255742, 1387255739, 1387255675, 1387255672, 1387255670, 1387255667, 1387255659, 1387255657, 1387255654, 1387255652, 1387255650, 1387255636, 1387255633, 1387255630] Looping around the photos to save general results len do output : 1 /27418801Didn'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, '3817106') ('4302', '27418801', '1387256587', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256353', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256336', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256334', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256176', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256153', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256149', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256138', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387256086', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255999', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255996', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255992', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255990', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255986', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255930', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255924', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255844', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255840', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255837', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255833', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255799', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255795', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255792', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255775', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255771', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255767', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255764', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255763', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255760', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255746', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255742', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255739', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255675', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255672', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255670', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255667', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255659', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255657', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255654', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255652', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255650', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255636', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255633', None, None, None, None, None, '3817106') ('4302', None, None, None, None, None, None, None, '3817106') ('4302', '27418801', '1387255630', None, None, None, None, None, '3817106') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27418801', 'None', None, None, None, None, '3817106'), ('4302', '27418801', '1387256587', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256353', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256336', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256334', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256176', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256153', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256149', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256138', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387256086', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255999', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255996', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255992', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255990', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255986', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255930', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255924', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255844', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255840', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255837', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255833', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255799', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255795', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255792', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255775', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255771', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255767', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255764', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255763', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255760', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255746', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255742', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255739', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255675', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255672', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255670', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255667', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255659', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255657', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255654', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255652', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255650', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255636', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255633', None, None, None, None, None, '3817106'), ('4302', '27418801', '1387255630', None, None, None, None, None, '3817106')] time used for this insertion : 0.03930854797363281 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.194504499435425 time spend to save output : 0.039728403091430664 total time spend for step 5 : 18.234232902526855 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 (3817106) 3.12user 2.40system 0:36.75elapsed 15%CPU (0avgtext+0avgdata 167592maxresident)k 488inputs+29880outputs (12major+89083minor)pagefaults 0swaps